]> 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)
commitba02c65bd2951e93284b8f159fbb2af02cf7615b
tree0dbf5b8daac3e4e5adf1bef26419ddc5f5986dfb
parent0c5d125227affd25239782309a5731ef5113623f
[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