[mpp_buf_slot]: Remove extra 16 line in fbc buffer

The extra 16 line is added in different codecs. There is no need to add
it again in buf_slot module.

Change-Id: I31c5dc8caa9f557382fdbf2db1d6021b4aa952ba
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2022-04-26 17:11:35 +08:00
parent 4461331524
commit 793acb6f66

View File

@@ -259,7 +259,7 @@ static RK_S32 get_afbc_min_size(RK_S32 width, RK_S32 height, RK_S32 bpp)
/* AFBC_FORMAT_MOD_BLOCK_SIZE_16x16 and !AFBC_FORMAT_MOD_TILED */
width = MPP_ALIGN(width, 16);
/* NOTE: Add extra 16 line for deblock output */
height = MPP_ALIGN(height, 16) + 16;
height = MPP_ALIGN(height, 16);
hdr_alignment = AFBC_HDR_ALIGN;
n_blocks = (width * height) / AFBC_SUPERBLOCK_PIXELS;