Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
830d2ac9
Commit
830d2ac9
authored
Oct 21, 2017
by
Steinar Midtskogen
Browse files
Shift secondary CDEF strength according to bitdepth
BUG=aomedia:926 Change-Id: I3ec5ff501e2a6791ed13dcb0a7f4755b86e3910b
parent
ce9ddaba
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/common/cdef_block.c
View file @
830d2ac9
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment