[media] media: i.MX27 camera: Add resizing support
authorJavier Martin <javier.martin@vista-silicon.com>
Tue, 28 Feb 2012 15:26:43 +0000 (12:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 8 Mar 2012 13:06:44 +0000 (10:06 -0300)
commit750a6dff6e81fac5ef95d054a6a907debcef9fde
tree6b0fcd7af700aa356eec62a606c9c2fe8df69fb8
parente9de6167fb5e4017b4296426f021f23e2b685a2d
[media] media: i.MX27 camera: Add resizing support

If the attached video sensor cannot provide the
requested image size, try to use resizing engine
included in the eMMa-PrP IP.

This patch supports both averaging and bilinear
algorithms.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mx2_camera.c