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
385bea68
Commit
385bea68
authored
Jan 11, 2013
by
Jim Bankoski
Committed by
Gerrit Code Review
Jan 11, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Upstream changes from Chromium Android Clang build." into experimental
parents
bbe1c925
bc45f231
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
vp8/encoder/onyx_if.c
vp8/encoder/onyx_if.c
+1
-1
vp8/vp8_cx_iface.c
vp8/vp8_cx_iface.c
+3
-1
vp9/vp9_dx_iface.c
vp9/vp9_dx_iface.c
+4
-2
No files found.
vp8/encoder/onyx_if.c
View file @
385bea68
...
...
@@ -3466,7 +3466,7 @@ static void encode_frame_to_data_rate
/* Note that we should not throw out a key frame (especially when
* spatial resampling is enabled).
*/
if
(
(
cm
->
frame_type
==
KEY_FRAME
)
)
if
(
cm
->
frame_type
==
KEY_FRAME
)
{
cpi
->
decimation_count
=
cpi
->
decimation_factor
;
}
...
...
vp8/vp8_cx_iface.c
View file @
385bea68
...
...
@@ -1178,7 +1178,9 @@ static vpx_codec_err_t vp8e_set_scalemode(vpx_codec_alg_priv_t *ctx,
{
int
res
;
vpx_scaling_mode_t
scalemode
=
*
(
vpx_scaling_mode_t
*
)
data
;
res
=
vp8_set_internal_size
(
ctx
->
cpi
,
scalemode
.
h_scaling_mode
,
scalemode
.
v_scaling_mode
);
res
=
vp8_set_internal_size
(
ctx
->
cpi
,
(
VPX_SCALING
)
scalemode
.
h_scaling_mode
,
(
VPX_SCALING
)
scalemode
.
v_scaling_mode
);
if
(
!
res
)
{
...
...
vp9/vp9_dx_iface.c
View file @
385bea68
...
...
@@ -573,7 +573,8 @@ static vpx_codec_err_t vp9_set_reference(vpx_codec_alg_priv_t *ctx,
image2yuvconfig
(
&
frame
->
img
,
&
sd
);
return
vp9_set_reference_dec
(
ctx
->
pbi
,
frame
->
frame_type
,
&
sd
);
return
vp9_set_reference_dec
(
ctx
->
pbi
,
(
VP9_REFFRAME
)
frame
->
frame_type
,
&
sd
);
}
else
return
VPX_CODEC_INVALID_PARAM
;
...
...
@@ -591,7 +592,8 @@ static vpx_codec_err_t vp9_get_reference(vpx_codec_alg_priv_t *ctx,
image2yuvconfig
(
&
frame
->
img
,
&
sd
);
return
vp9_get_reference_dec
(
ctx
->
pbi
,
frame
->
frame_type
,
&
sd
);
return
vp9_get_reference_dec
(
ctx
->
pbi
,
(
VP9_REFFRAME
)
frame
->
frame_type
,
&
sd
);
}
else
return
VPX_CODEC_INVALID_PARAM
;
...
...
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