Lines Matching refs:maxAcquiredBuffers
617 int maxAcquiredBuffers) { in setMaxAcquiredBufferCount() argument
620 if (maxAcquiredBuffers < 1 || in setMaxAcquiredBufferCount()
621 maxAcquiredBuffers > BufferQueueCore::MAX_MAX_ACQUIRED_BUFFERS) { in setMaxAcquiredBufferCount()
623 maxAcquiredBuffers); in setMaxAcquiredBufferCount()
637 if (maxAcquiredBuffers == mCore->mMaxAcquiredBufferCount) { in setMaxAcquiredBufferCount()
649 if (acquiredCount > maxAcquiredBuffers) { in setMaxAcquiredBufferCount()
652 maxAcquiredBuffers, acquiredCount); in setMaxAcquiredBufferCount()
656 if ((maxAcquiredBuffers + mCore->mMaxDequeuedBufferCount + in setMaxAcquiredBufferCount()
661 maxAcquiredBuffers, mCore->mMaxBufferCount, in setMaxAcquiredBufferCount()
667 int delta = maxAcquiredBuffers - mCore->mMaxAcquiredBufferCount; in setMaxAcquiredBufferCount()
672 BQ_LOGV("setMaxAcquiredBufferCount: %d", maxAcquiredBuffers); in setMaxAcquiredBufferCount()
673 mCore->mMaxAcquiredBufferCount = maxAcquiredBuffers; in setMaxAcquiredBufferCount()