summaryrefslogtreecommitdiffstats
path: root/Documentation/userspace-api/media/v4l/pixfmt-nv12m.rst
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-12-07 00:03:09 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-12-07 14:10:27 +0100
commite3ae4c204d1f00c4366b4beeae62b3414761c6f8 (patch)
treec5eaf3ccd55b1e9d2d7e998ae58444bb11cf596b /Documentation/userspace-api/media/v4l/pixfmt-nv12m.rst
parenta1bcf9b9a7066e605ab36e4db560b6fa5c3e85a3 (diff)
downloadlinux-stable-e3ae4c204d1f00c4366b4beeae62b3414761c6f8.tar.gz
linux-stable-e3ae4c204d1f00c4366b4beeae62b3414761c6f8.tar.bz2
linux-stable-e3ae4c204d1f00c4366b4beeae62b3414761c6f8.zip
media: doc: pixfmt-yuv: Document subsampling in more details
Document YUV subsampling, including chroma spatial siting, and replace the siting examples in individual formats by references to the common documentation. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.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-nv12m.rst')
-rw-r--r--Documentation/userspace-api/media/v4l/pixfmt-nv12m.rst60
1 files changed, 2 insertions, 58 deletions
diff --git a/Documentation/userspace-api/media/v4l/pixfmt-nv12m.rst b/Documentation/userspace-api/media/v4l/pixfmt-nv12m.rst
index 250f8b977605..002b361d5a9b 100644
--- a/Documentation/userspace-api/media/v4l/pixfmt-nv12m.rst
+++ b/Documentation/userspace-api/media/v4l/pixfmt-nv12m.rst
@@ -84,61 +84,5 @@ Each cell is one byte.
**Color Sample Location:**
-
-
-
-.. flat-table::
- :header-rows: 0
- :stub-columns: 0
-
- * -
- - 0
- -
- - 1
- - 2
- -
- - 3
- * - 0
- - Y
- -
- - Y
- - Y
- -
- - Y
- * -
- -
- - C
- -
- -
- - C
- -
- * - 1
- - Y
- -
- - Y
- - Y
- -
- - Y
- * -
- * - 2
- - Y
- -
- - Y
- - Y
- -
- - Y
- * -
- -
- - C
- -
- -
- -
- - C
- -
- * - 3
- - Y
- -
- - Y
- - Y
- -
- - Y
+Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>`
+horizontally and vertically.