Lines Matching refs:mBufferCount

63     mBufferCount = 0;  in QCamera3Memory()
202 return mBufferCount; in getCnt()
224 if (!mBufferCount) { in getBufDef()
392 if (index >= mBufferCount) { in getPtrLocked()
419 if (index >= mBufferCount) { in markFrameNumber()
421 __func__, index, mBufferCount); in markFrameNumber()
453 if (index >= mBufferCount) { in getFrameNumber()
455 __func__, index, mBufferCount); in getFrameNumber()
485 index < mBufferCount; index++) { in getBufferIndex()
529 if (mBufferCount > 0) { in allocate()
554 mBufferCount = mMaxCnt; in allocate()
588 if (mBufferCount + 1 > mMaxCnt) { in allocateOne()
590 mBufferCount, mMaxCnt); in allocateOne()
594 rc = allocOneBuffer(mMemInfo[mBufferCount], heap_id_mask, size); in allocateOne()
601 mMemInfo[mBufferCount].size, in allocateOne()
604 mMemInfo[mBufferCount].fd, 0); in allocateOne()
606 deallocOneBuffer(mMemInfo[mBufferCount]); in allocateOne()
610 mPtr[mBufferCount] = vaddr; in allocateOne()
613 mBufferCount += 1; in allocateOne()
615 return mBufferCount-1; in allocateOne()
629 for (uint32_t i = 0; i < mBufferCount; i++) { in deallocate()
635 mBufferCount = 0; in deallocate()
653 if (index >= mBufferCount) in cacheOps()
757 if (mBufferCount >= (MM_CAMERA_MAX_NUM_FRAMES - 1 - mStartIdx)) { in registerBuffer()
759 __func__, mBufferCount, MM_CAMERA_MAX_NUM_FRAMES - mStartIdx); in registerBuffer()
809 mBufferCount++; in registerBuffer()
846 mBufferCount--; in unregisterBufferLocked()
920 mBufferCount = 0; in unregisterBuffers()
1097 if (mBufferCount >= (MM_CAMERA_MAX_NUM_FRAMES - 1)) { in getFreeIndexLocked()
1099 __func__, mBufferCount, MM_CAMERA_MAX_NUM_FRAMES); in getFreeIndexLocked()