linux/drivers/media/platform/soc_camera
Laurent Pinchart 135983e8b3 [media] v4l: atmel-isi: Fix color component ordering
The ISI_CFG2.YCC_SWAP field controls color component ordering. The
datasheet lists the following orderings for the memory formats.

YCC_SWAP	Byte 0	Byte 1	Byte 2	Byte 3
00: Default	Cb(i)	Y(i)	Cr(i)	Y(i+1)
01: Mode1	Cr(i)	Y(i)	Cb(i)	Y(i+1)
10: Mode2	Y(i)	Cb(i)	Y(i+1)	Cr(i)
11: Mode3	Y(i)	Cr(i)	Y(i+1)	Cb(i)

This is based on a sensor format set to CbYCrY (UYVY). The driver
hardcodes the output memory format to YUYV, configure the ordering
accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-12-18 06:55:17 -02:00
..
atmel-isi.c [media] v4l: atmel-isi: Fix color component ordering 2013-12-18 06:55:17 -02:00
Kconfig [media] V4L2: soc_camera: Renesas R-Car VIN driver 2013-08-18 09:01:10 -03:00
Makefile [media] V4L2: soc_camera: Renesas R-Car VIN driver 2013-08-18 09:01:10 -03:00
mx1_camera.c [media] mx1-camera: move interface activation and deactivation to clock callbacks 2013-06-21 15:45:20 -03:00
mx2_camera.c [media] mx2-camera: move interface activation and deactivation to clock callbacks 2013-06-21 15:45:06 -03:00
mx3_camera.c [media] mx3-camera: locking cleanup in mx3_videobuf_queue() 2013-09-24 13:33:55 -03:00
omap1_camera.c [media] media_tree: Fix spelling errors 2013-11-29 14:43:50 -02:00
pxa_camera.c [media] pxa-camera: move interface activation and deactivation to clock callbacks 2013-06-21 15:36:21 -03:00
rcar_vin.c [media] platform drivers: Fix build on frv arch 2013-11-08 09:45:47 -02:00
sh_mobile_ceu_camera.c [media] sh_mobile_ceu_camera: remove deprecated IRQF_DISABLED 2013-10-31 04:39:52 -02:00
sh_mobile_csi2.c [media] sh_mobile_ceu_camera: add asynchronous subdevice probing support 2013-06-21 16:35:53 -03:00
soc_camera_platform.c [media] soc-camera: switch I2C subdevice drivers to use v4l2-clk 2013-06-21 16:32:36 -03:00
soc_camera.c [media] V4L2: soc-camera: work around unbalanced calls to .s_power() 2013-10-31 04:38:40 -02:00
soc_mediabus.c [media] soc-camera: fix typos in the default format-conversion table 2013-04-14 20:15:43 -03:00
soc_scale_crop.c [media] V4L2: soc-camera: remove several CEU references in the generic scaler 2013-06-28 15:03:38 -03:00
soc_scale_crop.h [media] V4L2: soc-camera: move generic functions into a separate file 2013-06-28 15:03:16 -03:00