Home
last modified time | relevance | path

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

/cts/tests/media/common/src/android/mediav2/common/cts/
DOutputManager.java390 float[] refData = (float[]) refObject; in getRmsError() local
391 if (refData.length != mMemIndex / bytesPerSample) return Float.MAX_VALUE; in getRmsError()
392 float[] floatData = new float[refData.length]; in getRmsError()
395 for (int i = 0; i < refData.length; i++) { in getRmsError()
396 float d = floatData[i] - refData[i]; in getRmsError()
399 avgErrorSquared = (totalErrorSquared / refData.length); in getRmsError()
401 int[] refData = (int[]) refObject; in getRmsError() local
404 if (refData.length != (mMemIndex / bytesPerSample)) return Float.MAX_VALUE; in getRmsError()
405 intData = new int[refData.length]; in getRmsError()
410 if (refData.length != mMemIndex / bytesPerSample) return Float.MAX_VALUE; in getRmsError()
[all …]
/cts/tests/media/jni/
DNativeCodecTestBase.h151 float getRmsError(uint8_t* refData, int length);
DNativeCodecTestBase.cpp365 float OutputManager::getRmsError(uint8_t* refData, int length) { in getRmsError() argument
372 auto* refDataReinterpret = reinterpret_cast<int16_t*>(refData); in getRmsError()