Commit 830d2ac9 authored by Steinar Midtskogen's avatar Steinar Midtskogen

Shift secondary CDEF strength according to bitdepth

BUG=aomedia:926

Change-Id: I3ec5ff501e2a6791ed13dcb0a7f4755b86e3910b
parent ce9ddaba
......@@ -423,6 +423,7 @@ void cdef_filter_fb(uint8_t *dst8, uint16_t *dst16, int dstride, uint16_t *in,
#if CONFIG_CDEF_SINGLEPASS
int pri_strength = (level >> 1) << coeff_shift;
int filter_skip = level & 1;
sec_strength <<= coeff_shift;
if (!pri_strength && !sec_strength && filter_skip) {
pri_strength = 19 << coeff_shift;
sec_strength = 7 << coeff_shift;
......
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