[media] v4l: Add ARGB and XRGB pixel formats
commit977ff0e4fb3460df9f3dd27de92d60786be28645
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 22 May 2014 01:07:55 +0000 (21 22:07 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 15:44:45 +0000 (17 12:44 -0300)
tree0dbf5b8daac3e4e5adf1bef26419ddc5f5986dfb
parent0d5e8c4313c83dc2d60519a219d517a13ba8a432
[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