summaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc_ps.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-06-24 00:29:02 +0100
committerMark Thompson <sw@jkqxz.net>2017-08-05 23:54:35 +0100
commitb88da98b34809dedf8882d43ed543632ed233538 (patch)
tree599724d657cb9e4f0a2e2ecc097aeedd501fdc44 /libavcodec/hevc_ps.h
parentaaf441465080b9bc57f5ca8dea656f9b2c5dc821 (diff)
downloadffmpeg-streaming-b88da98b34809dedf8882d43ed543632ed233538.zip
ffmpeg-streaming-b88da98b34809dedf8882d43ed543632ed233538.tar.gz
hevc: Improve stream constraint values in common header
Add comments to describe the sources of the constraint values expressed here, and add some more related values which will be used in following patches. Fix the incorrect values for SPS and PPS count (they are not the same as those used for H.264), and remove HEVC_MAX_CU_SIZE because it is not used anywhere.
Diffstat (limited to 'libavcodec/hevc_ps.h')
-rw-r--r--libavcodec/hevc_ps.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/hevc_ps.h b/libavcodec/hevc_ps.h
index 89a481b..6e2b527 100644
--- a/libavcodec/hevc_ps.h
+++ b/libavcodec/hevc_ps.h
@@ -166,14 +166,14 @@ typedef struct HEVCSPS {
ScalingList scaling_list;
unsigned int nb_st_rps;
- ShortTermRPS st_rps[HEVC_MAX_SHORT_TERM_RPS_COUNT];
+ ShortTermRPS st_rps[HEVC_MAX_SHORT_TERM_REF_PIC_SETS];
uint8_t amp_enabled_flag;
uint8_t sao_enabled;
uint8_t long_term_ref_pics_present_flag;
- uint16_t lt_ref_pic_poc_lsb_sps[32];
- uint8_t used_by_curr_pic_lt_sps_flag[32];
+ uint16_t lt_ref_pic_poc_lsb_sps[HEVC_MAX_LONG_TERM_REF_PICS];
+ uint8_t used_by_curr_pic_lt_sps_flag[HEVC_MAX_LONG_TERM_REF_PICS];
uint8_t num_long_term_ref_pics_sps;
struct {
OpenPOWER on IntegriCloud