linux/drivers/media/platform/amphion
Ming Qian 80f98dc3eb media: amphion: correct the unspecified color space
[ Upstream commit 809060c8a3 ]

in the E.2.1 of Rec. ITU-T H.264 (06/2019),
0 of colour primaries is reserved, and 2 is unspecified.
driver can map V4L2_COLORSPACE_LAST to 0,
and map V4L2_COLORSPACE_DEFAULT to 2.

v4l2_xfer_func and v4l2_ycbcr_encoding are similar case.

Fixes: 3cd084519c ("media: amphion: add vpu v4l2 m2m support")
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:44 +01:00
..
Kconfig
Makefile
vdec.c
venc.c
vpu_cmds.c media: amphion: try to wakeup vpu core to avoid failure 2022-12-31 13:32:17 +01:00
vpu_cmds.h
vpu_codec.h
vpu_color.c media: amphion: correct the unspecified color space 2023-03-10 09:33:44 +01:00
vpu_core.c
vpu_core.h
vpu_dbg.c
vpu_defs.h
vpu_drv.c media: amphion: Fix error handling in vpu_driver_init() 2022-12-31 13:32:13 +01:00
vpu_helpers.c
vpu_helpers.h
vpu_imx8q.c
vpu_imx8q.h
vpu_malone.c media: amphion: try to wakeup vpu core to avoid failure 2022-12-31 13:32:17 +01:00
vpu_malone.h
vpu_mbox.c
vpu_mbox.h
vpu_msgs.c media: amphion: lock and check m2m_ctx in event handler 2022-12-31 13:32:17 +01:00
vpu_msgs.h
vpu_rpc.c
vpu_rpc.h
vpu_v4l2.c media: amphion: lock and check m2m_ctx in event handler 2022-12-31 13:32:17 +01:00
vpu_v4l2.h
vpu_windsor.c media: amphion: try to wakeup vpu core to avoid failure 2022-12-31 13:32:17 +01:00
vpu_windsor.h
vpu.h media: amphion: try to wakeup vpu core to avoid failure 2022-12-31 13:32:17 +01:00