mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-11-03 09:40:50 +08:00
[hal_h264e_vepu580]: Fix external line buffer size
Change-Id: I5afcba3cb76219d8a32871b1444d9408fd031a7f Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -231,8 +231,8 @@ static void setup_hal_bufs(HalH264eVepu580Ctx *ctx)
|
||||
}
|
||||
|
||||
if (aligned_w > SZ_4K) {
|
||||
/* 480 bytes for each ctu above 4096 */
|
||||
RK_S32 ext_line_buf_size = MPP_ALIGN((aligned_w - SZ_4K) / 64 * 480, 256);
|
||||
/* 480 bytes for each ctu above 3072 */
|
||||
RK_S32 ext_line_buf_size = (aligned_w - 3 * SZ_1K) / 64 * 480;
|
||||
|
||||
if (NULL == ctx->ext_line_buf_grp)
|
||||
mpp_buffer_group_get_internal(&ctx->ext_line_buf_grp, MPP_BUFFER_TYPE_ION);
|
||||
|
||||
Reference in New Issue
Block a user