Changeset 6110 for pjproject/trunk/pjmedia/include/pjmedia/vid_codec_util.h
- Timestamp:
- Nov 22, 2019 6:18:55 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/vid_codec_util.h
r3715 r6110 153 153 154 154 155 /** 156 * Definition of VPX parameters. 157 */ 158 typedef struct pjmedia_vid_codec_vpx_fmtp 159 { 160 unsigned max_fr; /**< Max frame rate */ 161 unsigned max_fs; /**< Max frame size (in macroblocks) */ 162 pj_uint8_t profile_id; /**< Profile ID */ 163 } pjmedia_vid_codec_vpx_fmtp; 164 165 166 /** 167 * Parse SDP fmtp of VPX. 168 * 169 * @param fmtp The VPX SDP fmtp to be parsed. 170 * @param vpx_fmtp The parsing result. 171 * 172 * @return PJ_SUCCESS on success. 173 */ 174 PJ_DECL(pj_status_t) pjmedia_vid_codec_vpx_parse_fmtp( 175 const pjmedia_codec_fmtp *fmtp, 176 pjmedia_vid_codec_vpx_fmtp *vpx_fmtp); 177 178 179 /** 180 * Parse and apply the encoding and decoding SDP fmtp of VPX in the 181 * specified codec parameter. This will validate size and fps to conform 182 * to VPX level specified in SDP fmtp "max-fr" and "max-fs". 183 * 184 * @param param The codec parameter. 185 * 186 * @return PJ_SUCCESS on success. 187 */ 188 PJ_DECL(pj_status_t) pjmedia_vid_codec_vpx_apply_fmtp( 189 pjmedia_vid_codec_param *param); 190 191 155 192 PJ_END_DECL 156 193
Note: See TracChangeset
for help on using the changeset viewer.