mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-21 16:19:23 +08:00
[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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user