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
bf6ad900
Commit
bf6ad900
authored
Apr 28, 2017
by
Yaowu Xu
Browse files
Align tile_data to 32 byte boundary
Change-Id: I3cd7a4598535023b97f2df772959805a9b13dd62
parent
6c29f464
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/encodeframe.c
View file @
bf6ad900
...
...
@@ -4894,8 +4894,9 @@ void av1_init_tile_data(AV1_COMP *cpi) {
if
(
cpi
->
tile_data
==
NULL
||
cpi
->
allocated_tiles
<
tile_cols
*
tile_rows
)
{
if
(
cpi
->
tile_data
!=
NULL
)
aom_free
(
cpi
->
tile_data
);
CHECK_MEM_ERROR
(
cm
,
cpi
->
tile_data
,
aom_malloc
(
tile_cols
*
tile_rows
*
sizeof
(
*
cpi
->
tile_data
)));
CHECK_MEM_ERROR
(
cm
,
cpi
->
tile_data
,
aom_memalign
(
32
,
tile_cols
*
tile_rows
*
sizeof
(
*
cpi
->
tile_data
)));
cpi
->
allocated_tiles
=
tile_cols
*
tile_rows
;
for
(
tile_row
=
0
;
tile_row
<
tile_rows
;
++
tile_row
)
...
...
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