Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
48876390
Commit
48876390
authored
Dec 01, 2016
by
Jingning Han
Browse files
Make get_entropy_context() support 2x2 transform block
Change-Id: Icbb4e686b4a5e7fdd1de76d412f43fdf1bf8830a
parent
9c405d4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/common/entropy.h
View file @
48876390
...
...
@@ -219,6 +219,12 @@ static INLINE int get_entropy_context(TX_SIZE tx_size, const ENTROPY_CONTEXT *a,
ENTROPY_CONTEXT
above_ec
=
0
,
left_ec
=
0
;
switch
(
tx_size
)
{
#if CONFIG_CB4X4
case
TX_2X2
:
above_ec
=
a
[
0
]
!=
0
;
left_ec
=
l
[
0
]
!=
0
;
break
;
#endif
case
TX_4X4
:
above_ec
=
a
[
0
]
!=
0
;
left_ec
=
l
[
0
]
!=
0
;
...
...
Write
Preview
Markdown
is supported
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