[media] V4L2: soc-camera: move generic functions into a separate file
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 25 Apr 2013 11:18:45 +0000 (08:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 28 Jun 2013 18:03:16 +0000 (15:03 -0300)
commit22e0099ac9a968a4a67fc681864a9ff453bd929f
tree33427ab1f10c5f59accfa49899df98a89169efac
parenteca430c83d3b63df52024d114b7641bd03482f38
[media] V4L2: soc-camera: move generic functions into a separate file

The sh_mobile_ceu_camera driver implements a generic algorithm for setting
up an optimal client and host scaling and cropping configuration. This
patch makes those functions available for all drivers.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/Kconfig
drivers/media/platform/soc_camera/Makefile
drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c
drivers/media/platform/soc_camera/soc_scale_crop.c [new file with mode: 0644]
drivers/media/platform/soc_camera/soc_scale_crop.h [new file with mode: 0644]