summaryrefslogtreecommitdiffstats
path: root/include/media/atmel-isi.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-12-04 13:19:11 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-18 06:55:17 -0200
commit135983e8b392b424c7c9e117a981ad21e7c26893 (patch)
tree7f1c6dc1615f23c5cfebdb1f17372b1aafc9834f /include/media/atmel-isi.h
parentf389e89c35fbfe17ffcb94378c225c933c28bdb2 (diff)
downloadlinux-stable-135983e8b392b424c7c9e117a981ad21e7c26893.tar.gz
linux-stable-135983e8b392b424c7c9e117a981ad21e7c26893.tar.bz2
linux-stable-135983e8b392b424c7c9e117a981ad21e7c26893.zip
[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>
Diffstat (limited to 'include/media/atmel-isi.h')
0 files changed, 0 insertions, 0 deletions