projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaa6cdc
)
SVC: Add setting for max_intra_rate_pct in sample encoder.
author
Marco
<marpan@google.com>
Mon, 25 Sep 2017 20:36:25 +0000
(13:36 -0700)
committer
Marco
<marpan@google.com>
Mon, 25 Sep 2017 20:39:18 +0000
(13:39 -0700)
Set it as default to 900.
Change-Id: Id2d990925dccff1f6762411c66ea95973440c92f
examples/vp9_spatial_svc_encoder.c
patch
|
blob
|
history
diff --git
a/examples/vp9_spatial_svc_encoder.c
b/examples/vp9_spatial_svc_encoder.c
index
21b7059
..
2c9aa67
100644
(file)
--- a/
examples/vp9_spatial_svc_encoder.c
+++ b/
examples/vp9_spatial_svc_encoder.c
@@
-709,6
+709,7
@@
int main(int argc, const char **argv) {
vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3);
if (svc_ctx.speed >= 5)
vpx_codec_control(&codec, VP8E_SET_STATIC_THRESHOLD, 1);
+ vpx_codec_control(&codec, VP8E_SET_MAX_INTRA_BITRATE_PCT, 900);
// Encode frames
while (!end_of_stream) {