Home
last modified time | relevance | path

Searched refs:allocator (Results 1 – 15 of 15) sorted by relevance

/rockchip-linux_mpp/osal/
H A Dmpp_allocator.c44 static MPP_RET mpp_allocator_api_wrapper(MppAllocator allocator, in mpp_allocator_api_wrapper() argument
48 MppAllocatorImpl *p = (MppAllocatorImpl *)allocator; in mpp_allocator_api_wrapper()
54 allocator, info, id); in mpp_allocator_api_wrapper()
88 static MPP_RET mpp_allocator_alloc(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_alloc() argument
90 return mpp_allocator_api_wrapper(allocator, info, ALLOC_API_ALLOC); in mpp_allocator_alloc()
93 static MPP_RET mpp_allocator_free(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_free() argument
95 return mpp_allocator_api_wrapper(allocator, info, ALLOC_API_FREE); in mpp_allocator_free()
98 static MPP_RET mpp_allocator_import(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_import() argument
100 return mpp_allocator_api_wrapper(allocator, info, ALLOC_API_IMPORT); in mpp_allocator_import()
103 static MPP_RET mpp_allocator_release(MppAllocator allocator, in mpp_allocator_release() argument
[all …]
H A DCMakeLists.txt14 allocator/allocator_std.c
15 allocator/allocator_ion.c
16 allocator/allocator_ext_dma.c
17 allocator/allocator_dma_heap.c
18 allocator/allocator_drm.c
68 "${CMAKE_CURRENT_SOURCE_DIR}/allocator"
/rockchip-linux_mpp/osal/inc/
H A Dmpp_allocator.h26 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/mpp/base/test/
H A Dmpp_buffer_test.c38 MppAllocator allocator = NULL; in main() local
126 ret = mpp_allocator_get(&allocator, &api, MPP_BUFFER_TYPE_ION, 0); in main()
136 ret = api->alloc(allocator, &commit); in main()
187 ret = api->free(allocator, &commit); in main()
195 ret = mpp_allocator_put(&allocator); in main()
287 if (allocator) { in main()
288 mpp_allocator_put(&allocator); in main()
290 mpp_assert(NULL == allocator); in main()
/rockchip-linux_mpp/doc/design/
H A D3.mpp_buffer.txt6 allocator on different platform. Currently it is designed for ion buffer on
11 MppBufferGroup provides allocator service and buffer reuse ability.
13 Different MppBufferGroup has different allocator. And besides normal malloc/free
14 function the allocator can also accept buffer from external file descriptor.
H A D1.mpp_design.txt89 allocator.
/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]; member
381 func(buffer->allocator, &info); in service_put_buffer()
460 ret = func(group->allocator, info); in mpp_buffer_create()
478 p->allocator = group->allocator; in mpp_buffer_create()
538 MPP_RET ret = buffer->alloc_api->mmap(buffer->allocator, &buffer->info); in mpp_buffer_mmap()
1068 if (srv->allocator[i][j]) in mpp_buffer_service_deinit()
1069 mpp_allocator_put(&(srv->allocator[i][j])); in mpp_buffer_service_deinit()
1142 MppAllocator allocator = NULL; in service_get_group() local
1147 allocator = srv->allocator[buffer_type][flag]; in service_get_group()
[all …]
/rockchip-linux_mpp/kmpp/base/inc/
H A Dkmpp_buffer.h55 STRCT(prefix, shm, KmppShmPtr, allocator, FLAG_NONE, allocator)
H A Dkmpp_buffer_impl.h35 KmppShmPtr allocator; member
/rockchip-linux_mpp/debian/
H A Dchangelog49 * [allocator]: force using drm allocator in Linux platform
160 * [drm]: fix a various of bugs in drm allocator
210 * [allocator]: force using drm allocator in Linux platform
/rockchip-linux_mpp/mpp/base/inc/
H A Dmpp_buffer_impl.h75 MppAllocator allocator; member
115 MppAllocator allocator; member
/rockchip-linux_mpp/
H A Dreadme.txt171 | |----- allocator supported allocator including Android ion and
375 external allocator by file handle.
385 allocator.
H A DCHANGELOG.md116 - [allocator]: Fix misc buffer group flag issue
308 - [mpp_mem_pool]: Record pool buffer allocator caller
474 - [allocator]: fix on invalid DMA heap allocator
671 - [allocator]: Refactor allocator flow
699 - [allocator]: dma_heap allocator has the highest priority
H A DAndroid.bp55 "osal/allocator",
139 "osal/allocator/*.c",
/rockchip-linux_mpp/doc/
H A DRockchip_Developer_Guide_MPP_EN.md484 In this mode decoder imports the memory file handle of the external allocator (usually dmabuf/ion/d…
1016 Used to test whether kernel memory allocator is normal or not.
1020 Used to test whether memory allocator of the C library is normal or not.