Commit 52d6c895 authored by Ola Hugosson's avatar Ola Hugosson Committed by Ola Hugosson

lv_map_multi: revert accidental prob change

In e72a2091 one lps default probability was accidentally changed from 1 to 128 for
non LV_MAP_MULTI mode. This commit reverts that change and make the change only for
LV_MAP_MULTI mode. Also rather than changing to 128, the probability is changed to 10.

Change-Id: Ia8950379c46c59d40ea388fcd0621bbd78c26ede
parent 3db08452
......@@ -495,10 +495,16 @@ const aom_prob default_coeff_lps[TX_SIZES][PLANE_TYPES][LEVEL_CONTEXTS] = {
151, 168, 129, 158, 162, 112, 154, 168, 63, 99, 130, 158,
171, 178, 128, 160, 173, 111, 155, 171, 86, 108, 143, 159,
194, 196, 162, 177, 185, 123, 172, 181, 101, 132, 156, 178 },
{ 133, 128, 129, 144, 128, 116, 135, 128, 43, 101, 100, 128,
140, 163, 158, 173, 205, 128, 165, 171, 128, 128, 210, 163,
172, 184, 192, 176, 201, 183, 177, 190, 128, 192, 199, 144,
192, 192, 128, 196, 192, 255, 171, 178, 255, 128, 171, 179 } }
{ 133, 128, 129, 144, 128, 116, 135, 128, 43, 101, 100, 128, 140, 163, 158,
173, 205, 128, 165, 171, 128, 128, 210, 163, 172, 184, 192, 176, 201, 183,
177, 190, 128, 192, 199, 144,
#if CONFIG_LV_MAP_MULTI
// TODO(olah): The 1 causes an assert in av1_cost_tokens_from_cdf.
// Changing to 10 is a temporary fix until the root cause is found.
192, 192, 10, 196, 192, 255, 171, 178, 255, 128, 171, 179 } }
#else
192, 192, 1, 196, 192, 255, 171, 178, 255, 128, 171, 179 } }
#endif
};
#if !CONFIG_LV_MAP_MULTI
......
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