Lines Matching refs:mInputBufferReadOffset
31 int mInputBufferReadOffset; member in CodecEncoderTest
91 mInputBufferReadOffset = 0; in CodecEncoderTest()
163 mInputBufferReadOffset = 0; in resetContext()
172 int offset = 0, frmOffset = mInputBufferReadOffset; in fillByteBuffer()
212 if (mInputBufferReadOffset >= mInputLength) { in enqueueInput()
214 mInputBufferReadOffset = 0; // loop back to beginning in enqueueInput()
225 size = std::min(buffSize, mInputLength - mInputBufferReadOffset); in enqueueInput()
226 memcpy(inputBuffer, mInputData + mInputBufferReadOffset, size); in enqueueInput()
229 : (mInputBufferReadOffset + size >= mInputLength)) { in enqueueInput()
234 mInputBufferReadOffset += size; in enqueueInput()
239 RETURN_IF_TRUE(mInputBufferReadOffset + frmSize > mInputLength, in enqueueInput()
245 memcpy(inputBuffer, mInputData + mInputBufferReadOffset, size); in enqueueInput()
251 : (mInputBufferReadOffset + frmSize >= mInputLength)) { in enqueueInput()
256 mInputBufferReadOffset += frmSize; in enqueueInput()
588 mInputBufferReadOffset = 0; in testSetForceSyncFrame()
659 mInputBufferReadOffset = 0; in testAdaptiveBitRate()