Home
last modified time | relevance | path

Searched refs:mInputData (Results 1 – 2 of 2) sorted by relevance

/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp29 uint8_t* mInputData; member in CodecEncoderTest
96 mInputData = nullptr;
114 uint8_t* frameBase = mInputData; in convertyuv420ptoyuv420sp()
135 mInputData = new uint8_t[mInputLength]; in setUpSource()
136 fread(mInputData, sizeof(uint8_t), mInputLength, fp); in setUpSource()
147 if (mInputData) { in deleteSource()
148 delete[] mInputData; in deleteSource()
149 mInputData = nullptr; in deleteSource()
254 mInputData + (frmOffset + j * tileWidth), colsToCopy); in fillByteBuffer()
275 memcpy(inputBuffer, mInputData + mNumBytesSubmitted, size); in enqueueInput()
[all …]
/cts/tests/media/src/android/mediav2/cts/
DCodecTestBase.java1113 byte[] mInputData; field in CodecEncoderTestBase
1162 mInputData = new byte[size]; in setUpSource()
1163 fInp.read(mInputData, 0, size); in setUpSource()
1189 buf.put(mInputData, offset, width * height); in fillImage()
1197 buf.put(mInputData, offset + y * tileWidth, colsToCopy); in fillImage()
1212 buf.put(mInputData[offset + y * tileWidth + w]); in fillImage()
1241 inputBuffer.put(mInputData, frmOffset + j * tileWidth, colsToCopy); in fillByteBuffer()
1252 if (mNumBytesSubmitted >= mInputData.length) { in enqueueInput()
1260 size = Math.min(inputBuffer.capacity(), mInputData.length - mNumBytesSubmitted); in enqueueInput()
1261 inputBuffer.put(mInputData, mNumBytesSubmitted, size); in enqueueInput()
[all …]