/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3BufferManager.cpp | 262 size_t& bufferCount = handOutBufferCounts.editValueFor(streamId); in getBufferForStream() local 267 attachedBufferCount = bufferCount; in getBufferForStream() 270 if (bufferCount >= streamSet.maxAllowedBufferCount) { in getBufferForStream() 272 __FUNCTION__, bufferCount, streamSet.maxAllowedBufferCount); in getBufferForStream() 276 if (attachedBufferCount > bufferCount) { in getBufferForStream() 279 bufferCount++; in getBufferForStream() 306 bufferCount++; in getBufferForStream() 311 if (bufferCount + 1 > streamSet.allocatedBufferWaterMark) { in getBufferForStream() 312 streamSet.allocatedBufferWaterMark = bufferCount + 1; in getBufferForStream() 366 size_t& bufferCount = handOutBufferCounts.editValueFor(streamId); in onBufferReleased() local [all …]
|
/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 | 612 status_t BufferQueueConsumer::setMaxBufferCount(int bufferCount) { in setMaxBufferCount() argument 615 if (bufferCount < 1 || bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxBufferCount() 616 BQ_LOGE("setMaxBufferCount: invalid count %d", bufferCount); in setMaxBufferCount() 627 if (bufferCount < mCore->mMaxAcquiredBufferCount) { in setMaxBufferCount() 629 "mMaxAcquiredBufferCount (%d)", bufferCount, in setMaxBufferCount() 635 mCore->mDequeueBufferCannotBlock, bufferCount) - in setMaxBufferCount() 643 mCore->mMaxBufferCount = bufferCount; in setMaxBufferCount()
|
D | IGraphicBufferConsumer.cpp | 110 status_t setMaxBufferCount(int bufferCount) override { in setMaxBufferCount() argument 112 return callRemote<Signature>(Tag::SET_MAX_BUFFER_COUNT, 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() 349 uint32_t bufferCount = 0; in onTransact() local 350 for (; bufferCount < maxNumBuffers; ++bufferCount, ++mBuffersSinceStop) { in onTransact() 443 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()
|
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.cpp | 201 outWindowInfo->bufferCount = in InitializeWindowInfoStruct() 209 if (outWindowInfo->bufferCount > static_cast<uint32_t>(query_value)) { in InitializeWindowInfoStruct() 211 outWindowInfo->bufferCount = static_cast<uint32_t>(query_value); in InitializeWindowInfoStruct() 318 err = native_window_set_buffer_count(window, windowInfo.bufferCount); in UpdateWindow() 321 windowInfo.bufferCount, strerror(-err), err); in UpdateWindow() 348 for (uint32_t i = 0; i < mWindowInfo.bufferCount; i++) { in releaseBuffers() 427 for (idx = 0; idx < mWindowInfo.bufferCount; idx++) { in dequeueNativeBuffer() 440 if (idx == mWindowInfo.bufferCount) { in dequeueNativeBuffer()
|
D | ReliableSurface.cpp | 263 size_t bufferCount = va_arg(args, size_t); in hook_perform() local 264 if (bufferCount >= rs->mExpectedBufferCount) { in hook_perform() 267 … ALOGD("HOOK FAILED! Expected %zd got = %zd", rs->mExpectedBufferCount, bufferCount); in hook_perform()
|
D | VulkanSurface.h | 99 size_t bufferCount; member
|
/frameworks/av/media/libstagefright/omx/ |
D | OmxGraphicBufferSource.cpp | 85 int32_t bufferCount, in configure() argument 94 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 | 70 int32_t bufferCount,
|
/frameworks/native/libs/ui/tests/mock/ |
D | MockGrallocAllocator.h | 38 uint32_t layerCount, uint64_t usage, uint32_t bufferCount, uint32_t* outStride,
|
/frameworks/av/media/libstagefright/ |
D | CameraSource.cpp | 451 void CameraSource::createVideoBufferMemoryHeap(size_t size, uint32_t bufferCount) { in createVideoBufferMemoryHeap() argument 452 mMemoryHeapBase = new MemoryHeapBase(size * bufferCount, 0, in createVideoBufferMemoryHeap() 454 for (uint32_t i = 0; i < bufferCount; i++) { in createVideoBufferMemoryHeap() 460 uint32_t format, android_dataspace dataSpace, uint32_t bufferCount) { in initBufferQueue() argument 478 bufferCount += kConsumerBufferCount; in initBufferQueue() 480 mVideoBufferConsumer = new BufferItemConsumer(consumer, usage, bufferCount); in initBufferQueue() 512 createVideoBufferMemoryHeap(sizeof(VideoNativeMetadata), bufferCount); in initBufferQueue()
|
/frameworks/av/media/libstagefright/filters/include/filters/ |
D | GraphicBufferListener.h | 32 size_t bufferWidth, size_t bufferHeight, size_t bufferCount);
|
/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/ui/ |
D | Gralloc2.cpp | 387 uint32_t bufferCount, uint32_t* outStride, in allocate() argument 403 auto ret = mAllocator->allocate(descriptor, bufferCount, in allocate() 412 for (uint32_t i = 0; i < bufferCount; i++) { in allocate() 424 for (uint32_t i = 0; i < bufferCount; i++) { in allocate()
|
D | Gralloc3.cpp | 374 uint64_t usage, uint32_t bufferCount, uint32_t* outStride, in allocate() argument 386 auto ret = mAllocator->allocate(descriptor, bufferCount, in allocate() 395 for (uint32_t i = 0; i < bufferCount; i++) { in allocate() 407 for (uint32_t i = 0; i < bufferCount; i++) { in allocate()
|
/frameworks/base/libs/hostgraphics/gui/ |
D | BufferItemConsumer.h | 32 int bufferCount, in BufferItemConsumer() argument
|
/frameworks/native/libs/nativewindow/include/vndk/ |
D | window.h | 269 int ANativeWindow_setBufferCount(ANativeWindow* window, size_t bufferCount);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CameraSource.h | 244 void createVideoBufferMemoryHeap(size_t size, uint32_t bufferCount); 257 android_dataspace dataSpace, uint32_t bufferCount);
|
/frameworks/native/libs/ui/include/ui/ |
D | Gralloc2.h | 84 PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t bufferCount,
|
D | Gralloc3.h | 85 PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t bufferCount,
|