feat[vdpu383]: align hor stride to 128 odds + 64 byte

for better performance

Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
Change-Id: I312c6b22f0c189b0674b0a667c20f68ac83315d6
This commit is contained in:
Chandler Chen
2024-03-08 14:57:25 +08:00
committed by Herman Chen
parent d381031669
commit 8759039d5f
8 changed files with 23 additions and 19 deletions

View File

@@ -126,3 +126,8 @@ RK_U32 mpp_align_256_odd(RK_U32 val)
{
return MPP_ALIGN(val, 256) | 256;
}
RK_U32 mpp_align_128_odd_plus_64(RK_U32 val)
{
return ((MPP_ALIGN(val, 128) | 128) + 64);
}