mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-16 22:21:11 +08:00
fix[mpp_mem]: Fix MEM_ALIGNED macro error
Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I08d403f7e1d67b7d80655278255f31d4c0c6784e
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#define MEM_MAX_INDEX (0x7fffffff)
|
||||
#define MEM_ALIGN 32
|
||||
#define MEM_ALIGN_MASK (MEM_ALIGN - 1)
|
||||
#define MEM_ALIGNED(x) (((x) + MEM_ALIGN) & (~MEM_ALIGN_MASK))
|
||||
#define MEM_ALIGNED(x) (((x) + MEM_ALIGN_MASK) & (~MEM_ALIGN_MASK))
|
||||
#define MEM_HEAD_ROOM(debug) ((debug & MEM_EXT_ROOM) ? (MEM_ALIGN) : (0))
|
||||
#define MEM_NODE_MAX (1024)
|
||||
#define MEM_FREE_MAX (512)
|
||||
|
Reference in New Issue
Block a user