Debian Codegraph @

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

raw symbols SCIP
1 /*
2 * Copyright (C) 2019 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_VPX_H__
19 #define __PJMEDIA_CODEC_VPX_H__
20
21 #include <pjmedia-codec/types.h>
22 #include <pjmedia/vid_codec.h>
23
24 /**
25 * @file pjmedia-codec/vpx.h
26 * @brief VPX codec
27 */
28
29
30 PJ_BEGIN_DECL
31
32 /**
33 * @defgroup PJMEDIA_CODEC_VPX VPX Codec
34 * @ingroup PJMEDIA_CODEC_VID_CODECS
35 * @{
36 */
37
38 /**
39 * Initialize and register VPX codec factory.
40 *
41 * @param mgr The video codec manager instance where this codec will
42 * be registered to. Specify NULL to use default instance
43 * (in that case, an instance of video codec manager must
44 * have been created beforehand).
45 * @param pf Pool factory.
46 *
47 * @return PJ_SUCCESS on success.
48 */
49 PJ_DECL(pj_status_t) pjmedia_codec_vpx_vid_init(pjmedia_vid_codec_mgr *mgr,
50 pj_pool_factory *pf);
51
52 /**
53 * Unregister VPX video codecs factory from the video codec manager and
54 * deinitialize the codec library.
55 *
56 * @return PJ_SUCCESS on success.
57 */
58 PJ_DECL(pj_status_t) pjmedia_codec_vpx_vid_deinit(void);
59
60
61 /**
62 * @} PJMEDIA_CODEC_VPX
63 */
64
65
66 PJ_END_DECL
67
68 #endif /* __PJMEDIA_CODEC_VPX_H__ */