WSL2-Linux-Kernel/drivers/staging/media
Jonas Karlman 692c8de5bd media: rkvdec: h264: Fix bit depth wrap in pps packet
[ Upstream commit a074aa4760 ]

The luma and chroma bit depth fields in the pps packet are 3 bits wide.
8 is wrongly added to the bit depth values written to these 3 bit fields.
Because only the 3 LSB are written, the hardware was configured
correctly.

Correct this by not adding 8 to the luma and chroma bit depth value.

Fixes: cd33c83044 ("media: rkvdec: Add the rkvdec driver")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.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>
2022-06-09 10:22:59 +02:00
..
atomisp media: atomisp: fix bad usage at error handling logic 2022-04-08 14:24:02 +02:00
av7110 Revert "media: dvb header files: move some headers to staging" 2021-08-23 09:49:09 -07:00
hantro media: hantro: HEVC: Fix tile info buffer value computation 2022-06-09 10:22:58 +02:00
imx media: imx: imx8mq-mipi_csi2: fix system resume 2022-04-08 14:23:13 +02:00
ipu3 media: ipu3-imgu: VIDIOC_QUERYCAP: Fix bus_info 2021-11-18 19:16:14 +01:00
meson/vdec media: meson: vdec: potential dereference of null pointer 2022-04-08 14:23:14 +02:00
omap4iss media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
rkvdec media: rkvdec: h264: Fix bit depth wrap in pps packet 2022-06-09 10:22:59 +02:00
sunxi media: cedrus: h264: Fix neighbour info buffer size 2022-04-08 14:23:17 +02:00
tegra-vde media: staging: media: tegra-vde: add missing error return code in tegra_vde_probe() 2021-06-02 14:12:55 +02:00
tegra-video media: v4l2-subdev: fix some NULL vs IS_ERR() checks 2021-07-22 14:01:54 +02:00
zoran media: staging: media: zoran: fix various V4L2 compliance errors 2022-04-08 14:23:58 +02:00
Kconfig
Makefile