Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
99ffce6a
Commit
99ffce6a
authored
Apr 25, 2017
by
Jingning Han
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix int type conversion warnings in ext-tile
BUG=aomedia:464 Change-Id: I8cd91b7d0efc02b7551abf309130f213827e6bd3
parent
ff4fa068
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
av1/decoder/decodeframe.c
av1/decoder/decodeframe.c
+1
-1
av1/encoder/bitstream.c
av1/encoder/bitstream.c
+3
-3
No files found.
av1/decoder/decodeframe.c
View file @
99ffce6a
...
...
@@ -3143,7 +3143,7 @@ static void get_tile_buffers(
const
int
have_tiles
=
tile_cols
*
tile_rows
>
1
;
if
(
!
have_tiles
)
{
const
uint32
_t
tile_size
=
data_end
-
data
;
const
size
_t
tile_size
=
data_end
-
data
;
tile_buffers
[
0
][
0
].
data
=
data
;
tile_buffers
[
0
][
0
].
size
=
tile_size
;
tile_buffers
[
0
][
0
].
raw_data_end
=
NULL
;
...
...
av1/encoder/bitstream.c
View file @
99ffce6a
...
...
@@ -4018,7 +4018,7 @@ static INLINE int find_identical_tile(
const
MV32
candidate_offset
[
1
]
=
{
{
1
,
0
}
};
const
uint8_t
*
const
cur_tile_data
=
tile_buffers
[
tile_row
][
tile_col
].
data
+
4
;
const
unsigned
in
t
cur_tile_size
=
tile_buffers
[
tile_row
][
tile_col
].
size
;
const
size_
t
cur_tile_size
=
tile_buffers
[
tile_row
][
tile_col
].
size
;
int
i
;
...
...
@@ -4122,7 +4122,7 @@ static uint32_t write_tiles(AV1_COMP *const cpi, uint8_t *const dst,
for
(
tile_col
=
0
;
tile_col
<
tile_cols
;
tile_col
++
)
{
TileInfo
tile_info
;
const
int
is_last_col
=
(
tile_col
==
tile_cols
-
1
);
const
size
_t
col_offset
=
total_size
;
const
uint32
_t
col_offset
=
total_size
;
av1_tile_set_col
(
&
tile_info
,
cm
,
tile_col
);
...
...
@@ -4201,7 +4201,7 @@ static uint32_t write_tiles(AV1_COMP *const cpi, uint8_t *const dst,
}
if
(
!
is_last_col
)
{
size
_t
col_size
=
total_size
-
col_offset
-
4
;
uint32
_t
col_size
=
total_size
-
col_offset
-
4
;
mem_put_le32
(
dst
+
col_offset
,
col_size
);
// If it is not final packing, record the maximum tile column size we see,
...
...
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