/* $Id$ */
/*
 * Copyright (C) 2014-present AG Projects
 * Copyright (C) 2013-2014 Teluu Inc. (http://www.teluu.com)
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
#ifndef PJMEDIA_VIDEODEV_FB_DEV_H__
#define PJMEDIA_VIDEODEV_FB_DEV_H__

#include <pjmedia-videodev/videodev_imp.h>

typedef void (*pjmedia_vid_dev_fb_frame_cb)(const pjmedia_frame *frame, const pjmedia_rect_size size, void *user_data);

pj_status_t
pjmedia_vid_dev_fb_set_callback(pjmedia_vid_dev_stream *strm,
                                pjmedia_vid_dev_fb_frame_cb cb,
                                void *user_data);

#endif    /* PJMEDIA_VIDEODEV_FB_DEV_H__ */
