]> git.baikalelectronics.ru Git - kernel.git/commit
media: hantro: HEVC: Fix tile info buffer value computation
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>
Wed, 27 Apr 2022 17:39:36 +0000 (19:39 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:22 +0000 (11:02 +0200)
commit1b601eaa5c9deffc5476ef86962093cc1b674375
treed4a96e0b50271c1a17e07e2d89582e110f4d75a5
parent3b60fd6fd9f3525feb923afb526c716ab2b0e01c
media: hantro: HEVC: Fix tile info buffer value computation

Use pps->column_width_minus1[j] + 1 as value for the tile info buffer
instead of pps->column_width_minus1[j + 1].
The patch fixes DBLK_E_VIXS_2, DBLK_F_VIXS_2, DBLK_G_VIXS_2,
SAO_B_MediaTek_5, TILES_A_Cisco_2 and TILES_B_Cisco_1 tests in fluster.

Fixes: 8da9da7889ff ("media: hantro: Introduce G2/HEVC decoder")
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/hantro/hantro_g2_hevc_dec.c