linux/drivers/staging/media
Jonas Karlman 2630e1bb09 media: rkvdec: Fix H264 scaling list order
The Rockchip Video Decoder driver is expecting that the values in a
scaling list are in zig-zag order and applies the inverse scanning process
to get the values in matrix order.

Commit 0b0393d59e ("media: uapi: h264: clarify expected
scaling_list_4x4/8x8 order") clarified that the values in the scaling list
should already be in matrix order.

Fix this by removing the reordering and change to use two memcpy.

Fixes: cd33c83044 ("media: rkvdec: Add the rkvdec driver")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Tested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
[hverkuil-cisco@xs4all.nl: rkvdec_scaling_matrix -> rkvdec_h264_scaling_list]
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-06-11 19:21:38 +02:00
..
allegro-dvt Staging/IIO driver patches for 5.7-rc1 2020-03-30 14:20:41 -07:00
atomisp media: atomisp: improve ACPI/DMI detection logs 2020-06-11 19:17:40 +02:00
hantro media: hantro: h264: Use the generic H264 reflist builder 2020-04-21 13:47:07 +02:00
imx media: imx: TODO: Remove media link creation todos 2020-05-18 15:30:16 +02:00
ipu3 media: staging/intel-ipu3: Make use of V4L2_CAP_IO_MC 2020-05-06 12:09:55 +02:00
meson/vdec media: meson: vdec: enable mcrcc for VP9 2020-05-05 17:09:37 +02:00
omap4iss media: Kconfig files: use select for V4L2 subdevs and MC 2020-04-14 10:29:05 +02:00
phy-rockchip-dphy-rx0 media: dt-bindings: phy: phy-rockchip-dphy-rx0: move rockchip dphy rx0 bindings out of staging 2020-05-20 15:22:27 +02:00
rkisp1 media: staging: rkisp1: cap: enable RGB capture format with YUV media bus 2020-05-05 17:07:23 +02:00
rkvdec media: rkvdec: Fix H264 scaling list order 2020-06-11 19:21:38 +02:00
soc_camera media: docs: move soc-camera.rst to staging 2020-04-14 10:29:06 +02:00
sunxi media: cedrus: Implement runtime PM 2020-06-11 19:19:27 +02:00
tegra-vde media: staging: tegra-vde: Use devm_platform_ioremap_resource_byname() 2020-03-05 22:48:03 +01:00
usbvision media: staging: media: usbvision: usbvision-core Correct spelling 2020-05-05 17:23:36 +02:00
Kconfig Revert "media: staging: atomisp: Remove driver" 2020-05-20 12:26:12 +02:00
Makefile Revert "media: staging: atomisp: Remove driver" 2020-05-20 12:26:12 +02:00