Home
last modified time | relevance | path

Searched refs:MppAllocator (Results 1 – 5 of 5) sorted by relevance

/rockchip-linux_mpp/osal/inc/
H A Dmpp_allocator.h20 typedef void *MppAllocator; typedef
26 MPP_RET (*alloc)(MppAllocator allocator, MppBufferInfo *data);
27 MPP_RET (*free)(MppAllocator allocator, MppBufferInfo *data);
28 MPP_RET (*import)(MppAllocator allocator, MppBufferInfo *data);
29 MPP_RET (*release)(MppAllocator allocator, MppBufferInfo *data);
30 MPP_RET (*mmap)(MppAllocator allocator, MppBufferInfo *data);
38 MPP_RET mpp_allocator_get(MppAllocator *allocator, MppAllocatorApi **api,
40 MPP_RET mpp_allocator_put(MppAllocator *allocator);
41 MppAllocFlagType mpp_allocator_get_flags(const MppAllocator allocator);
/rockchip-linux_mpp/osal/
H A Dmpp_allocator.c44 static MPP_RET mpp_allocator_api_wrapper(MppAllocator allocator, in mpp_allocator_api_wrapper()
88 static MPP_RET mpp_allocator_alloc(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_alloc()
93 static MPP_RET mpp_allocator_free(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_free()
98 static MPP_RET mpp_allocator_import(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_import()
103 static MPP_RET mpp_allocator_release(MppAllocator allocator, in mpp_allocator_release()
109 static MPP_RET mpp_allocator_mmap(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_mmap()
124 MPP_RET mpp_allocator_get(MppAllocator *allocator, MppAllocatorApi **api, in mpp_allocator_get()
205 MPP_RET mpp_allocator_put(MppAllocator *allocator) in mpp_allocator_put()
226 MppAllocFlagType mpp_allocator_get_flags(const MppAllocator allocator) in mpp_allocator_get_flags()
/rockchip-linux_mpp/mpp/base/inc/
H A Dmpp_buffer_impl.h75 MppAllocator allocator;
115 MppAllocator allocator;
/rockchip-linux_mpp/mpp/base/test/
H A Dmpp_buffer_test.c38 MppAllocator allocator = NULL; in main()
/rockchip-linux_mpp/mpp/base/
H A Dmpp_buffer_impl.c62 typedef MPP_RET (*BufferOp)(MppAllocator allocator, MppBufferInfo *data);
77 MppAllocator allocator[MPP_BUFFER_TYPE_BUTT][MPP_ALLOCATOR_WITH_FLAG_NUM];
1142 MppAllocator allocator = NULL; in service_get_group()