Home
last modified time | relevance | path

Searched refs:LocalBufferPool (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.h501 class LocalBufferPool : public std::enable_shared_from_this<LocalBufferPool> {
508 static std::shared_ptr<LocalBufferPool> Create();
533 VectorBuffer(std::vector<uint8_t> &&vec, const std::shared_ptr<LocalBufferPool> &pool);
539 std::weak_ptr<LocalBufferPool> mPool;
550 explicit LocalBufferPool(size_t poolCapacity) in LocalBufferPool() function
560 DISALLOW_EVIL_CONSTRUCTORS(LocalBufferPool);
967 std::shared_ptr<LocalBufferPool> mLocalBufferPool;
1182 std::shared_ptr<LocalBufferPool> mLocalBufferPool;
DCCodecBuffers.cpp48 const std::shared_ptr<LocalBufferPool> &localBufferPool) { in AllocateInputGraphicBuffer()
609 std::shared_ptr<LocalBufferPool> LocalBufferPool::Create() { in Create()
610 return std::shared_ptr<LocalBufferPool>(new LocalBufferPool(kInitialPoolCapacity)); in Create()
613 sp<ABuffer> LocalBufferPool::newBuffer(size_t capacity) { in newBuffer()
646 LocalBufferPool::VectorBuffer::VectorBuffer( in VectorBuffer()
647 std::vector<uint8_t> &&vec, const std::shared_ptr<LocalBufferPool> &pool) in VectorBuffer()
653 LocalBufferPool::VectorBuffer::~VectorBuffer() { in ~VectorBuffer()
654 std::shared_ptr<LocalBufferPool> pool = mPool.lock(); in ~VectorBuffer()
662 void LocalBufferPool::returnVector(std::vector<uint8_t> &&vec) { in returnVector()
1229 mLocalBufferPool(LocalBufferPool::Create()), in GraphicInputBuffers()
[all …]