Lines Matching refs:currentBufferIdx
899 int currentBufferIdx, nextBufferIdx;
915 currentBufferIdx = buffer->index;
917 if ( currentBufferIdx >= imgCaptureData->mNumBufs)
919 CAMHAL_LOGEB("Invalid bracketing buffer index 0x%x", currentBufferIdx);
926 mBracketingBuffersQueued[currentBufferIdx] = false;
931 nextBufferIdx = ( currentBufferIdx + 1 ) % imgCaptureData->mNumBufs;
948 int currentBufferIdx;
965 currentBufferIdx = mLastBracetingBufferIdx;
968 currentBufferIdx++;
969 currentBufferIdx %= imgCaptureData->mNumBufs;
970 if (!mBracketingBuffersQueued[currentBufferIdx] )
974 imgCaptureData->mBufferHeader[currentBufferIdx],
979 } while ( currentBufferIdx != mLastBracetingBufferIdx );