Home
last modified time | relevance | path

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

/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/
DPassthroughTrackTranscoder.h53 explicit BufferPool(int maxBufferCount) : mMaxBufferCount(maxBufferCount){}; in BufferPool() argument
/frameworks/native/libs/gui/
DBufferQueueCore.cpp238 bool dequeueBufferCannotBlock, int maxBufferCount) const { in getMaxBufferCountLocked()
241 maxCount = std::min(maxBufferCount, maxCount); in getMaxBufferCountLocked()
246 int maxBufferCount = mMaxAcquiredBufferCount + mMaxDequeuedBufferCount + in getMaxBufferCountLocked() local
250 maxBufferCount = std::min(mMaxBufferCount, maxBufferCount); in getMaxBufferCountLocked()
252 return maxBufferCount; in getMaxBufferCountLocked()
DIGraphicBufferProducerFlattenables.cpp117 sizeof(nextFrameNumber) + sizeof(bufferReplaced) + sizeof(maxBufferCount) + in minFlattenedSize()
141 FlattenableUtils::write(buffer, size, maxBufferCount); in flatten()
164 FlattenableUtils::read(buffer, size, maxBufferCount); in unflatten()
DBufferQueueProducer.cpp125 int maxBufferCount; in setMaxDequeuedBufferCount() local
126 return setMaxDequeuedBufferCount(maxDequeuedBuffers, &maxBufferCount); in setMaxDequeuedBufferCount()
130 int* maxBufferCount) { in setMaxDequeuedBufferCount() argument
146 *maxBufferCount = mCore->getMaxBufferCountLocked(); in setMaxDequeuedBufferCount()
197 *maxBufferCount = mCore->getMaxBufferCountLocked(); in setMaxDequeuedBufferCount()
327 const int maxBufferCount = mCore->getMaxBufferCountLocked(); in waitForFreeSlotThenRelock() local
329 > static_cast<size_t>(maxBufferCount); in waitForFreeSlotThenRelock()
1345 output->maxBufferCount = mCore->mMaxBufferCount; in connect()
DBLASTBufferQueue.cpp1121 int maxBufferCount; in setMaxDequeuedBufferCount() local
1123 &maxBufferCount); in setMaxDequeuedBufferCount()
1126 size_t newFrameHistorySize = maxBufferCount + 2; // +2 because triple buffer rendering in setMaxDequeuedBufferCount()
DSurface.cpp1891 mMaxBufferCount = output.maxBufferCount; in connect()
/frameworks/native/libs/gui/include/gui/
DBufferQueueCore.h114 bool dequeueBufferCannotBlock, int maxBufferCount) const;
DBufferQueueProducer.h219 status_t setMaxDequeuedBufferCount(int maxDequeuedBuffers, int* maxBufferCount);
DIGraphicBufferProducer.h406 int maxBufferCount{0};
/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp237 int32_t maxBufferCount = 2) { in setUpProducer() argument
239 setUpProducer(producer, maxBufferCount); in setUpProducer()
242 void setUpProducer(sp<IGraphicBufferProducer>& igbProducer, int32_t maxBufferCount) { in setUpProducer() argument
244 ASSERT_EQ(NO_ERROR, igbProducer->setMaxDequeuedBufferCount(maxBufferCount)); in setUpProducer()
DBufferQueue_test.cpp180 ASSERT_EQ(output.maxBufferCount, bufferCount); in TEST_F()