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
Yushin Cho
aom-rav1e
Commits
a60e0c15
Commit
a60e0c15
authored
Jul 24, 2015
by
Aℓex Converse
Committed by
Gerrit Code Review
Jul 24, 2015
Browse files
Merge "Allocate four |zcoeff_blk| for sub8x8 contexts."
parents
b4297bb1
e905da6f
Changes
1
Show whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_context_tree.c
View file @
a60e0c15
...
@@ -26,7 +26,7 @@ static void alloc_mode_context(VP9_COMMON *cm, int num_4x4_blk,
...
@@ -26,7 +26,7 @@ static void alloc_mode_context(VP9_COMMON *cm, int num_4x4_blk,
ctx
->
num_4x4_blk
=
num_blk
;
ctx
->
num_4x4_blk
=
num_blk
;
CHECK_MEM_ERROR
(
cm
,
ctx
->
zcoeff_blk
,
CHECK_MEM_ERROR
(
cm
,
ctx
->
zcoeff_blk
,
vpx_calloc
(
num_
4x4_
blk
,
sizeof
(
uint8_t
)));
vpx_calloc
(
num_blk
,
sizeof
(
uint8_t
)));
for
(
i
=
0
;
i
<
MAX_MB_PLANE
;
++
i
)
{
for
(
i
=
0
;
i
<
MAX_MB_PLANE
;
++
i
)
{
for
(
k
=
0
;
k
<
3
;
++
k
)
{
for
(
k
=
0
;
k
<
3
;
++
k
)
{
CHECK_MEM_ERROR
(
cm
,
ctx
->
coeff
[
i
][
k
],
CHECK_MEM_ERROR
(
cm
,
ctx
->
coeff
[
i
][
k
],
...
...
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