Home
last modified time | relevance | path

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

/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp373 void getRawStats(NativeImage *img, jlong rawStats[10]) in getRawStats()
430 rawStats[0] = img->plane[0].cropWidth * (uint64_t)img->plane[0].cropHeight; in getRawStats()
432 rawStats[i + 1] = sum_x[i]; in getRawStats()
433 rawStats[i + 4] = sum_xx[i]; in getRawStats()
434 rawStats[i + 7] = sum_xy[i]; in getRawStats()
438 bool Raw2YUVStats(jlong rawStats[10], jfloat stats[9]) { in Raw2YUVStats()
442 int64_t num = rawStats[0]; // #Y,U,V in Raw2YUVStats()
444 sum_x[i] = rawStats[i + 1]; in Raw2YUVStats()
445 sum_xx[i] = rawStats[i + 4]; in Raw2YUVStats()
446 sum_xy[i] = rawStats[i + 7]; in Raw2YUVStats()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java633 long[][] rawStats = new long[NUM_SIDES][10]; in validateSwirl() local
656 rawStats[layer][i] += oneStat[i]; in validateSwirl()
658 rawStats[lastLayer][i] -= oneStat[i]; in validateSwirl()
662 Log.v(TAG, "layer-" + lastLayer + ": " + Arrays.toString(rawStats[lastLayer])); in validateSwirl()
663 Log.v(TAG, Arrays.toString(CodecUtils.Raw2YUVStats(rawStats[lastLayer]))); in validateSwirl()
677 float[] stats = CodecUtils.Raw2YUVStats(rawStats[layer]); in validateSwirl()
679 if (VERBOSE) Log.v(TAG, Arrays.toString(rawStats[layer])); in validateSwirl()
DCodecUtils.java148 public native static float[] Raw2YUVStats(long[] rawStats); in Raw2YUVStats() argument