Home
last modified time | relevance | path

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

/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderTest.java82 ByteBuffer refBuffer = ByteBuffer.allocate(length); in setUpAudioReference() local
83 refBuffer.order(ByteOrder.LITTLE_ENDIAN); in setUpAudioReference()
84 fileChannel.read(refBuffer); in setUpAudioReference()
86 refBuffer.position(0); in setUpAudioReference()
88 refData[i] = refBuffer.getShort(); in setUpAudioReference()
DMuxerTest.java265 byte[] refBuffer = new byte[MAX_SAMPLE_SIZE]; in isSubsetOf()
291 mBuff.get(refBuffer, 0, thisInfo.size); in isSubsetOf()
296 if (refBuffer[count] != testBuffer[count]) { in isSubsetOf()
DExtractorTest.java248 ByteBuffer refBuffer = ByteBuffer.allocate(MAX_SAMPLE_SIZE); in isMediaSimilar() local
288 int refSz = refExtractor.readSampleData(refBuffer, 0); in isMediaSimilar()
324 if (!testBuffer.equals(refBuffer)) { in isMediaSimilar()
/cts/tests/media/jni/
DNativeExtractorTest.cpp92 auto refBuffer = new uint8_t[maxSampleSize]; in isMediaSimilar() local
129 AMediaExtractor_readSampleData(refExtractor, refBuffer, maxSampleSize); in isMediaSimilar()
156 if (memcmp(refBuffer, testBuffer, refSz)) { in isMediaSimilar()
197 delete[] refBuffer; in isMediaSimilar()