Commit e4cf4fa4 authored by Imdad Sardharwalla's avatar Imdad Sardharwalla

Increase seg_feature_data_max[SEG_LVL_REF_FRAME]

Previously, segments using SEG_LVL_REF_FRAME were unable to signal the choices
of GOLDEN = 4, BWDREF = 5, ALTREF2 = 6 and ALTREF = 7, as
seg_feature_data_max[SEG_LVL_REF_FRAME] was set to 3. This patch increases the
value to 7 to account for these options.

BUG=aomedia:951

Change-Id: I9732fa2be96ead2d4b6efdbce34a92e43c7dd04e
parent bf2cc016
......@@ -20,12 +20,12 @@
static const int seg_feature_data_signed[SEG_LVL_MAX] = { 1, 1, 1, 1, 1, 0, 0 };
static const int seg_feature_data_max[SEG_LVL_MAX] = {
MAXQ, MAX_LOOP_FILTER, MAX_LOOP_FILTER, MAX_LOOP_FILTER, MAX_LOOP_FILTER, 3, 0
MAXQ, MAX_LOOP_FILTER, MAX_LOOP_FILTER, MAX_LOOP_FILTER, MAX_LOOP_FILTER, 7, 0
};
#else
static const int seg_feature_data_signed[SEG_LVL_MAX] = { 1, 1, 0, 0 };
static const int seg_feature_data_max[SEG_LVL_MAX] = { MAXQ, MAX_LOOP_FILTER, 3,
static const int seg_feature_data_max[SEG_LVL_MAX] = { MAXQ, MAX_LOOP_FILTER, 7,
0 };
#endif // CONFIG_LOOPFILTER_LEVEL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment