Home
last modified time | relevance | path

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

/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/
DPassthroughTrackTranscoder.h44 mBufferPool(std::make_shared<BufferPool>(kMaxBufferCountDefault)){}; in PassthroughTrackTranscoder()
51 class BufferPool {
53 explicit BufferPool(int maxBufferCount) : mMaxBufferCount(maxBufferCount){}; in BufferPool() function
54 ~BufferPool();
96 std::shared_ptr<BufferPool> mBufferPool;
/frameworks/av/media/module/libmediatranscoding/transcoder/
DPassthroughTrackTranscoder.cpp26 PassthroughTrackTranscoder::BufferPool::~BufferPool() { in ~BufferPool()
32 uint8_t* PassthroughTrackTranscoder::BufferPool::getBufferWithSize(size_t minimumBufferSize) in getBufferWithSize()
73 void PassthroughTrackTranscoder::BufferPool::returnBuffer(uint8_t* buffer) { in returnBuffer()
85 void PassthroughTrackTranscoder::BufferPool::abort() { in abort()
/frameworks/native/libs/bufferstreams/rust/src/buffers/
Dbuffer_pool.rs59 pub struct BufferPool(Arc<Mutex<BufferPoolInner>>); struct
61 impl BufferPool { implementation
121 let mut buffer_pool = BufferPool::new(1, STREAM_CONFIG).unwrap(); in buffer_pool_next_buffer()
130 let mut buffer_pool = BufferPool::new(1, STREAM_CONFIG).unwrap(); in drop_buffer_returns_to_pool()
/frameworks/av/media/module/bufferpool/1.0/
DAccessorImpl.cpp238 Accessor::Impl::Impl::BufferPool::BufferPool() in BufferPool() function in android::hardware::media::bufferpool::V1_0::implementation::Accessor::Impl::Impl::BufferPool
251 Accessor::Impl::Impl::BufferPool::~BufferPool() { in ~BufferPool()
264 bool Accessor::Impl::BufferPool::handleOwnBuffer( in handleOwnBuffer()
276 bool Accessor::Impl::BufferPool::handleReleaseBuffer( in handleReleaseBuffer()
293 bool Accessor::Impl::BufferPool::handleTransferTo(const BufferStatusMessage &message) { in handleTransferTo()
330 bool Accessor::Impl::BufferPool::handleTransferFrom(const BufferStatusMessage &message) { in handleTransferFrom()
350 bool Accessor::Impl::BufferPool::handleTransferResult(const BufferStatusMessage &message) { in handleTransferResult()
380 void Accessor::Impl::BufferPool::processStatusMessages() { in processStatusMessages()
422 bool Accessor::Impl::BufferPool::handleClose(ConnectionId connectionId) { in handleClose()
468 bool Accessor::Impl::BufferPool::getFreeBuffer( in getFreeBuffer()
[all …]
DAccessorImpl.h73 struct BufferPool { struct
169 BufferPool(); argument
172 ~BufferPool();
/frameworks/av/media/module/bufferpool/2.0/
DAccessorImpl.cpp321 Accessor::Impl::Impl::BufferPool::BufferPool() in BufferPool() function in android::hardware::media::bufferpool::V2_0::implementation::Accessor::Impl::Impl::BufferPool
337 std::atomic<std::uint32_t> Accessor::Impl::BufferPool::Invalidation::sInvSeqId(0);
339 Accessor::Impl::Impl::BufferPool::~BufferPool() { in ~BufferPool()
352 void Accessor::Impl::BufferPool::Invalidation::onConnect( in onConnect()
358 void Accessor::Impl::BufferPool::Invalidation::onClose(ConnectionId conId) { in onClose()
363 void Accessor::Impl::BufferPool::Invalidation::onAck( in onAck()
376 void Accessor::Impl::BufferPool::Invalidation::onBufferInvalidated( in onBufferInvalidated()
397 void Accessor::Impl::BufferPool::Invalidation::onInvalidationRequest( in onInvalidationRequest()
424 void Accessor::Impl::BufferPool::Invalidation::onHandleAck( in onHandleAck()
458 bool Accessor::Impl::BufferPool::handleOwnBuffer( in handleOwnBuffer()
[all …]
DAccessorImpl.h99 struct BufferPool { struct
263 BufferPool(); argument
266 ~BufferPool();
/frameworks/native/libs/bufferstreams/rust/src/publishers/
Dbuffer_pool_publisher.rs16 buffers::BufferPool, subscriptions::SharedBufferSubscription, BufferPublisher,
23 buffer_pool: BufferPool,
32 BufferPool::new(size, stream_config).map(|buffer_pool| Self { in new()
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DBufferPool.java25 final class BufferPool { class
32 public BufferPool(int initialBufferSize, int maxBufferSize, int maxBuffers) { in BufferPool() method in BufferPool
DTransport.java50 private BufferPool mInputBufferPool;
62 mInputBufferPool = new BufferPool( in Transport()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DPassthroughTrackTranscoderTests.cpp195 mBufferPool = std::make_shared<PassthroughTrackTranscoder::BufferPool>(kMaxBuffers); in SetUp()
203 std::shared_ptr<PassthroughTrackTranscoder::BufferPool> mBufferPool;