V4L/DVB (12528): sh_mobile_ceu_camera: implement host-side image scaling
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 25 Aug 2009 14:46:54 +0000 (11:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:19:04 +0000 (00:19 -0300)
commit961801bbb3448a86f0cc93747cecbfae686d81d1
tree29e7eb9f3779fb645473b9fb32a713bd5fc7fe74
parent4a5a5b2d620c3ec362936c4fe3799a29f8de163c
V4L/DVB (12528): sh_mobile_ceu_camera: implement host-side image scaling

Use host-side image scaling when the client fails to set the requested format.
We also have to take scaling into account when performing host-side cropping.
Similar to cropping we try to use client-side scaling as much as possible to
preserve bus bandwidth and optimise the frame-rate.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/sh_mobile_ceu_camera.c