Merge "sde: Add decimation support for downscaling."