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
b5bf51ec
Commit
b5bf51ec
authored
Apr 15, 2017
by
Michael Bebenita
Browse files
Fix inspection mi grid size.
Change-Id: I152837d872ce5b234c62c7190a2350cea710d579
parent
f1207b60
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/decoder/inspection.c
View file @
b5bf51ec
...
...
@@ -16,8 +16,8 @@
#endif
void
ifd_init
(
insp_frame_data
*
fd
,
int
frame_width
,
int
frame_height
)
{
fd
->
mi_cols
=
ALIGN_POWER_OF_TWO
(
frame_width
,
MI_SIZE_LOG2
)
>>
MI_SIZE_LOG2
;
fd
->
mi_rows
=
ALIGN_POWER_OF_TWO
(
frame_height
,
MI_SIZE_LOG2
)
>>
MI_SIZE_LOG2
;
fd
->
mi_cols
=
ALIGN_POWER_OF_TWO
(
frame_width
,
3
)
>>
MI_SIZE_LOG2
;
fd
->
mi_rows
=
ALIGN_POWER_OF_TWO
(
frame_height
,
3
)
>>
MI_SIZE_LOG2
;
fd
->
mi_grid
=
(
insp_mi_data
*
)
aom_malloc
(
sizeof
(
insp_mi_data
)
*
fd
->
mi_rows
*
fd
->
mi_cols
);
}
...
...
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