vp9-svc: Fix speed issue with source downscaling for spatial layers.
authorMarco <marpan@google.com>
Thu, 25 Feb 2016 16:38:08 +0000 (08:38 -0800)
committerMarco <marpan@google.com>
Fri, 26 Feb 2016 16:11:37 +0000 (08:11 -0800)
commitf51f0998e1ca99cd7497ded3642bb27445b1b215
treeddbe4672795d7d0d9f77bccd503e110dce5f8996
parent1ff2935ebf6c537340861bd590329ba5a49b96e3
vp9-svc: Fix speed issue with source downscaling for spatial layers.

For 1 pass cbr mode: allow for two-stage 1:2 scaling
(which will use the 1:2 optimized scaler) if the spatial
layer is 1/4x1/4 of souce.

Without this change, the base layer for 3 spatial layers would
be using the non-normative scaler which is un-optimized/C code.

Change-Id: Ifcf526ec2aaf3e5fa7924588d9dd8660bf02fb46
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_encoder.h
vp9/encoder/vp9_svc_layercontext.c
vp9/encoder/vp9_svc_layercontext.h