Merge "vp9_spatial_svc_encoder: Enable aq-mode for real-time mode."

This commit is contained in:
Marco Paniconi 2015-08-26 23:37:00 +00:00 committed by Gerrit Code Review
commit 9a733b399c

View File

@ -635,6 +635,9 @@ int main(int argc, const char **argv) {
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) {