mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 02:36:21 +00:00
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>
This commit is contained in:
parent
db8397262c
commit
a45bef6202
@ -75,8 +75,8 @@ are often referred to as greyscale formats.
|
||||
- ``V4L2_PIX_FMT_Y10P``
|
||||
- 'Y10P'
|
||||
|
||||
- Y'\ :sub:`0`\ [7:0]
|
||||
- Y'\ :sub:`1`\ [9:8]
|
||||
- Y'\ :sub:`0`\ [9:2]
|
||||
- Y'\ :sub:`1`\ [9:2]
|
||||
- Y'\ :sub:`2`\ [9:2]
|
||||
- Y'\ :sub:`3`\ [9:2]
|
||||
- Y'\ :sub:`3`\ [1:0] Y'\ :sub:`2`\ [1:0] Y'\ :sub:`1`\ [1:0] Y'\ :sub:`0`\ [1:0]
|
||||
|
Loading…
x
Reference in New Issue
Block a user