Searched refs:bufferCount (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/native/libs/gui/
H A DBufferItemConsumer.cpp34 int bufferCount, bool controlledByApp) :
40 if (bufferCount != DEFAULT_MAX_BUFFERS) {
41 err = mConsumer->setMaxAcquiredBufferCount(bufferCount);
43 "Failed to set max acquired buffer count to %d", bufferCount);
32 BufferItemConsumer( const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, int bufferCount, bool controlledByApp) argument
H A DBufferQueueProducer.cpp75 status_t BufferQueueProducer::setBufferCount(int bufferCount) { argument
77 BQ_LOGV("setBufferCount: count = %d", bufferCount);
89 if (bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) {
90 BQ_LOGE("setBufferCount: bufferCount %d too large (max %d)",
91 bufferCount, BufferQueueDefs::NUM_BUFFER_SLOTS);
103 if (bufferCount == 0) {
110 if (bufferCount < minBufferSlots) {
112 "minimum %d", bufferCount, minBufferSlots);
121 mCore->mOverrideMaxBufferCount = bufferCount;
H A DIGraphicBufferConsumer.cpp322 virtual status_t setDefaultMaxBufferCount(int bufferCount) { argument
325 data.writeInt32(bufferCount);
497 uint32_t bufferCount = data.readInt32(); local
498 status_t result = setDefaultMaxBufferCount(bufferCount);
H A DIGraphicBufferProducer.cpp80 virtual status_t setBufferCount(int bufferCount) argument
84 data.writeInt32(bufferCount);
295 int bufferCount = data.readInt32(); local
296 int result = setBufferCount(bufferCount);
H A DSurface.cpp479 size_t bufferCount = va_arg(args, size_t); local
480 return setBufferCount(bufferCount);
625 int Surface::setBufferCount(int bufferCount) argument
631 status_t err = mGraphicBufferProducer->setBufferCount(bufferCount);
633 bufferCount, strerror(-err));
H A DBufferQueueConsumer.cpp439 status_t BufferQueueConsumer::setDefaultMaxBufferCount(int bufferCount) { argument
442 return mCore->setDefaultMaxBufferCountLocked(bufferCount);
/frameworks/native/include/gui/
H A DBufferItemConsumer.h53 // bufferCount parameter specifies how many buffers can be locked for user
58 uint32_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS,
73 // the construction-time bufferCount parameter. If INVALID_OPERATION is
H A DBufferQueueConsumer.h109 virtual status_t setDefaultMaxBufferCount(int bufferCount);
H A DBufferQueueProducer.h48 // bufferCount is invalid. bufferCount must generally be a value
57 virtual status_t setBufferCount(int bufferCount);
H A DIGraphicBufferConsumer.h254 // * BAD_VALUE - bufferCount was out of range (see above).
255 virtual status_t setDefaultMaxBufferCount(int bufferCount) = 0;
H A DGLConsumer.h118 status_t setDefaultMaxBufferCount(int bufferCount);
H A DIGraphicBufferProducer.h100 // * bufferCount was out of range (see above)
102 virtual status_t setBufferCount(int bufferCount) = 0;
H A DSurface.h162 virtual int setBufferCount(int bufferCount);
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp59 status_t MonitoredProducer::setBufferCount(int bufferCount) { argument
60 return mProducer->setBufferCount(bufferCount);
H A DMonitoredProducer.h38 virtual status_t setBufferCount(int bufferCount);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3ZslStream.h40 * Set up a ZSL stream of a given resolution. bufferCount is the number of buffers
43 Camera3ZslStream(int id, uint32_t width, uint32_t height, int bufferCount);
H A DCamera3Stream.cpp427 size_t bufferCount = getBufferCountLocked(); local
430 buffers.insertAt(/*prototype_item*/NULL, /*index*/0, bufferCount);
434 bufferSet.num_buffers = bufferCount;
438 streamBuffers.insertAt(camera3_stream_buffer_t(), /*index*/0, bufferCount); local
448 for (; bufferIdx < bufferCount; bufferIdx++) {
462 if (bufferIdx == bufferCount) {
465 __FUNCTION__, bufferCount);
H A DCamera3ZslStream.cpp114 int bufferCount) :
118 mDepth(bufferCount) {
123 mProducer = new RingBufferConsumer(consumer, GRALLOC_USAGE_HW_CAMERA_ZSL, bufferCount);
113 Camera3ZslStream(int id, uint32_t width, uint32_t height, int bufferCount) argument
/frameworks/av/media/libstagefright/
H A DSurfaceMediaSource.cpp149 int32_t bufferCount = 0; local
155 if (!params->findInt32(kKeyNumBuffers, &bufferCount)) {
160 if (bufferCount <= 1) {
161 ALOGE("bufferCount %d is too small", bufferCount);
165 mMaxAcquiredBufferCount = bufferCount;
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp42 int bufferCount) :
44 mBufferCount(bufferCount),
48 mConsumer->setMaxAcquiredBufferCount(bufferCount);
50 assert(bufferCount > 0);
40 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, int bufferCount) argument
H A DRingBufferConsumer.h64 // bufferCount parameter specifies how many buffers can be pinned for user
67 int bufferCount);
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.h52 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount,
H A DGraphicBufferSource.cpp40 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount,
67 bufferWidth, bufferHeight, bufferCount);
82 mInitCheck = mConsumer->setMaxAcquiredBufferCount(bufferCount);
85 bufferCount, mInitCheck);
39 GraphicBufferSource(OMXNodeInstance* nodeInstance, uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount, bool useGraphicBufferInMeta) argument
/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp54 void GetMinUndequeuedBufferCount(int* bufferCount) { argument
55 ASSERT_TRUE(bufferCount != NULL);
57 bufferCount));
58 ASSERT_GE(*bufferCount, 0);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h101 virtual status_t setBufferCount(int bufferCount);

Completed in 282 milliseconds

12