Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
libvpx
Commits
0ae1e4a9
Commit
0ae1e4a9
authored
Apr 30, 2015
by
James Zern
Committed by
Gerrit Code Review
Apr 30, 2015
Browse files
Merge "vp9_decodeframe: simplify compare_tile_buffers"
parents
fd90ce27
9e81112d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
vp9/decoder/vp9_decodeframe.c
vp9/decoder/vp9_decodeframe.c
+1
-7
No files found.
vp9/decoder/vp9_decodeframe.c
View file @
0ae1e4a9
...
...
@@ -1086,13 +1086,7 @@ static int tile_worker_hook(TileWorkerData *const tile_data,
static
int
compare_tile_buffers
(
const
void
*
a
,
const
void
*
b
)
{
const
TileBuffer
*
const
buf1
=
(
const
TileBuffer
*
)
a
;
const
TileBuffer
*
const
buf2
=
(
const
TileBuffer
*
)
b
;
if
(
buf1
->
size
<
buf2
->
size
)
{
return
1
;
}
else
if
(
buf1
->
size
==
buf2
->
size
)
{
return
0
;
}
else
{
return
-
1
;
}
return
(
int
)(
buf2
->
size
-
buf1
->
size
);
}
static
const
uint8_t
*
decode_tiles_mt
(
VP9Decoder
*
pbi
,
...
...
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