Mercurial > libavcodec.hg
diff avcodec.h @ 11047:ec682347e19e libavcodec
Export H264 profile and level in AVCodecContext.
Patch by Rafa¸«³l Carr¸«±, rafael D carre A gmail
author | cehoyos |
---|---|
date | Thu, 28 Jan 2010 20:57:29 +0000 |
parents | 0c50a3c33c03 |
children | c57e72227d7d |
line wrap: on
line diff
--- a/avcodec.h Thu Jan 28 20:15:19 2010 +0000 +++ b/avcodec.h Thu Jan 28 20:57:29 2010 +0000 @@ -30,7 +30,7 @@ #include "libavutil/avutil.h" #define LIBAVCODEC_VERSION_MAJOR 52 -#define LIBAVCODEC_VERSION_MINOR 48 +#define LIBAVCODEC_VERSION_MINOR 49 #define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ @@ -2123,11 +2123,21 @@ */ int profile; #define FF_PROFILE_UNKNOWN -99 + #define FF_PROFILE_AAC_MAIN 0 #define FF_PROFILE_AAC_LOW 1 #define FF_PROFILE_AAC_SSR 2 #define FF_PROFILE_AAC_LTP 3 +#define FF_PROFILE_H264_BASELINE 66 +#define FF_PROFILE_H264_MAIN 77 +#define FF_PROFILE_H264_EXTENDED 88 +#define FF_PROFILE_H264_HIGH 100 +#define FF_PROFILE_H264_HIGH_10 110 +#define FF_PROFILE_H264_HIGH_422 122 +#define FF_PROFILE_H264_HIGH_444 244 +#define FF_PROFILE_H264_CAVLC_444 44 + /** * level * - encoding: Set by user.