From: Laurent Pinchart Date: Sat, 31 May 2014 00:45:48 +0000 (-0300) Subject: [media] v4l: vsp1: uds: Fix scaling of alpha layer X-Git-Tag: omap-for-v3.17/fixes-against-rc2~155^2~307 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdc2df62ae38bbab044078f4d25a7a3d9e2379c9;p=pandora-kernel.git [media] v4l: vsp1: uds: Fix scaling of alpha layer Pixel color components can be scaled using either bilinear interpolation or a multitap filter. The multitap filter provides better results, but can't be selected when the alpha layer need to be scaled down by more than 1/2. Disable alpha scaling when the input has a fixed alpha value, and program the UDS to output a fixed alpha value in that case. This ensures the multitap filter will be used whenever possible. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed