Ignore:
Timestamp:
Nov 22, 2019 6:18:55 AM (4 years ago)
Author:
ming
Message:

Fixed #2253: Support for VP8 and VP9 video codec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/vid_codec_util.h

    r3715 r6110  
    153153 
    154154 
     155/** 
     156 * Definition of VPX parameters. 
     157 */ 
     158typedef 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 */ 
     174PJ_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 */ 
     188PJ_DECL(pj_status_t) pjmedia_vid_codec_vpx_apply_fmtp( 
     189                                pjmedia_vid_codec_param *param); 
     190 
     191 
    155192PJ_END_DECL 
    156193 
Note: See TracChangeset for help on using the changeset viewer.