media: doc: pixfmt-yuv: Fix V4L2-PIX-FMT-Y10P format
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Wed, 12 Jan 2022 16:10:12 +0000 (17:10 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 28 Jan 2022 12:17:14 +0000 (13:17 +0100)
commita45bef62022799c2ff4fcbe06da412dc707912ad
tree81b571051c6faae968ebbed5bc11811e48798c82
parentdb8397262ce61a3ec642cf74d86c3e1dc32850ad
media: doc: pixfmt-yuv: Fix V4L2-PIX-FMT-Y10P format

This packed grey-scale image format has a depth of 10 bits per pixel.
Every four consecutive pixels are packed into 5 bytes. Each of the first
4 bytes contain the 8 high order bits of the pixels, and the 5th byte
contains the 2 least significants bits of each pixel, in the same order.

The first two bytes are not corresponding to this description, fix it.

Fixes: af4f45057695 ("media: doc: pixfmt-yuv: Move all luma-only YUV formats to common file")
Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst