/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3BufferManager.cpp | 255 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 …]
|
D | Camera3OutputStream.h | 57 size_t bufferCount = 0, 66 totalBufferCount(bufferCount), in streamId()
|
/frameworks/native/libs/gui/ |
D | BufferItemConsumer.cpp | 37 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()
|
D | BufferQueueConsumer.cpp | 581 status_t BufferQueueConsumer::setMaxBufferCount(int bufferCount) { in setMaxBufferCount() argument 584 if (bufferCount < 1 || bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxBufferCount() 585 BQ_LOGE("setMaxBufferCount: invalid count %d", bufferCount); in setMaxBufferCount() 596 if (bufferCount < mCore->mMaxAcquiredBufferCount) { in setMaxBufferCount() 598 "mMaxAcquiredBufferCount (%d)", bufferCount, in setMaxBufferCount() 604 mCore->mDequeueBufferCannotBlock, bufferCount) - in setMaxBufferCount() 612 mCore->mMaxBufferCount = bufferCount; in setMaxBufferCount()
|
/frameworks/av/media/libmedia/ |
D | IMediaSource.cpp | 147 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() 347 uint32_t bufferCount = 0; in onTransact() local 348 for (; bufferCount < maxNumBuffers; ++bufferCount, ++mBuffersSinceStop) { in onTransact() 441 ret, bufferCount, mBuffersSinceStop); in onTransact()
|
/frameworks/av/media/libstagefright/filters/ |
D | GraphicBufferListener.cpp | 33 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()
|
D | GraphicBufferListener.h | 32 size_t bufferWidth, size_t bufferHeight, size_t bufferCount);
|
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.cpp | 229 windowInfo.bufferCount = min_undequeued_buffers + in Create() 231 if (caps.maxImageCount > 0 && windowInfo.bufferCount > caps.maxImageCount) { in Create() 233 windowInfo.bufferCount = caps.maxImageCount; in Create() 366 err = native_window_set_buffer_count(window, windowInfo.bufferCount); in UpdateWindow() 369 windowInfo.bufferCount, strerror(-err), err); in UpdateWindow() 400 for (uint32_t i = 0; i < mWindowInfo.bufferCount; i++) { in releaseBuffers() 485 for (idx = 0; idx < mWindowInfo.bufferCount; idx++) { in dequeueNativeBuffer() 498 if (idx == mWindowInfo.bufferCount) { in dequeueNativeBuffer()
|
D | VulkanSurface.h | 95 size_t bufferCount; member
|
/frameworks/av/media/libstagefright/omx/ |
D | OmxGraphicBufferSource.cpp | 76 int32_t bufferCount, in configure() argument 85 new OmxComponentWrapper(omxNode), dataSpace, bufferCount, in configure()
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.cpp | 42 int bufferCount) : in RingBufferConsumer() argument 44 mBufferCount(bufferCount), in RingBufferConsumer() 48 mConsumer->setMaxAcquiredBufferCount(bufferCount); in RingBufferConsumer() 50 assert(bufferCount > 0); in RingBufferConsumer()
|
D | RingBufferConsumer.h | 64 int bufferCount);
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | OmxGraphicBufferSource.h | 71 int32_t bufferCount,
|
/frameworks/native/libs/ui/tests/mock/ |
D | MockGrallocAllocator.h | 38 uint64_t usage, uint32_t bufferCount, uint32_t* outStride,
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/ |
D | media_c2_hidl_test_common.cpp | 60 size_t bufferCount) { in waitOnInputConsumption() argument 68 while ((maxRetry < MAX_RETRY) && (queueSize < bufferCount)) { in waitOnInputConsumption()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaOpenGLPipeline.cpp | 168 int bufferCount = min_undequeued_buffers + 2 + extraBuffers; in setBufferCount() local 169 native_window_set_buffer_count(window, bufferCount); in setBufferCount()
|
/frameworks/native/libs/gui/include/gui/ |
D | BufferItemConsumer.h | 55 uint64_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS,
|
D | BufferHubConsumer.h | 63 status_t setMaxBufferCount(int bufferCount) override;
|
/frameworks/native/libs/nativewindow/ |
D | ANativeWindow.cpp | 242 int ANativeWindow_setBufferCount(ANativeWindow* window, size_t bufferCount) { in ANativeWindow_setBufferCount() argument 243 return native_window_set_buffer_count(window, bufferCount); in ANativeWindow_setBufferCount()
|
/frameworks/native/libs/nativewindow/include/vndk/ |
D | window.h | 269 int ANativeWindow_setBufferCount(ANativeWindow* window, size_t bufferCount);
|
/frameworks/native/libs/ui/ |
D | Gralloc2.cpp | 383 uint32_t layerCount, uint64_t usage, uint32_t bufferCount, in allocate() argument 399 auto ret = mAllocator->allocate(descriptor, bufferCount, in allocate() 408 for (uint32_t i = 0; i < bufferCount; i++) { in allocate()
|
D | Gralloc3.cpp | 364 uint32_t layerCount, uint64_t usage, uint32_t bufferCount, in allocate() argument 376 auto ret = mAllocator->allocate(descriptor, bufferCount, in allocate() 385 for (uint32_t i = 0; i < bufferCount; i++) { in allocate()
|
/frameworks/av/media/libstagefright/ |
D | CameraSource.cpp | 547 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/native/libs/ui/include/ui/ |
D | Gralloc.h | 96 uint32_t layerCount, uint64_t usage, uint32_t bufferCount,
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CameraSource.h | 296 void createVideoBufferMemoryHeap(size_t size, uint32_t bufferCount); 309 android_dataspace dataSpace, uint32_t bufferCount);
|