Home
last modified time | relevance | path

Searched refs:frmSize (Results 1 – 4 of 4) sorted by relevance

/cts/tests/videocodec/src/android/videocodec/cts/
DVideoEncoderValidationTestBase.java164 int frmSize = 3 * mActiveRawRes.mBytesPerSample * mActiveRawRes.mWidth in enqueueInput() local
166 if (mInputData == null || mInputData.length != frmSize) { in enqueueInput()
167 mInputData = new byte[frmSize]; in enqueueInput()
179 if (bytesRead != -1 && bytesRead != frmSize) { in enqueueInput()
198 (mFileReadOffset + frmSize >= mFileLength)) { in enqueueInput()
204 mFileReadOffset += frmSize; in enqueueInput()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecEncoderTestBase.java484 int frmSize = mActiveRawRes.mBytesPerSample * mActiveRawRes.mWidth in enqueueInput() local
486 if (mInputBufferReadOffset + frmSize > mInputData.length) { in enqueueInput()
496 (mInputBufferReadOffset + frmSize >= mInputData.length)) { in enqueueInput()
501 mInputBufferReadOffset += frmSize; in enqueueInput()
/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp238 int frmSize = kInpFrmWidth * kInpFrmHeight * 3 / 2; in enqueueInput() local
239 RETURN_IF_TRUE(mInputBufferReadOffset + frmSize > mInputLength, in enqueueInput()
251 : (mInputBufferReadOffset + frmSize >= mInputLength)) { in enqueueInput()
256 mInputBufferReadOffset += frmSize; in enqueueInput()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTestBase.java884 int frmSize = INP_FRM_WIDTH * INP_FRM_HEIGHT * 3 / 2; in enqueueInput() local
885 if (mNumBytesSubmitted + frmSize > mInputData.length) { in enqueueInput()
899 if (mNumBytesSubmitted + frmSize >= mInputData.length && mSignalEOSWithLastFrame) { in enqueueInput()
903 mNumBytesSubmitted += frmSize; in enqueueInput()