diff options
author | Linjie Fu <linjie.fu@intel.com> | 2020-01-15 10:01:28 +0300 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2020-02-24 03:09:51 +0300 |
commit | 0d83fcc07b31c528c4fb95528b8e50c440eefc87 (patch) | |
tree | d18d8711b24f8e15646b47c41da74335259230c2 /libavcodec/hevc_ps.h | |
parent | aa6b2e1604c285e16109d0377e0bb5e8b4fbe13e (diff) |
lavc/hevc_ps: parse constraint flags for HEVC REXT
Parse all the constraint flags according to ITU-T Rec. H.265 (02/2018).
They have to be passed to hw decoders to determine the exact profile for Range
Extension HEVC.
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Diffstat (limited to 'libavcodec/hevc_ps.h')
-rw-r--r-- | libavcodec/hevc_ps.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libavcodec/hevc_ps.h b/libavcodec/hevc_ps.h index 2840dc416f..8e1bccdaaf 100644 --- a/libavcodec/hevc_ps.h +++ b/libavcodec/hevc_ps.h @@ -177,11 +177,22 @@ typedef struct PTLCommon { uint8_t tier_flag; uint8_t profile_idc; uint8_t profile_compatibility_flag[32]; - uint8_t level_idc; uint8_t progressive_source_flag; uint8_t interlaced_source_flag; uint8_t non_packed_constraint_flag; uint8_t frame_only_constraint_flag; + uint8_t max_12bit_constraint_flag; + uint8_t max_10bit_constraint_flag; + uint8_t max_8bit_constraint_flag; + uint8_t max_422chroma_constraint_flag; + uint8_t max_420chroma_constraint_flag; + uint8_t max_monochrome_constraint_flag; + uint8_t intra_constraint_flag; + uint8_t one_picture_only_constraint_flag; + uint8_t lower_bit_rate_constraint_flag; + uint8_t max_14bit_constraint_flag; + uint8_t inbld_flag; + uint8_t level_idc; } PTLCommon; typedef struct PTL { |