Home
last modified time | relevance | path

Searched refs:bufferCount (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3BufferManager.cpp255 size_t& bufferCount = handOutBufferCounts.editValueFor(streamId); in getBufferForStream() local
260 attachedBufferCount = bufferCount; in getBufferForStream()
263 if (bufferCount >= streamSet.maxAllowedBufferCount) { in getBufferForStream()
265 __FUNCTION__, bufferCount, streamSet.maxAllowedBufferCount); in getBufferForStream()
269 if (attachedBufferCount > bufferCount) { in getBufferForStream()
272 bufferCount++; in getBufferForStream()
298 bufferCount++; in getBufferForStream()
303 if (bufferCount + 1 > streamSet.allocatedBufferWaterMark) { in getBufferForStream()
304 streamSet.allocatedBufferWaterMark = bufferCount + 1; in getBufferForStream()
356 size_t& bufferCount = handOutBufferCounts.editValueFor(streamId); in onBufferReleased() local
[all …]
DCamera3OutputStream.h57 size_t bufferCount = 0,
66 totalBufferCount(bufferCount), in streamId()
/frameworks/native/libs/gui/
DBufferItemConsumer.cpp37 int bufferCount, bool controlledByApp) : in BufferItemConsumer() argument
43 if (bufferCount != DEFAULT_MAX_BUFFERS) { in BufferItemConsumer()
44 err = mConsumer->setMaxAcquiredBufferCount(bufferCount); in BufferItemConsumer()
46 "Failed to set max acquired buffer count to %d", bufferCount); in BufferItemConsumer()
DBufferQueueConsumer.cpp606 status_t BufferQueueConsumer::setMaxBufferCount(int bufferCount) { in setMaxBufferCount() argument
609 if (bufferCount < 1 || bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxBufferCount()
610 BQ_LOGE("setMaxBufferCount: invalid count %d", bufferCount); in setMaxBufferCount()
621 if (bufferCount < mCore->mMaxAcquiredBufferCount) { in setMaxBufferCount()
623 "mMaxAcquiredBufferCount (%d)", bufferCount, in setMaxBufferCount()
629 mCore->mDequeueBufferCannotBlock, bufferCount) - in setMaxBufferCount()
637 mCore->mMaxBufferCount = bufferCount; in setMaxBufferCount()
/frameworks/av/media/libmedia/
DIMediaSource.cpp147 uint32_t bufferCount = 0; in readMultiple() local
149 LOG_ALWAYS_FATAL_IF(bufferCount >= maxNumBuffers, in readMultiple()
151 bufferCount + 1, maxNumBuffers); in readMultiple()
184 ++bufferCount; in readMultiple()
189 ret, bufferCount, mBuffersSinceStop); in readMultiple()
190 if (bufferCount && ret == WOULD_BLOCK) { in readMultiple()
349 uint32_t bufferCount = 0; in onTransact() local
350 for (; bufferCount < maxNumBuffers; ++bufferCount, ++mBuffersSinceStop) { in onTransact()
443 ret, bufferCount, mBuffersSinceStop); in onTransact()
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp183 outWindowInfo->bufferCount = in InitializeWindowInfoStruct()
191 if (outWindowInfo->bufferCount > static_cast<uint32_t>(query_value)) { in InitializeWindowInfoStruct()
193 outWindowInfo->bufferCount = static_cast<uint32_t>(query_value); in InitializeWindowInfoStruct()
295 err = native_window_set_buffer_count(window, windowInfo.bufferCount); in UpdateWindow()
298 windowInfo.bufferCount, strerror(-err), err); in UpdateWindow()
325 for (uint32_t i = 0; i < mWindowInfo.bufferCount; i++) { in releaseBuffers()
403 for (idx = 0; idx < mWindowInfo.bufferCount; idx++) { in dequeueNativeBuffer()
416 if (idx == mWindowInfo.bufferCount) { in dequeueNativeBuffer()
DReliableSurface.cpp259 size_t bufferCount = va_arg(args, size_t); in hook_perform() local
260 if (bufferCount >= rs->mExpectedBufferCount) { in hook_perform()
263 … ALOGD("HOOK FAILED! Expected %zd got = %zd", rs->mExpectedBufferCount, bufferCount); in hook_perform()
DVulkanSurface.h97 size_t bufferCount; member
/frameworks/av/media/libstagefright/filters/
DGraphicBufferListener.cpp33 size_t bufferWidth, size_t bufferHeight, size_t bufferCount) { in init() argument
42 status_t err = mConsumer->setMaxAcquiredBufferCount(bufferCount); in init()
45 bufferCount, err); in init()
DGraphicBufferListener.h32 size_t bufferWidth, size_t bufferHeight, size_t bufferCount);
/frameworks/av/media/libstagefright/omx/
DOmxGraphicBufferSource.cpp85 int32_t bufferCount, in configure() argument
94 new OmxComponentWrapper(omxNode), dataSpace, bufferCount, in configure()
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.cpp42 int bufferCount) : in RingBufferConsumer() argument
44 mBufferCount(bufferCount), in RingBufferConsumer()
48 mConsumer->setMaxAcquiredBufferCount(bufferCount); in RingBufferConsumer()
50 assert(bufferCount > 0); in RingBufferConsumer()
DRingBufferConsumer.h64 int bufferCount);
/frameworks/native/libs/gui/include/gui/
DBLASTBufferQueue.h39 int bufferCount, bool controlledByApp) in BLASTBufferItemConsumer() argument
40 : BufferItemConsumer(consumer, consumerUsage, bufferCount, controlledByApp), in BLASTBufferItemConsumer()
DBufferItemConsumer.h55 uint64_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS,
DBufferHubConsumer.h63 status_t setMaxBufferCount(int bufferCount) override;
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DOmxGraphicBufferSource.h70 int32_t bufferCount,
/frameworks/native/libs/ui/tests/mock/
DMockGrallocAllocator.h38 uint32_t layerCount, uint64_t usage, uint32_t bufferCount, uint32_t* outStride,
/frameworks/native/libs/ui/
DGralloc2.cpp378 uint32_t bufferCount, uint32_t* outStride, in allocate() argument
394 auto ret = mAllocator->allocate(descriptor, bufferCount, in allocate()
403 for (uint32_t i = 0; i < bufferCount; i++) { in allocate()
415 for (uint32_t i = 0; i < bufferCount; i++) { in allocate()
DGralloc3.cpp365 uint64_t usage, uint32_t bufferCount, uint32_t* outStride, in allocate() argument
377 auto ret = mAllocator->allocate(descriptor, bufferCount, in allocate()
386 for (uint32_t i = 0; i < bufferCount; i++) { in allocate()
398 for (uint32_t i = 0; i < bufferCount; i++) { in allocate()
/frameworks/base/libs/hostgraphics/gui/
DBufferItemConsumer.h32 int bufferCount, in BufferItemConsumer() argument
/frameworks/native/libs/nativewindow/include/vndk/
Dwindow.h269 int ANativeWindow_setBufferCount(ANativeWindow* window, size_t bufferCount);
/frameworks/av/media/libstagefright/
DCameraSource.cpp547 void CameraSource::createVideoBufferMemoryHeap(size_t size, uint32_t bufferCount) { in createVideoBufferMemoryHeap() argument
548 mMemoryHeapBase = new MemoryHeapBase(size * bufferCount, 0, in createVideoBufferMemoryHeap()
550 for (uint32_t i = 0; i < bufferCount; i++) { in createVideoBufferMemoryHeap()
556 uint32_t format, android_dataspace dataSpace, uint32_t bufferCount) { in initBufferQueue() argument
574 bufferCount += kConsumerBufferCount; in initBufferQueue()
576 mVideoBufferConsumer = new BufferItemConsumer(consumer, usage, bufferCount); in initBufferQueue()
608 createVideoBufferMemoryHeap(sizeof(VideoNativeMetadata), bufferCount); in initBufferQueue()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h296 void createVideoBufferMemoryHeap(size_t size, uint32_t bufferCount);
309 android_dataspace dataSpace, uint32_t bufferCount);
/frameworks/native/libs/ui/include/ui/
DGralloc2.h84 PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t bufferCount,

123