/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3BufferManager.cpp | 255 size_t& bufferCount = handOutBufferCounts.editValueFor(streamId); in getBufferForStream() local 256 if (bufferCount >= streamSet.maxAllowedBufferCount) { in getBufferForStream() 258 __FUNCTION__, bufferCount, streamSet.maxAllowedBufferCount); in getBufferForStream() 264 if (attachedBufferCount > bufferCount) { in getBufferForStream() 267 bufferCount++; in getBufferForStream() 293 bufferCount++; in getBufferForStream() 298 if (bufferCount + 1 > streamSet.allocatedBufferWaterMark) { in getBufferForStream() 299 streamSet.allocatedBufferWaterMark = bufferCount + 1; in getBufferForStream() 351 size_t& bufferCount = handOutBufferCounts.editValueFor(streamId); in onBufferReleased() local 352 bufferCount--; in onBufferReleased() [all …]
|
D | Camera3OutputStream.h | 57 size_t bufferCount = 0, 66 totalBufferCount(bufferCount), in streamId()
|
D | Camera3Stream.cpp | 333 size_t bufferCount = (maxCount == Camera3StreamInterface::ALLOCATE_PIPELINE_MAX) ? in startPrepare() local 336 mPrepared = bufferCount <= mLastMaxCount; in startPrepare() 340 mLastMaxCount = bufferCount; in startPrepare() 342 mPreparedBuffers.insertAt(camera3_stream_buffer_t(), /*index*/0, bufferCount); in startPrepare()
|
/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 | 575 status_t BufferQueueConsumer::setMaxBufferCount(int bufferCount) { in setMaxBufferCount() argument 578 if (bufferCount < 1 || bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxBufferCount() 579 BQ_LOGE("setMaxBufferCount: invalid count %d", bufferCount); in setMaxBufferCount() 590 if (bufferCount < mCore->mMaxAcquiredBufferCount) { in setMaxBufferCount() 592 "mMaxAcquiredBufferCount (%d)", bufferCount, in setMaxBufferCount() 598 mCore->mDequeueBufferCannotBlock, bufferCount) - in setMaxBufferCount() 606 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()
|
D | BufferQueueProducer.cpp | 131 int bufferCount = mCore->getMinUndequeuedBufferCountLocked(); in setMaxDequeuedBufferCount() local 132 bufferCount += maxDequeuedBuffers; in setMaxDequeuedBufferCount() 134 if (bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxDequeuedBufferCount() 136 "(max %d)", bufferCount, BufferQueueDefs::NUM_BUFFER_SLOTS); in setMaxDequeuedBufferCount() 141 if (bufferCount < minBufferSlots) { in setMaxDequeuedBufferCount() 143 "less than minimum %d", bufferCount, minBufferSlots); in setMaxDequeuedBufferCount() 147 if (bufferCount > mCore->mMaxBufferCount) { in setMaxDequeuedBufferCount()
|
D | Surface.cpp | 1013 size_t bufferCount = va_arg(args, size_t); in dispatchSetBufferCount() local 1014 return setBufferCount(static_cast<int32_t>(bufferCount)); in dispatchSetBufferCount() 1331 int Surface::setBufferCount(int bufferCount) in setBufferCount() argument 1338 if (bufferCount == 0) { in setBufferCount() 1346 bufferCount - minUndequeuedBuffers); in setBufferCount() 1351 bufferCount, strerror(-err)); in setBufferCount()
|
/frameworks/av/media/libmedia/ |
D | IMediaSource.cpp | 144 uint32_t bufferCount = 0; in readMultiple() local 146 LOG_ALWAYS_FATAL_IF(bufferCount >= maxNumBuffers, in readMultiple() 148 bufferCount + 1, maxNumBuffers); in readMultiple() 181 ++bufferCount; in readMultiple() 186 ret, bufferCount, mBuffersSinceStop); in readMultiple() 344 uint32_t bufferCount = 0; in onTransact() local 345 for (; bufferCount < maxNumBuffers; ++bufferCount, ++mBuffersSinceStop) { in onTransact() 438 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/av/media/libstagefright/ |
D | SurfaceMediaSource.cpp | 150 int32_t bufferCount = 0; in start() local 156 if (!params->findInt32(kKeyNumBuffers, &bufferCount)) { in start() 161 if (bufferCount <= 1) { in start() 162 ALOGE("bufferCount %d is too small", bufferCount); in start() 166 mMaxAcquiredBufferCount = bufferCount; in start()
|
D | CameraSource.cpp | 546 void CameraSource::createVideoBufferMemoryHeap(size_t size, uint32_t bufferCount) { in createVideoBufferMemoryHeap() argument 547 mMemoryHeapBase = new MemoryHeapBase(size * bufferCount, 0, in createVideoBufferMemoryHeap() 549 for (uint32_t i = 0; i < bufferCount; i++) { in createVideoBufferMemoryHeap() 555 uint32_t format, android_dataspace dataSpace, uint32_t bufferCount) { in initBufferQueue() argument 573 bufferCount += kConsumerBufferCount; in initBufferQueue() 575 mVideoBufferConsumer = new BufferItemConsumer(consumer, usage, bufferCount); in initBufferQueue() 607 createVideoBufferMemoryHeap(sizeof(VideoNativeMetadata), bufferCount); in initBufferQueue()
|
/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/native/libs/nativewindow/ |
D | ANativeWindow.cpp | 196 int ANativeWindow_setBufferCount(ANativeWindow* window, size_t bufferCount) { in ANativeWindow_setBufferCount() argument 197 return native_window_set_buffer_count(window, bufferCount); in ANativeWindow_setBufferCount()
|
/frameworks/native/libs/gui/include/gui/ |
D | BufferItemConsumer.h | 55 uint64_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS,
|
D | BufferQueueConsumer.h | 105 virtual status_t setMaxBufferCount(int bufferCount);
|
D | IGraphicBufferConsumer.h | 200 virtual status_t setMaxBufferCount(int bufferCount) = 0;
|
/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 | 295 void createVideoBufferMemoryHeap(size_t size, uint32_t bufferCount); 308 android_dataspace dataSpace, uint32_t bufferCount);
|
/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 597 size_t bufferCount) in native_window_set_buffer_count() argument 599 return window->perform(window, NATIVE_WINDOW_SET_BUFFER_COUNT, bufferCount); in native_window_set_buffer_count()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | GraphicBufferSource.h | 128 int32_t bufferCount,
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 1846 audio_format_t format, int bufferCount, in open() argument 1854 format, bufferCount, mSessionId, flags); in open() 1881 if (bufferCount == 0) { in open() 1883 bufferCount = (suggestedFrameCount + framesPerBuffer - 1) / framesPerBuffer; in open() 1886 if (bufferCount != 0 && bufferCount < mMinBufferCount) { in open() 1887 ALOGV("bufferCount (%d) increased to %d", bufferCount, mMinBufferCount); in open() 1888 bufferCount = mMinBufferCount; in open() 1892 frameCount = bufferCount * framesPerBuffer; in open()
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.cpp | 1037 int32_t bufferCount, in configure() argument 1050 status_t err = mConsumer->setMaxAcquiredBufferCount(bufferCount); in configure() 1053 bufferCount, err); in configure()
|