Skip to content
GitLab
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
274af39e
Commit
274af39e
authored
Mar 06, 2015
by
Marco
Committed by
Gerrit Code Review
Mar 06, 2015
Browse files
Merge "Set the threads/tile_columns in vpx_temporal_svc_encoder."
parents
0f37601f
c76ebffd
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/vpx_temporal_svc_encoder.c
View file @
274af39e
...
...
@@ -610,6 +610,9 @@ int main(int argc, char **argv) {
cfg
.
rc_buf_optimal_sz
=
600
;
cfg
.
rc_buf_sz
=
1000
;
// Use 1 thread as default.
cfg
.
g_threads
=
1
;
// Enable error resilient mode.
cfg
.
g_error_resilient
=
1
;
cfg
.
g_lag_in_frames
=
0
;
...
...
@@ -675,6 +678,7 @@ int main(int argc, char **argv) {
vpx_codec_control
(
&
codec
,
VP9E_SET_FRAME_PERIODIC_BOOST
,
0
);
vpx_codec_control
(
&
codec
,
VP9E_SET_NOISE_SENSITIVITY
,
0
);
vpx_codec_control
(
&
codec
,
VP8E_SET_STATIC_THRESHOLD
,
0
);
vpx_codec_control
(
&
codec
,
VP9E_SET_TILE_COLUMNS
,
(
cfg
.
g_threads
>>
1
));
if
(
vpx_codec_control
(
&
codec
,
VP9E_SET_SVC
,
layering_mode
>
0
?
1
:
0
))
{
die_codec
(
&
codec
,
"Failed to set SVC"
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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