v4l: Add ARGB and XRGB pixel formats
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 22 May 2014 01:07:55 +0000 (03:07 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:24 +0000 (11:15 +0100)
commitd9d9f8f4b940ffd3d85c92bd1267235a730e58a4
treeb70266e724465906c11966fd983215b3e2776d62
parent532a0081bdde4b650d2170feb4a4e14cdb5b3e27
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>
(cherry picked from commit 3ddcdb02a95582bf472a89c934bca6e56f07a2db)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Conflicts:
Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml
include/uapi/linux/videodev2.h