Home
last modified time | relevance | path

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

/frameworks/av/media/bufferpool/1.0/include/bufferpool/
DBufferPoolTypes.h66 struct BufferPoolAllocation { struct
73 BufferPoolAllocation(const native_handle_t *handle) : mHandle(handle) {} in BufferPoolAllocation() argument
75 ~BufferPoolAllocation() {}; in ~BufferPoolAllocation() argument
95 std::shared_ptr<BufferPoolAllocation> *alloc,
/frameworks/av/media/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/bufferpool/2.0/tests/
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/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/codec2/vndk/
DC2Buffer.cpp37 using android::hardware::media::bufferpool::V2_0::implementation::BufferPoolAllocation;
441 std::shared_ptr<BufferPoolAllocation> *alloc,
522 void operator()(BufferPoolAllocation *poolAlloc) { delete poolAlloc; } in operator ()()
531 void operator()(BufferPoolAllocation *poolAlloc) { delete poolAlloc; } in operator ()()
538 std::shared_ptr<BufferPoolAllocation> *alloc, in allocate()
551 BufferPoolAllocation *ptr = new BufferPoolAllocation(c2Linear->handle()); in allocate()
553 *alloc = std::shared_ptr<BufferPoolAllocation>( in allocate()
573 BufferPoolAllocation *ptr = new BufferPoolAllocation(c2Graphic->handle()); in allocate()
575 *alloc = std::shared_ptr<BufferPoolAllocation>( in allocate()
/frameworks/av/media/bufferpool/1.0/
DAccessorImpl.cpp47 const std::shared_ptr<BufferPoolAllocation> mAllocation;
53 const std::shared_ptr<BufferPoolAllocation> &alloc, in InternalBuffer()
183 std::shared_ptr<BufferPoolAllocation> alloc; in allocate()
487 const std::shared_ptr<BufferPoolAllocation> &alloc, in addNewBuffer()
DAccessorImpl.h275 const std::shared_ptr<BufferPoolAllocation> &alloc,
/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp48 const std::shared_ptr<BufferPoolAllocation> mAllocation;
55 const std::shared_ptr<BufferPoolAllocation> &alloc, in InternalBuffer()
200 std::shared_ptr<BufferPoolAllocation> alloc; in allocate()
681 const std::shared_ptr<BufferPoolAllocation> &alloc, in addNewBuffer()
DAccessorImpl.h351 const std::shared_ptr<BufferPoolAllocation> &alloc,