diff options
| author | Jonas Karlman <[email protected]> | 2020-05-22 20:21:33 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-06-11 17:21:38 +0000 |
| commit | 2630e1bb0948c3134c6f22ad275ae27cc6023532 (patch) | |
| tree | 184f43ff20942e4cbbda6f5ff2ef3dfb8fd91967 /tools/perf/scripts/python/sctop.py | |
| parent | media: v4l2-ctrls: Unset correct HEVC loop filter flag (diff) | |
| download | kernel-2630e1bb0948c3134c6f22ad275ae27cc6023532.tar.gz kernel-2630e1bb0948c3134c6f22ad275ae27cc6023532.zip | |
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 0b0393d59eb4 ("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: cd33c830448b ("media: rkvdec: Add the rkvdec driver")
Signed-off-by: Jonas Karlman <[email protected]>
Tested-by: Nicolas Dufresne <[email protected]>
Reviewed-by: Ezequiel Garcia <[email protected]>
[[email protected]: rkvdec_scaling_matrix -> rkvdec_h264_scaling_list]
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
