Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
e31516a0
Commit
e31516a0
authored
Feb 13, 2015
by
Adrian Grange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve readability: move return statements
Change-Id: I18428d0a93084f78ec136d9019f10466326c67e5
parent
cf54b880
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
vp9/vp9_dx_iface.c
vp9/vp9_dx_iface.c
+13
-13
No files found.
vp9/vp9_dx_iface.c
View file @
e31516a0
...
...
@@ -891,13 +891,13 @@ static vpx_codec_err_t ctrl_get_last_ref_updates(vpx_codec_alg_priv_t *ctx,
FrameWorkerData
*
const
frame_worker_data
=
(
FrameWorkerData
*
)
worker
->
data1
;
*
update_info
=
frame_worker_data
->
pbi
->
refresh_frame_flags
;
return
VPX_CODEC_OK
;
}
else
{
return
VPX_CODEC_ERROR
;
}
return
VPX_CODEC_OK
;
}
else
{
return
VPX_CODEC_INVALID_PARAM
;
}
return
VPX_CODEC_INVALID_PARAM
;
}
static
vpx_codec_err_t
ctrl_get_frame_corrupted
(
vpx_codec_alg_priv_t
*
ctx
,
...
...
@@ -914,13 +914,13 @@ static vpx_codec_err_t ctrl_get_frame_corrupted(vpx_codec_alg_priv_t *ctx,
if
(
frame_worker_data
->
pbi
->
common
.
frame_to_show
==
NULL
)
return
VPX_CODEC_ERROR
;
*
corrupted
=
frame_bufs
[
ctx
->
last_show_frame
].
buf
.
corrupted
;
return
VPX_CODEC_OK
;
}
else
{
return
VPX_CODEC_ERROR
;
}
return
VPX_CODEC_OK
;
}
else
{
return
VPX_CODEC_INVALID_PARAM
;
}
return
VPX_CODEC_INVALID_PARAM
;
}
static
vpx_codec_err_t
ctrl_get_frame_size
(
vpx_codec_alg_priv_t
*
ctx
,
...
...
@@ -945,9 +945,9 @@ static vpx_codec_err_t ctrl_get_frame_size(vpx_codec_alg_priv_t *ctx,
}
else
{
return
VPX_CODEC_ERROR
;
}
}
else
{
return
VPX_CODEC_INVALID_PARAM
;
}
return
VPX_CODEC_INVALID_PARAM
;
}
static
vpx_codec_err_t
ctrl_get_display_size
(
vpx_codec_alg_priv_t
*
ctx
,
...
...
@@ -968,13 +968,13 @@ static vpx_codec_err_t ctrl_get_display_size(vpx_codec_alg_priv_t *ctx,
const
VP9_COMMON
*
const
cm
=
&
frame_worker_data
->
pbi
->
common
;
display_size
[
0
]
=
cm
->
display_width
;
display_size
[
1
]
=
cm
->
display_height
;
return
VPX_CODEC_OK
;
}
else
{
return
VPX_CODEC_ERROR
;
}
return
VPX_CODEC_OK
;
}
else
{
return
VPX_CODEC_INVALID_PARAM
;
}
return
VPX_CODEC_INVALID_PARAM
;
}
static
vpx_codec_err_t
ctrl_get_bit_depth
(
vpx_codec_alg_priv_t
*
ctx
,
...
...
@@ -992,9 +992,9 @@ static vpx_codec_err_t ctrl_get_bit_depth(vpx_codec_alg_priv_t *ctx,
}
else
{
return
VPX_CODEC_ERROR
;
}
}
else
{
return
VPX_CODEC_INVALID_PARAM
;
}
return
VPX_CODEC_INVALID_PARAM
;
}
static
vpx_codec_err_t
ctrl_set_invert_tile_order
(
vpx_codec_alg_priv_t
*
ctx
,
...
...
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