[media] omap3isp: preview: Add support for non-GRBG Bayer patterns
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 18 Jun 2012 14:24:48 +0000 (11:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 11 Aug 2012 18:59:54 +0000 (15:59 -0300)
commit6fd206cb6ebd59e42b376b9e2e8f40d90910757e
tree0700e2a42b84851af5c45dbbca9c6d11cb9bb4c6
parentac9dad93164c603e5efc4e57727e929799861a9f
[media] omap3isp: preview: Add support for non-GRBG Bayer patterns

Rearrange the CFA interpolation coefficients table based on the Bayer
pattern. Support for non-Bayer CFA patterns is dropped as they were not
correctly supported, and have never been tested.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap3isp/cfa_coef_table.h
drivers/media/video/omap3isp/isppreview.c
drivers/media/video/omap3isp/isppreview.h
include/linux/omap3isp.h