Searched refs:mInputBufferReadOffset (Results 1 – 4 of 4) sorted by relevance
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecEncoderBlockModelTestBase.java | 93 if (mIsLoopBack && mInputBufferReadOffset >= mInputData.length) { in enqueueInput() 94 mInputBufferReadOffset = 0; in enqueueInput() 96 if (mInputBufferReadOffset >= mInputData.length) { in enqueueInput() 109 int size = Math.min(maxInputSize, mInputData.length - mInputBufferReadOffset); in enqueueInput() 114 mLinearInputBlock.getBuffer().put(mInputData, mInputBufferReadOffset, size); in enqueueInput() 117 (mInputBufferReadOffset + size >= mInputData.length)) { in enqueueInput() 122 mInputBufferReadOffset += size; in enqueueInput()
|
D | CodecEncoderTestBase.java | 69 protected int mInputBufferReadOffset; field in CodecEncoderTestBase 342 mInputBufferReadOffset = 0; in resetContext() 368 int offset = mInputBufferReadOffset; in fillImage() 423 int offset = 0, frmOffset = mInputBufferReadOffset; in fillByteBuffer() 455 if (mIsLoopBack && mInputBufferReadOffset >= mInputData.length) { in enqueueInput() 456 mInputBufferReadOffset = 0; in enqueueInput() 459 if (mInputBufferReadOffset >= mInputData.length) { in enqueueInput() 468 size = Math.min(inputBuffer.capacity(), mInputData.length - mInputBufferReadOffset); in enqueueInput() 471 inputBuffer.put(mInputData, mInputBufferReadOffset, size); in enqueueInput() 474 (mInputBufferReadOffset + size >= mInputData.length)) { in enqueueInput() [all …]
|
/cts/tests/media/jni/ |
D | NativeCodecEncoderTest.cpp | 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() [all …]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecEncoderTest.java | 649 mInputBufferReadOffset = 0; in testSetForceSyncFrame() 751 mInputBufferReadOffset = 0; in testAdaptiveBitRate()
|