summaryrefslogtreecommitdiffstats
path: root/Documentation/userspace-api/media/v4l/pixfmt-packed-yuv.rst
diff options
context:
space:
mode:
authorMirela Rabulea <mirela.rabulea@nxp.com>2021-03-11 01:28:47 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-03-22 10:34:16 +0100
commit0376a51fbe5e11a59d6a5c55e57cc201da06dbe0 (patch)
tree58c2f79ccc2f961201f8e5d327cf067b0d1861dd /Documentation/userspace-api/media/v4l/pixfmt-packed-yuv.rst
parent7432376a3f57f2fd99e08437070c5f831315e5aa (diff)
downloadlinux-stable-0376a51fbe5e11a59d6a5c55e57cc201da06dbe0.tar.gz
linux-stable-0376a51fbe5e11a59d6a5c55e57cc201da06dbe0.tar.bz2
linux-stable-0376a51fbe5e11a59d6a5c55e57cc201da06dbe0.zip
media: v4l: Add packed YUV444 24bpp pixel format
The added format is V4L2_PIX_FMT_YUV24, this is a packed YUV 4:4:4 format, with 8 bits for each component, 24 bits per sample. This format is used by the i.MX 8QuadMax and i.MX 8DualXPlus/8QuadXPlus JPEG encoder/decoder. Signed-off-by: Mirela Rabulea <mirela.rabulea@nxp.com> Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/userspace-api/media/v4l/pixfmt-packed-yuv.rst')
-rw-r--r--Documentation/userspace-api/media/v4l/pixfmt-packed-yuv.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/userspace-api/media/v4l/pixfmt-packed-yuv.rst b/Documentation/userspace-api/media/v4l/pixfmt-packed-yuv.rst
index 560fd2ead8ca..65520c3af7cf 100644
--- a/Documentation/userspace-api/media/v4l/pixfmt-packed-yuv.rst
+++ b/Documentation/userspace-api/media/v4l/pixfmt-packed-yuv.rst
@@ -220,6 +220,16 @@ the second byte and Y'\ :sub:`7-0` in the third byte.
- Y'\ :sub:`7-0`
- X\ :sub:`7-0`
+ * .. _V4L2-PIX-FMT-YUV24:
+
+ - ``V4L2_PIX_FMT_YUV24``
+ - 'YUV3'
+
+ - Y'\ :sub:`7-0`
+ - Cb\ :sub:`7-0`
+ - Cr\ :sub:`7-0`
+ - -\
+
.. note::
- The alpha component is expected to contain a meaningful value that can be