Debian Codegraph @

Xpjproject/pjmedia/include/pjmedia-codec/vid_toolbox.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2017 Teluu Inc. (http://www.teluu.com)
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18 #ifndef __PJMEDIA_CODEC_VID_TOOLBOX_H__
19 #define __PJMEDIA_CODEC_VID_TOOLBOX_H__
20
21 #include <pjmedia-codec/types.h>
22 #include <pjmedia/vid_codec.h>
23
24 /**
25 * @file pjmedia-codec/vid_toolbox.h
26 * @brief Video Toolbox codec
27 */
28
29
30 PJ_BEGIN_DECL
31
32 /**
33 * @defgroup PJMEDIA_CODEC_VID_TOOLBOX Video Toolbox Codec
34 * @ingroup PJMEDIA_CODEC_VID_CODECS
35 * @{
36 *
37 * Video Toolbox H.264 codec wrapper for Mac and iOS.
38 */
39
40 /**
41 * Initialize and register Video Toolbox codec factory.
42 *
43 * @param mgr The video codec manager instance where this codec will
44 * be registered to. Specify NULL to use default instance
45 * (in that case, an instance of video codec manager must
46 * have been created beforehand).
47 * @param pf Pool factory.
48 *
49 * @return PJ_SUCCESS on success.
50 */
51 PJ_DECL(pj_status_t) pjmedia_codec_vid_toolbox_init(pjmedia_vid_codec_mgr *mgr,
52 pj_pool_factory *pf);
53
54 /**
55 * Unregister Video Toolbox video codecs factory from the video codec manager
56 * and deinitialize the codec library.
57 *
58 * @return PJ_SUCCESS on success.
59 */
60 PJ_DECL(pj_status_t) pjmedia_codec_vid_toolbox_deinit(void);
61
62
63 /**
64 * @} PJMEDIA_CODEC_VIDEO_TOOLBOX
65 */
66
67
68 PJ_END_DECL
69
70 #endif /* __PJMEDIA_CODEC_VID_TOOLBOX_H__ */