]> granicus.if.org Git - libvpx/commit
vp9-svc: Fix to initialize downsampling filters.
authorMarco <marpan@google.com>
Wed, 31 Jan 2018 21:33:27 +0000 (13:33 -0800)
committerMarco <marpan@google.com>
Wed, 31 Jan 2018 21:49:16 +0000 (13:49 -0800)
commit2c950e131cc180c8d8babbc89f24fc29eb542273
tree390e7f4e02706e8d244b915fea118986a3e87441
parentefa786d4649cb39919170d745d4206309b463575
vp9-svc: Fix to initialize downsampling filters.

For 3 spatial layers with 1/2 downsampling, the
downsampling filter for the middle layer was not
set for the very first frame, so it was defaulting
to the subsample filter (no averaging/phase = 0).

Its not set due to the two stage scaling that is
done for 1/4 on base layer, during which the intermediate
1/2 result is saved for the middle layer.

Fix for now is to set the default downsampling filter
to Bilinear (averaging/non-zero phase) for all layers on
init (vp9_init_layer_context):.

Change-Id: Ic7407810b34c621e7e7420682508d45478bdffcf
vp9/encoder/vp9_svc_layercontext.c