Searched refs:refBuffer (Results 1 – 4 of 4) sorted by relevance
82 ByteBuffer refBuffer = ByteBuffer.allocate(length); in setUpAudioReference() local83 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()
265 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()
248 ByteBuffer refBuffer = ByteBuffer.allocate(MAX_SAMPLE_SIZE); in isMediaSimilar() local288 int refSz = refExtractor.readSampleData(refBuffer, 0); in isMediaSimilar()324 if (!testBuffer.equals(refBuffer)) { in isMediaSimilar()
92 auto refBuffer = new uint8_t[maxSampleSize]; in isMediaSimilar() local129 AMediaExtractor_readSampleData(refExtractor, refBuffer, maxSampleSize); in isMediaSimilar()156 if (memcmp(refBuffer, testBuffer, refSz)) { in isMediaSimilar()197 delete[] refBuffer; in isMediaSimilar()