mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[jpege_vepu2]: Enlarge multi-core stream buffer
The original buffer size is too small for complex image and it will cause iommu pagefault. Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I3b2f1fb81cfb007fe6718a73c9eaca7d3951806c
This commit is contained in:
parent
6ff8ad3358
commit
fe529b520b
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ MPP_RET hal_jpege_vepu2_get_task(void *hal, HalEncTask *task)
|
|||
if (ctx->type == VPU_CLIENT_VEPU2_JPEG && !ctx->cfg->split.split_mode) {
|
||||
RK_U32 width = ctx->cfg->prep.width;
|
||||
RK_U32 height = ctx->cfg->prep.height;
|
||||
RK_U32 buf_size = width * height / 4;
|
||||
RK_U32 buf_size = width * height / 2;
|
||||
|
||||
/* small image do not need to split into four segments */
|
||||
if (width * height <= 1280 * 720 && (height <= 720 || width <= 720))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue