Home
last modified time | relevance | path

Searched refs:mNumBytesSubmitted (Results 1 – 3 of 3) sorted by relevance

/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp31 int mNumBytesSubmitted; member in CodecEncoderTest
98 mNumBytesSubmitted = 0;
202 mNumBytesSubmitted = 0; in resetContext()
211 mInputOffsetPts = (mNumBytesSubmitted + 1024) * 1000000L / (2 * mChannels * mSampleRate); in flushCodec()
216 mNumBytesSubmitted = 0; in flushCodec()
224 int offset = 0, frmOffset = mNumBytesSubmitted; in fillByteBuffer()
264 if (mNumBytesSubmitted >= mInputLength) { in enqueueInput()
273 pts += mNumBytesSubmitted * 1000000L / (2 * mChannels * mSampleRate); in enqueueInput()
274 size = std::min(buffSize, mInputLength - mNumBytesSubmitted); in enqueueInput()
275 memcpy(inputBuffer, mInputData + mNumBytesSubmitted, size); in enqueueInput()
[all …]
/cts/tests/media/src/android/mediav2/cts/
DCodecTestBase.java1114 int mNumBytesSubmitted; field in CodecEncoderTestBase
1141 mNumBytesSubmitted = 0; in resetContext()
1150 (mNumBytesSubmitted + 1024) * 1000000L / (2 * mChannels * mSampleRate); in flushCodec()
1155 mNumBytesSubmitted = 0; in flushCodec()
1172 int offset = mNumBytesSubmitted; in fillImage()
1223 int offset = 0, frmOffset = mNumBytesSubmitted; in fillByteBuffer()
1252 if (mNumBytesSubmitted >= mInputData.length) { in enqueueInput()
1259 pts += mNumBytesSubmitted * 1000000L / (2 * mChannels * mSampleRate); in enqueueInput()
1260 size = Math.min(inputBuffer.capacity(), mInputData.length - mNumBytesSubmitted); in enqueueInput()
1261 inputBuffer.put(mInputData, mNumBytesSubmitted, size); in enqueueInput()
[all …]
DCodecEncoderTest.java712 mNumBytesSubmitted = 0; in testSetForceSyncFrame()
823 mNumBytesSubmitted = 0; in testAdaptiveBitRate()