fix[allocator]: Fix misc buffer group flag issue

The default misc buffer group do not have the flag. We need to seperate
the default misc group with different flag.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I14941eedfe9c06ec978a12061ba33e12495aa038
This commit is contained in:
Herman Chen
2025-04-16 11:48:49 +08:00
parent e69e2f88c7
commit ecbbb721aa
7 changed files with 47 additions and 28 deletions

View File

@@ -12,6 +12,7 @@ typedef MPP_RET (*OsAllocatorFunc)(void *ctx, MppBufferInfo *info);
typedef struct os_allocator_t {
MppBufferType type;
const char *name;
MPP_RET (*open)(void **ctx, size_t alignment, MppAllocFlagType flags);
MPP_RET (*close)(void *ctx);