summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorNaveen Kumar P <naveenkumar.p@ittiam.com>2017-07-10 19:02:23 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-07-10 19:02:23 +0000
commit49d06bed8dbdfe20960757c6da2e3926dd30bc01 (patch)
treed004403f7ab92771c7a0f3b4d8212af1b04e9fd9 /common
parentb7b239c6d6f1fbb89a3e943f2ba02938d965d12e (diff)
parent12d329dbe93692f4507e317909584f70f4eaa153 (diff)
downloadplatform_external_libhevc-49d06bed8dbdfe20960757c6da2e3926dd30bc01.tar.gz
platform_external_libhevc-49d06bed8dbdfe20960757c6da2e3926dd30bc01.tar.bz2
platform_external_libhevc-49d06bed8dbdfe20960757c6da2e3926dd30bc01.zip
Merge "Fix array size for hrd parameters" into mnc-dr-dev am: fba8317e31 am: e7f166e1d3 am: ac7d0178a4
am: 12d329dbe9 Change-Id: I1d7b48184873ef84a51a334e658d7b08788b1d57
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 93d2ad4..baa6375 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;