Home
last modified time | relevance | path

Searched refs:BufferPoolAllocation (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/module/bufferpool/1.0/include/bufferpool/
DBufferPoolTypes.h66 struct BufferPoolAllocation { struct
73 BufferPoolAllocation(const native_handle_t *handle) : mHandle(handle) {} in BufferPoolAllocation() function
75 ~BufferPoolAllocation() {}; in ~BufferPoolAllocation() argument
95 std::shared_ptr<BufferPoolAllocation> *alloc,
/frameworks/av/media/module/bufferpool/2.0/include/bufferpool/
DBufferPoolTypes.h71 struct BufferPoolAllocation { struct
78 BufferPoolAllocation(const native_handle_t *handle) : mHandle(handle) {} in BufferPoolAllocation() argument
80 ~BufferPoolAllocation() {}; in ~BufferPoolAllocation() argument
100 std::shared_ptr<BufferPoolAllocation> *alloc,
/frameworks/av/media/module/bufferpool/1.0/vts/
Dallocator.cpp116 void operator()(BufferPoolAllocation *poolAlloc) { delete poolAlloc; } in operator ()()
126 std::shared_ptr<BufferPoolAllocation> *alloc, in allocate()
135 BufferPoolAllocation *ptr = new BufferPoolAllocation(ashmemAlloc->handle()); in allocate()
137 *alloc = std::shared_ptr<BufferPoolAllocation>(ptr, AllocationDtor(ashmemAlloc)); in allocate()
Dallocator.h24 BufferPoolAllocation;
36 std::shared_ptr<BufferPoolAllocation> *alloc,
/frameworks/av/media/module/bufferpool/2.0/tests/
Dallocator.cpp116 void operator()(BufferPoolAllocation *poolAlloc) { delete poolAlloc; } in operator ()()
144 std::shared_ptr<BufferPoolAllocation> *alloc, in allocate()
153 BufferPoolAllocation *ptr = new BufferPoolAllocation(ashmemAlloc->handle()); in allocate()
155 *alloc = std::shared_ptr<BufferPoolAllocation>(ptr, AllocationDtor(ashmemAlloc)); in allocate()
Dallocator.h25 BufferPoolAllocation;
48 std::shared_ptr<BufferPoolAllocation> *alloc,
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp562 std::shared_ptr<bufferpool_impl::BufferPoolAllocation> *alloc,
643 void operator()(bufferpool_impl::BufferPoolAllocation *poolAlloc) { delete poolAlloc; } in operator ()()
652 void operator()(bufferpool_impl::BufferPoolAllocation *poolAlloc) { delete poolAlloc; } in operator ()()
659 std::shared_ptr<bufferpool_impl::BufferPoolAllocation> *alloc, in allocate()
672 bufferpool_impl::BufferPoolAllocation *ptr = in allocate()
673 new bufferpool_impl::BufferPoolAllocation(c2Linear->handle()); in allocate()
675 *alloc = std::shared_ptr<bufferpool_impl::BufferPoolAllocation>( in allocate()
695 bufferpool_impl::BufferPoolAllocation *ptr = in allocate()
696 new bufferpool_impl::BufferPoolAllocation(c2Graphic->handle()); in allocate()
698 *alloc = std::shared_ptr<bufferpool_impl::BufferPoolAllocation>( in allocate()
[all …]
/frameworks/av/media/module/bufferpool/1.0/
DAccessorImpl.cpp48 const std::shared_ptr<BufferPoolAllocation> mAllocation;
54 const std::shared_ptr<BufferPoolAllocation> &alloc, in InternalBuffer()
188 std::shared_ptr<BufferPoolAllocation> alloc; in allocate()
492 const std::shared_ptr<BufferPoolAllocation> &alloc, in addNewBuffer()
DAccessorImpl.h274 const std::shared_ptr<BufferPoolAllocation> &alloc,
/frameworks/av/media/module/bufferpool/2.0/
DAccessorImpl.cpp56 const std::shared_ptr<BufferPoolAllocation> mAllocation;
63 const std::shared_ptr<BufferPoolAllocation> &alloc, in InternalBuffer()
235 std::shared_ptr<BufferPoolAllocation> alloc; in allocate()
718 const std::shared_ptr<BufferPoolAllocation> &alloc, in addNewBuffer()
DAccessorImpl.h368 const std::shared_ptr<BufferPoolAllocation> &alloc,