mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-29 11:42:05 +08:00
[allocator]: add import and release function to os/mpp allocator
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@339 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -28,6 +28,8 @@ typedef struct MppAllocatorApi_t {
|
||||
|
||||
MPP_RET (*alloc)(MppAllocator allocator, MppBufferInfo *data);
|
||||
MPP_RET (*free)(MppAllocator allocator, MppBufferInfo *data);
|
||||
MPP_RET (*import)(MppAllocator allocator, MppBufferInfo *data);
|
||||
MPP_RET (*release)(MppAllocator allocator, MppBufferInfo *data);
|
||||
} MppAllocatorApi;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user