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
c797e709
Commit
c797e709
authored
Jun 22, 2016
by
Jingning Han
Committed by
Gerrit Code Review
Jun 22, 2016
Browse files
Merge "Fix uninitialized context use case in supertx and var-tx" into nextgenv2
parents
72727507
d2681556
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp10/encoder/encodemb.c
View file @
c797e709
...
...
@@ -1281,14 +1281,18 @@ void vp10_encode_sb_supertx(MACROBLOCK *x, BLOCK_SIZE bsize) {
for
(
plane
=
0
;
plane
<
MAX_MB_PLANE
;
++
plane
)
{
const
struct
macroblockd_plane
*
const
pd
=
&
xd
->
plane
[
plane
];
#if CONFIG_VAR_TX
const
TX_SIZE
tx_size
=
TX_4X4
;
#else
const
TX_SIZE
tx_size
=
plane
?
get_uv_tx_size
(
mbmi
,
pd
)
:
mbmi
->
tx_size
;
#endif
vp10_subtract_plane
(
x
,
bsize
,
plane
);
vp10_get_entropy_contexts
(
bsize
,
tx_size
,
pd
,
ctx
.
ta
[
plane
],
ctx
.
tl
[
plane
]);
arg
.
ta
=
ctx
.
ta
[
plane
];
arg
.
tl
=
ctx
.
tl
[
plane
];
vp10_foreach_transformed_block_in_plane
(
xd
,
bsize
,
plane
,
encode_block
,
&
arg
);
&
arg
);
}
}
#endif // CONFIG_SUPERTX
...
...
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