From fe9a3fbe42ebe5debd57550313ed4c3a065f1770 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Fri, 28 Jan 2011 22:15:47 +0100 Subject: h264: Add Intra and Constrained Baseline profiles to avctx.profile --- libavcodec/h264.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libavcodec/h264.h') 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; /** @@ -611,6 +612,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 */ -- cgit v1.2.3