summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarco Paniconi <marpan@google.com>2018-04-16 16:15:05 -0700
committerMarco Paniconi <marpan@google.com>2018-04-18 12:39:56 -0700
commitce11afb0e02a81a1e0e38ea9f3c3e13920439b1f (patch)
tree7ed399dff06838fe8206963db088c04b5dac4d41 /examples
parent03fa7018737180d6ee7c495543410c2b2f9f6d09 (diff)
downloadlibvpx-ce11afb0e02a81a1e0e38ea9f3c3e13920439b1f.tar
libvpx-ce11afb0e02a81a1e0e38ea9f3c3e13920439b1f.tar.gz
libvpx-ce11afb0e02a81a1e0e38ea9f3c3e13920439b1f.tar.bz2
libvpx-ce11afb0e02a81a1e0e38ea9f3c3e13920439b1f.zip
vp9: Changes for scene detection overshoot and SVC.
Refactor the scene detection for 1 pass cbr to allow the scene detection to be checked once per superframe (on the base layer), using the full resolution sources. If scene change is detected: check for re-encoding due to large overshoot for all spatial layers withing the superframe. Add speed feature to control the re-encode step. Keep the re-encode step on for now. Small change in nonrd_pickmode to remove the possible skip of golden reference for SVC, when the high_source_sad is set for the superframe. Change only affects SVC encoding with screen-content mode enabled. Change-Id: If4cfb52cb0dd0f0fce1c4214fa8b413f8f803d56
Diffstat (limited to 'examples')
-rw-r--r--examples/vp9_spatial_svc_encoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/vp9_spatial_svc_encoder.c b/examples/vp9_spatial_svc_encoder.c
index 747f79ffb..091c6954d 100644
--- a/examples/vp9_spatial_svc_encoder.c
+++ b/examples/vp9_spatial_svc_encoder.c
@@ -730,6 +730,8 @@ int main(int argc, const char **argv) {
vpx_codec_control(&codec, VP9E_SET_NOISE_SENSITIVITY, 0);
+ vpx_codec_control(&codec, VP9E_SET_TUNE_CONTENT, 0);
+
// Encode frames
while (!end_of_stream) {
vpx_codec_iter_t iter = NULL;