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.cpp380 void getRawStats(NativeImage *img, jlong rawStats[10]) in getRawStats()
437 rawStats[0] = img->plane[0].cropWidth * (uint64_t)img->plane[0].cropHeight; in getRawStats()
439 rawStats[i + 1] = sum_x[i]; in getRawStats()
440 rawStats[i + 4] = sum_xx[i]; in getRawStats()
441 rawStats[i + 7] = sum_xy[i]; in getRawStats()
445 bool Raw2YUVStats(jlong rawStats[10], jfloat stats[9]) { in Raw2YUVStats()
449 int64_t num = rawStats[0]; // #Y,U,V in Raw2YUVStats()
451 sum_x[i] = rawStats[i + 1]; in Raw2YUVStats()
452 sum_xx[i] = rawStats[i + 4]; in Raw2YUVStats()
453 sum_xy[i] = rawStats[i + 7]; in Raw2YUVStats()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java636 long[][] rawStats = new long[NUM_SIDES][10]; in validateSwirl() local
659 rawStats[layer][i] += oneStat[i]; in validateSwirl()
661 rawStats[lastLayer][i] -= oneStat[i]; in validateSwirl()
665 Log.v(TAG, "layer-" + lastLayer + ": " + Arrays.toString(rawStats[lastLayer])); in validateSwirl()
666 Log.v(TAG, Arrays.toString(CodecUtils.Raw2YUVStats(rawStats[lastLayer]))); in validateSwirl()
680 float[] stats = CodecUtils.Raw2YUVStats(rawStats[layer]); in validateSwirl()
682 if (VERBOSE) Log.v(TAG, Arrays.toString(rawStats[layer])); in validateSwirl()
DCodecUtils.java153 public native static float[] Raw2YUVStats(long[] rawStats); in Raw2YUVStats() argument