v4l: Add ARGB and XRGB pixel formats
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 22 May 2014 01:07:55 +0000 (03:07 +0200)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:24:10 +0000 (09:24 +0900)
commitd559d2cf4bf056883ba9286f7f336a14239b8ba1
treefbf3518b7a697a8b7961266d604053b8d21d2ab9
parent27f0448ee480f71d38843280c5b612d895e00b11
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