ref: 1b556e1f9a87c2e935b3f11aa268b5f767a11fd3
parent: 1c0769107bf7303069c8d0b3c045c5557f5428db
author: Marco <[email protected]>
date: Wed Aug 26 11:18:13 EDT 2015
vp9_spatial_svc_encoder: Enable aq-mode for real-time mode. For real-time mode (speeds >=5) enable aq-mode=3. Change-Id: Ib8b4ef7609bc30ac935742c8d27e8cd89933c6af
--- a/examples/vp9_spatial_svc_encoder.c
+++ b/examples/vp9_spatial_svc_encoder.c
@@ -635,6 +635,9 @@
vpx_codec_control(&codec, VP8E_SET_CPUUSED, svc_ctx.speed);
if (svc_ctx.threads)
vpx_codec_control(&codec, VP9E_SET_TILE_COLUMNS, (svc_ctx.threads >> 1));
+ if (svc_ctx.speed >= 5)
+ vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3);
+
// Encode frames
while (!end_of_stream) {