mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
media: hantro: HEVC: Fix tile info buffer value computation
[ Upstream commitd7f4149df8
] 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:cb5dd5a0fa
("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
1645bdaf03
commit
fc69cce5a1
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ static void prepare_tile_info_buffer(struct hantro_ctx *ctx)
|
|||
no_chroma = 1;
|
||||
for (j = 0, tmp_w = 0; j < num_tile_cols - 1; j++) {
|
||||
tmp_w += pps->column_width_minus1[j] + 1;
|
||||
*p++ = pps->column_width_minus1[j + 1];
|
||||
*p++ = pps->column_width_minus1[j] + 1;
|
||||
*p++ = h;
|
||||
if (i == 0 && h == 1 && ctb_size == 16)
|
||||
no_chroma = 1;
|
||||
|
|
Loading…
Reference in a new issue