Home
last modified time | relevance | path

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

/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderTest.java78 short[] refData; in setUpAudioReference() local
85 refData = new short[length / 2]; in setUpAudioReference()
88 refData[i] = refBuffer.getShort(); in setUpAudioReference()
91 return refData; in setUpAudioReference()
310 short[] refData = setUpAudioReference(); in testSimpleDecode() local
312 ref.getRmsError(refData) <= mRmsError); in testSimpleDecode()
DCodecTestBase.java393 float getRmsError(short[] refData) { in getRmsError() argument
398 if (refData.length != shortData.length) return Float.MAX_VALUE; in getRmsError()
400 int d = shortData[i] - refData[i]; in getRmsError()
/cts/tests/media/jni/
DNativeCodecTestBase.h117 float getRmsError(uint8_t* refData, int length);
DNativeCodecTestBase.cpp322 float OutputManager::getRmsError(uint8_t* refData, int length) { in getRmsError() argument
329 auto* refDataReinterpret = reinterpret_cast<int16_t*>(refData); in getRmsError()