vp9-svc: Allow for 2 stage downscaling for spatial layers.
authorMarco <marpan@google.com>
Thu, 25 Feb 2016 16:38:08 +0000 (08:38 -0800)
committerMarco <marpan@google.com>
Tue, 1 Mar 2016 23:48:42 +0000 (15:48 -0800)
commitc83bcb34741c55535727da8e4b66ec24ecd573a9
treec6a3eac192fc09518c17bbc0e48b5adc777ba4ad
parentdbaf5f64e2d1fbcf2a1953c0c3e62011eaeb8d86
vp9-svc: Allow for 2 stage 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: I9d73f92a4a96927d0f1d6bf75315c1e60513226a
test/datarate_test.cc
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_encoder.h
vp9/encoder/vp9_svc_layercontext.c
vp9/encoder/vp9_svc_layercontext.h