mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 09:36:49 +08:00
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:

committed by
Herman Chen

parent
d381031669
commit
8759039d5f
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user