/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecEncoderBlockModelTestBase.java | 93 if (mIsLoopBack && mInputBufferReadOffset >= mInputData.length) { 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()
|
D | CodecEncoderTestBase.java | 68 protected byte[] mInputData; field in CodecEncoderTestBase 352 mInputData = new byte[size]; in setUpSource() 353 fInp.read(mInputData, 0, size); in setUpSource() 385 buf.put(mInputData, offset, width * height * bytesPerSample); in fillImage() 393 buf.put(mInputData, offset + y * tileWidth * bytesPerSample, in fillImage() 410 buf.put(mInputData[offset + y * tileWidth * bytesPerSample in fillImage() 443 inputBuffer.put(mInputData, in fillByteBuffer() 455 if (mIsLoopBack && mInputBufferReadOffset >= mInputData.length) { in enqueueInput() 459 if (mInputBufferReadOffset >= mInputData.length) { in enqueueInput() 468 size = Math.min(inputBuffer.capacity(), mInputData.length - mInputBufferReadOffset); in enqueueInput() [all …]
|
D | CompareStreams.java | 90 private byte[] mInputData; field in CompareStreams 214 mInputData = new byte[mFrameSize]; in dequeueOutput() 218 assertEquals(mFrameSize, fInp.read(mInputData)); in dequeueOutput() 222 mRefYuv.mWidth, mRefYuv.mHeight, mInputData); in dequeueOutput()
|
D | HDREncoderTestBase.java | 125 int maxNumFrames = mInputData.length in validateHDRInfo()
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoEncoderValidationTestBase.java | 145 mInputData = null; in setUpSource() 166 if (mInputData == null || mInputData.length != frmSize) { in enqueueInput() 167 mInputData = new byte[frmSize]; in enqueueInput() 171 bytesRead = mFileInp.read(mInputData); in enqueueInput() 174 bytesRead = mFileInp.read(mInputData); in enqueueInput()
|
/cts/tests/media/jni/ |
D | NativeCodecEncoderTest.cpp | 29 uint8_t* mInputData; member in CodecEncoderTest 89 mInputData = nullptr; in CodecEncoderTest() 110 uint8_t* frameBase = mInputData; in convertyuv420ptoyuv420sp() 131 mInputData = new uint8_t[mInputLength]; in setUpSource() 132 fread(mInputData, sizeof(uint8_t), mInputLength, fp); in setUpSource() 143 if (mInputData) { in deleteSource() 144 delete[] mInputData; in deleteSource() 145 mInputData = nullptr; in deleteSource() 202 mInputData + (frmOffset + j * tileWidth), colsToCopy); in fillByteBuffer() 226 memcpy(inputBuffer, mInputData + mInputBufferReadOffset, size); in enqueueInput() [all …]
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTestBase.java | 740 byte[] mInputData; field in CodecEncoderTestBase 776 mInputData = new byte[size]; in setUpSource() 777 fInp.read(mInputData, 0, size); in setUpSource() 803 buf.put(mInputData, offset, width * height); in fillImage() 811 buf.put(mInputData, offset + y * tileWidth, colsToCopy); in fillImage() 826 buf.put(mInputData[offset + y * tileWidth + w]); in fillImage() 855 inputBuffer.put(mInputData, frmOffset + j * tileWidth, colsToCopy); in fillByteBuffer() 866 if (mNumBytesSubmitted >= mInputData.length) { in enqueueInput() 874 size = Math.min(inputBuffer.capacity(), mInputData.length - mNumBytesSubmitted); in enqueueInput() 875 inputBuffer.put(mInputData, mNumBytesSubmitted, size); in enqueueInput() [all …]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | AudioEncoderTest.java | 189 + mTestEnv, out, ByteBuffer.wrap(mInputData)); in encodeAndValidate() 194 if (mInputData.length > out.limit() + tolerance) { in encodeAndValidate() 197 mInputData.length, out.limit()); in encodeAndValidate()
|