diff options
author | Janne Grunau <janne-ffmpeg@jannau.net> | 2011-01-29 00:15:47 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-02 05:40:50 +0300 |
commit | 94e3e83f13bcf45a6447c007ba06da1a3b896605 (patch) | |
tree | 416719ae1649399facd1c9eb5801601fa1511a60 /libavcodec/h264.h | |
parent | 8a92ec71b3dfc42ce4f34be79facade397db0f70 (diff) |
h264: Add Intra and Constrained Baseline profiles to avctx.profile
(cherry picked from commit fe9a3fbe42ebe5debd57550313ed4c3a065f1770)
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index f4f9b25739..b403968485 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -209,6 +209,7 @@ typedef struct SPS{ int bit_depth_luma; ///< bit_depth_luma_minus8 + 8 int bit_depth_chroma; ///< bit_depth_chroma_minus8 + 8 int residual_color_transform_flag; ///< residual_colour_transform_flag + int constraint_set_flags; ///< constraint_set[0-3]_flag }SPS; /** @@ -612,6 +613,11 @@ int ff_h264_decode_sei(H264Context *h); int ff_h264_decode_seq_parameter_set(H264Context *h); /** + * compute profile from sps + */ +int ff_h264_get_profile(SPS *sps); + +/** * Decode PPS */ int ff_h264_decode_picture_parameter_set(H264Context *h, int bit_length); |