]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: Add ARGB and XRGB pixel formats
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 22 May 2014 01:07:55 +0000 (22:07 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 15:44:45 +0000 (12:44 -0300)
commitfdec69e653f3a8adc91127f35298f52fd4ddec69
tree0dbf5b8daac3e4e5adf1bef26419ddc5f5986dfb
parente485df3385cd1a95251dddcf5ad5f7330c4935af
[media] v4l: Add ARGB and XRGB pixel formats

The existing RGB pixel formats are ill-defined in respect to their alpha
bits and their meaning is driver dependent. Create new standard ARGB and
XRGB variants with clearly defined meanings and make the existing
variants deprecated.

The new pixel formats 4CC values have been selected to match the DRM
4CCs for the same in-memory formats.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml
include/uapi/linux/videodev2.h