ref: bed28a55f593efd3a71a3a9d05cf8bb25d15fa44
parent: 55db4f033f637e3e5ef326da5cf27e708b1336c0
parent: 321f295632b1a66ac4de576f2f9fc99e150ac953
author: Marco Paniconi <[email protected]>
date: Fri Jan 5 14:01:31 EST 2018
Merge "vp9-svc: Use eightap_smooth for downsampling at low resol."
--- a/vp9/encoder/vp9_svc_layercontext.c
+++ b/vp9/encoder/vp9_svc_layercontext.c
@@ -661,6 +661,10 @@
// averaging filter), use bilinear for now.
if (width * height <= 640 * 480) {
cpi->svc.downsample_filter_type[cpi->svc.spatial_layer_id] = BILINEAR;
+ // Use Eightap_smooth for low resolutions.
+ if (width * height <= 320 * 240)
+ cpi->svc.downsample_filter_type[cpi->svc.spatial_layer_id] =
+ EIGHTTAP_SMOOTH;
cpi->svc.downsample_filter_phase[cpi->svc.spatial_layer_id] = 8;
}