/frameworks/native/libs/gui/ |
D | BufferItemConsumer.cpp | 34 int bufferCount, bool controlledByApp) : in BufferItemConsumer() argument 40 if (bufferCount != DEFAULT_MAX_BUFFERS) { in BufferItemConsumer() 41 err = mConsumer->setMaxAcquiredBufferCount(bufferCount); in BufferItemConsumer() 43 "Failed to set max acquired buffer count to %d", bufferCount); in BufferItemConsumer()
|
D | BufferQueueProducer.cpp | 70 status_t BufferQueueProducer::setBufferCount(int bufferCount) { in setBufferCount() argument 72 BQ_LOGV("setBufferCount: count = %d", bufferCount); in setBufferCount() 84 if (bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setBufferCount() 86 bufferCount, BufferQueueDefs::NUM_BUFFER_SLOTS); in setBufferCount() 98 if (bufferCount == 0) { in setBufferCount() 105 if (bufferCount < minBufferSlots) { in setBufferCount() 107 "minimum %d", bufferCount, minBufferSlots); in setBufferCount() 116 mCore->mOverrideMaxBufferCount = bufferCount; in setBufferCount()
|
D | IGraphicBufferProducer.cpp | 80 virtual status_t setBufferCount(int bufferCount) in setBufferCount() argument 84 data.writeInt32(bufferCount); in setBufferCount() 295 int bufferCount = data.readInt32(); in onTransact() local 296 int result = setBufferCount(bufferCount); in onTransact()
|
D | IGraphicBufferConsumer.cpp | 322 virtual status_t setDefaultMaxBufferCount(int bufferCount) { in setDefaultMaxBufferCount() argument 325 data.writeInt32(bufferCount); in setDefaultMaxBufferCount() 497 uint32_t bufferCount = data.readInt32(); in onTransact() local 498 status_t result = setDefaultMaxBufferCount(bufferCount); in onTransact()
|
D | Surface.cpp | 479 size_t bufferCount = va_arg(args, size_t); in dispatchSetBufferCount() local 480 return setBufferCount(bufferCount); in dispatchSetBufferCount() 625 int Surface::setBufferCount(int bufferCount) in setBufferCount() argument 631 status_t err = mGraphicBufferProducer->setBufferCount(bufferCount); in setBufferCount() 633 bufferCount, strerror(-err)); in setBufferCount()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Stream.cpp | 427 size_t bufferCount = getBufferCountLocked(); in registerBuffersLocked() local 430 buffers.insertAt(/*prototype_item*/NULL, /*index*/0, bufferCount); in registerBuffersLocked() 434 bufferSet.num_buffers = bufferCount; in registerBuffersLocked() 438 streamBuffers.insertAt(camera3_stream_buffer_t(), /*index*/0, bufferCount); in registerBuffersLocked() 448 for (; bufferIdx < bufferCount; bufferIdx++) { in registerBuffersLocked() 462 if (bufferIdx == bufferCount) { in registerBuffersLocked() 465 __FUNCTION__, bufferCount); in registerBuffersLocked()
|
D | Camera3ZslStream.cpp | 114 int bufferCount) : in Camera3ZslStream() argument 118 mDepth(bufferCount) { in Camera3ZslStream() 123 mProducer = new RingBufferConsumer(consumer, GRALLOC_USAGE_HW_CAMERA_ZSL, bufferCount); in Camera3ZslStream()
|
D | Camera3ZslStream.h | 43 Camera3ZslStream(int id, uint32_t width, uint32_t height, int bufferCount);
|
/frameworks/av/media/libstagefright/ |
D | SurfaceMediaSource.cpp | 149 int32_t bufferCount = 0; in start() local 155 if (!params->findInt32(kKeyNumBuffers, &bufferCount)) { in start() 160 if (bufferCount <= 1) { in start() 161 ALOGE("bufferCount %d is too small", bufferCount); in start() 165 mMaxAcquiredBufferCount = bufferCount; in start()
|
/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 | 67 int bufferCount);
|
/frameworks/native/services/surfaceflinger/ |
D | MonitoredProducer.cpp | 59 status_t MonitoredProducer::setBufferCount(int bufferCount) { in setBufferCount() argument 60 return mProducer->setBufferCount(bufferCount); in setBufferCount()
|
D | MonitoredProducer.h | 38 virtual status_t setBufferCount(int bufferCount);
|
/frameworks/native/include/gui/ |
D | BufferItemConsumer.h | 58 uint32_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS,
|
D | BufferQueueProducer.h | 57 virtual status_t setBufferCount(int bufferCount);
|
D | BufferQueueConsumer.h | 109 virtual status_t setDefaultMaxBufferCount(int bufferCount);
|
D | IGraphicBufferConsumer.h | 255 virtual status_t setDefaultMaxBufferCount(int bufferCount) = 0;
|
D | GLConsumer.h | 118 status_t setDefaultMaxBufferCount(int bufferCount);
|
D | Surface.h | 162 virtual int setBufferCount(int bufferCount);
|
D | IGraphicBufferProducer.h | 102 virtual status_t setBufferCount(int bufferCount) = 0;
|
/frameworks/native/libs/gui/tests/ |
D | BufferQueue_test.cpp | 54 void GetMinUndequeuedBufferCount(int* bufferCount) { in GetMinUndequeuedBufferCount() argument 55 ASSERT_TRUE(bufferCount != NULL); in GetMinUndequeuedBufferCount() 57 bufferCount)); in GetMinUndequeuedBufferCount() 58 ASSERT_GE(*bufferCount, 0); in GetMinUndequeuedBufferCount()
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.cpp | 40 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount, in GraphicBufferSource() argument 67 bufferWidth, bufferHeight, bufferCount); in GraphicBufferSource() 82 mInitCheck = mConsumer->setMaxAcquiredBufferCount(bufferCount); in GraphicBufferSource() 85 bufferCount, mInitCheck); in GraphicBufferSource()
|
D | GraphicBufferSource.h | 52 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount,
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.h | 101 virtual status_t setBufferCount(int bufferCount);
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 1558 audio_format_t format, int bufferCount, in open() argument 1567 if (bufferCount < mMinBufferCount) { in open() 1568 ALOGD("bufferCount (%d) is too small and increased to %d", bufferCount, mMinBufferCount); in open() 1569 bufferCount = mMinBufferCount; in open() 1573 format, bufferCount, mSessionId, flags); in open() 1598 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate; in open() 2066 audio_format_t format, int bufferCount, in open() argument 2070 ALOGV("open(%u, %d, 0x%x, %d, %d)", sampleRate, channelCount, channelMask, format, bufferCount); in open()
|