summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorNaveen Kumar P <naveenkumar.p@ittiam.com>2017-07-10 19:20:54 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-07-10 19:20:54 +0000
commit543c5547736f1e1a3be7d79aab42ee2629f3247c (patch)
tree6c4daa02d45348bbaf1c4e90d5e7ed67da0abf83 /common
parent7f2573c607d8d7dd0b0814306f4da2955d1c0049 (diff)
parent581fc06523c1f1225243265543fbc8f2333f9e41 (diff)
downloadplatform_external_libhevc-543c5547736f1e1a3be7d79aab42ee2629f3247c.tar.gz
platform_external_libhevc-543c5547736f1e1a3be7d79aab42ee2629f3247c.tar.bz2
platform_external_libhevc-543c5547736f1e1a3be7d79aab42ee2629f3247c.zip
Merge "Fix array size for hrd parameters" into mnc-dr-dev am: fba8317e31 am: e7f166e1d3 am: ac7d0178a4 am: 12d329dbe9 am: 49d06bed8d am: 2fa50fe58c am: a4ed019f00
am: 581fc06523 Change-Id: Id7f63b12bfdba989300451b74b984d4a35d7fc0a
Diffstat (limited to 'common')
-rw-r--r--common/ihevc_structs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/ihevc_structs.h b/common/ihevc_structs.h
index 0205582..52dda76 100644
--- a/common/ihevc_structs.h
+++ b/common/ihevc_structs.h
@@ -644,33 +644,33 @@ typedef struct
* if 1, , for the highest temporal sub-layers, the temporal distance between the HRD output times
* of consecutive pictures in output order is constrained refer to Table E-6
*/
- UWORD8 au1_fixed_pic_rate_general_flag[6];
+ UWORD8 au1_fixed_pic_rate_general_flag[VPS_MAX_SUB_LAYERS];
- UWORD8 au1_fixed_pic_rate_within_cvs_flag[6];
+ UWORD8 au1_fixed_pic_rate_within_cvs_flag[VPS_MAX_SUB_LAYERS];
/**
* if 1, , for the highest temporal sub-layers, the temporal distance (in clock ticks) between the
* element units that specify HRD output times of consecutive pictures in output order is constrained
* refer to Table E-6
*/
- UWORD8 au1_elemental_duration_in_tc_minus1[6];
+ UWORD8 au1_elemental_duration_in_tc_minus1[VPS_MAX_SUB_LAYERS];
/**
* specifies the HRD operational mode
*/
- UWORD8 au1_low_delay_hrd_flag[6];
+ UWORD8 au1_low_delay_hrd_flag[VPS_MAX_SUB_LAYERS];
/**
* 1 specifies the number of alternative CPB specifications in the
* bitstream of the cvs when HighestTid is equal to i
*/
- UWORD8 au1_cpb_cnt_minus1[6];
+ UWORD8 au1_cpb_cnt_minus1[VPS_MAX_SUB_LAYERS];
/**
* VUI level Sub-layer HRD parameters
*/
- sub_lyr_hrd_params_t as_sub_layer_hrd_params[6];
+ sub_lyr_hrd_params_t as_sub_layer_hrd_params[VPS_MAX_SUB_LAYERS];
}hrd_params_t;