comparison 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
comparison
equal deleted inserted replaced
11046:15add32dd717 11047:ec682347e19e
28 28
29 #include <errno.h> 29 #include <errno.h>
30 #include "libavutil/avutil.h" 30 #include "libavutil/avutil.h"
31 31
32 #define LIBAVCODEC_VERSION_MAJOR 52 32 #define LIBAVCODEC_VERSION_MAJOR 52
33 #define LIBAVCODEC_VERSION_MINOR 48 33 #define LIBAVCODEC_VERSION_MINOR 49
34 #define LIBAVCODEC_VERSION_MICRO 0 34 #define LIBAVCODEC_VERSION_MICRO 0
35 35
36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
37 LIBAVCODEC_VERSION_MINOR, \ 37 LIBAVCODEC_VERSION_MINOR, \
38 LIBAVCODEC_VERSION_MICRO) 38 LIBAVCODEC_VERSION_MICRO)
2121 * - encoding: Set by user. 2121 * - encoding: Set by user.
2122 * - decoding: Set by libavcodec. 2122 * - decoding: Set by libavcodec.
2123 */ 2123 */
2124 int profile; 2124 int profile;
2125 #define FF_PROFILE_UNKNOWN -99 2125 #define FF_PROFILE_UNKNOWN -99
2126
2126 #define FF_PROFILE_AAC_MAIN 0 2127 #define FF_PROFILE_AAC_MAIN 0
2127 #define FF_PROFILE_AAC_LOW 1 2128 #define FF_PROFILE_AAC_LOW 1
2128 #define FF_PROFILE_AAC_SSR 2 2129 #define FF_PROFILE_AAC_SSR 2
2129 #define FF_PROFILE_AAC_LTP 3 2130 #define FF_PROFILE_AAC_LTP 3
2131
2132 #define FF_PROFILE_H264_BASELINE 66
2133 #define FF_PROFILE_H264_MAIN 77
2134 #define FF_PROFILE_H264_EXTENDED 88
2135 #define FF_PROFILE_H264_HIGH 100
2136 #define FF_PROFILE_H264_HIGH_10 110
2137 #define FF_PROFILE_H264_HIGH_422 122
2138 #define FF_PROFILE_H264_HIGH_444 244
2139 #define FF_PROFILE_H264_CAVLC_444 44
2130 2140
2131 /** 2141 /**
2132 * level 2142 * level
2133 * - encoding: Set by user. 2143 * - encoding: Set by user.
2134 * - decoding: Set by libavcodec. 2144 * - decoding: Set by libavcodec.