mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
media: cedrus: Use correct H264 8x8 scaling list
commita6b8feae7cupstream. Documentation now defines the expected order of scaling lists, change to use correct indices. Fixes:6eb9b758e3("media: cedrus: Add H264 decoding support") Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
03915a22e8
commit
5e0a601791
@@ -244,8 +244,8 @@ static void cedrus_write_scaling_lists(struct cedrus_ctx *ctx,
|
||||
sizeof(scaling->scaling_list_8x8[0]));
|
||||
|
||||
cedrus_h264_write_sram(dev, CEDRUS_SRAM_H264_SCALING_LIST_8x8_1,
|
||||
scaling->scaling_list_8x8[3],
|
||||
sizeof(scaling->scaling_list_8x8[3]));
|
||||
scaling->scaling_list_8x8[1],
|
||||
sizeof(scaling->scaling_list_8x8[1]));
|
||||
|
||||
cedrus_h264_write_sram(dev, CEDRUS_SRAM_H264_SCALING_LIST_4x4,
|
||||
scaling->scaling_list_4x4,
|
||||
|
||||
Reference in New Issue
Block a user