Lines Matching refs:maxAcquiredBuffers
642 int maxAcquiredBuffers) { in setMaxAcquiredBufferCount() argument
645 if (maxAcquiredBuffers < 1 || in setMaxAcquiredBufferCount()
646 maxAcquiredBuffers > BufferQueueCore::MAX_MAX_ACQUIRED_BUFFERS) { in setMaxAcquiredBufferCount()
648 maxAcquiredBuffers); in setMaxAcquiredBufferCount()
662 if (maxAcquiredBuffers == mCore->mMaxAcquiredBufferCount) { in setMaxAcquiredBufferCount()
674 if (acquiredCount > maxAcquiredBuffers) { in setMaxAcquiredBufferCount()
677 maxAcquiredBuffers, acquiredCount); in setMaxAcquiredBufferCount()
681 if ((maxAcquiredBuffers + mCore->mMaxDequeuedBufferCount + in setMaxAcquiredBufferCount()
686 maxAcquiredBuffers, mCore->mMaxBufferCount, in setMaxAcquiredBufferCount()
692 int delta = maxAcquiredBuffers - mCore->mMaxAcquiredBufferCount; in setMaxAcquiredBufferCount()
697 BQ_LOGV("setMaxAcquiredBufferCount: %d", maxAcquiredBuffers); in setMaxAcquiredBufferCount()
698 mCore->mMaxAcquiredBufferCount = maxAcquiredBuffers; in setMaxAcquiredBufferCount()