Skip to contentSkip to conversation

media: doc: pixfmt-yuv: Fix 4:4:4 subsampling info

PATCH In review Helen Koike 2 participants 2 messages Jan 26, 2021 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 media: doc: pixfmt-yuv: Fix 4:4:4 subsampling info

YUV 4:4:4 is not subsampled, fix this in the docs.

Fixes da785536e007 ("media: doc: pixfmt-yuv: Move all semi-planar YUV formats to common file")

---
Changes in v2:

- s/No sub-sampling/The chroma plane is not subsampled/ (Laurent)
- Fixed description regarding the number of bytes (Laurent)

---
 Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst +3 -3
index 7d4d39201a3f..1e0db602cc1b 100644
@@ -396,9 +396,9 @@ number of lines as the luma plane.
 NV24 and NV42
 -------------
 
-Semi-planar YUV 4:4:4 formats. The chroma plane is subsampled by 2 in the
-horizontal direction. Chroma lines contain half the number of pixels and the
-same number of bytes as luma lines, and the chroma plane contains the same
+Semi-planar YUV 4:4:4 formats. The chroma plane is not subsampled.
+Chroma lines contain the same number of pixels and twice the
+number of bytes as luma lines, and the chroma plane contains the same
 number of lines as the luma plane.
 
 .. flat-table:: Sample 4x4 NV24 Image
Signature · 1 line
2.30.0
Reviewed-by on v2 1/1
#1 lore raw

Hi Helen,

Thank you for the patch.

Quoted 4 lines · Helen Koike

YUV 4:4:4 is not subsampled, fix this in the docs.

Fixes da785536e007 ("media: doc: pixfmt-yuv: Move all semi-planar YUV formats to common file")
Quoted 26 lines

---
Changes in v2:

- s/No sub-sampling/The chroma plane is not subsampled/ (Laurent)
- Fixed description regarding the number of bytes (Laurent)

---
 Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst +3 -3
index 7d4d39201a3f..1e0db602cc1b 100644
@@ -396,9 +396,9 @@ number of lines as the luma plane.
 NV24 and NV42
 -------------
 
-Semi-planar YUV 4:4:4 formats. The chroma plane is subsampled by 2 in the
-horizontal direction. Chroma lines contain half the number of pixels and the
-same number of bytes as luma lines, and the chroma plane contains the same
+Semi-planar YUV 4:4:4 formats. The chroma plane is not subsampled.
+Chroma lines contain the same number of pixels and twice the
+number of bytes as luma lines, and the chroma plane contains the same
 number of lines as the luma plane.
 
 .. flat-table:: Sample 4x4 NV24 Image
Signature · 3 lines
Regards,

Laurent Pinchart