Home
last modified time | relevance | path

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

/cts/tests/tests/media/common/jni/
Dcodec-utils-jni.cpp392 void getRawStats(std::unique_ptr<NativeImage> &img, jlong rawStats[10]) in getRawStats()
458 rawStats[0] = img->plane[0].cropWidth * (uint64_t)img->plane[0].cropHeight; in getRawStats()
460 rawStats[i + 1] = sum_x[i]; in getRawStats()
461 rawStats[i + 4] = sum_xx[i]; in getRawStats()
462 rawStats[i + 7] = sum_xy[i]; in getRawStats()
466 bool Raw2YUVStats(jlong rawStats[10], jfloat stats[9]) { in Raw2YUVStats()
470 int64_t num = rawStats[0]; // #Y,U,V in Raw2YUVStats()
472 sum_x[i] = rawStats[i + 1]; in Raw2YUVStats()
473 sum_xx[i] = rawStats[i + 4]; in Raw2YUVStats()
474 sum_xy[i] = rawStats[i + 7]; in Raw2YUVStats()
[all …]
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DImageReaderDecoderTest.java597 long[][] rawStats = new long[NUM_SIDES][10]; in validateSwirl() local
621 rawStats[layer][i] += oneStat[i]; in validateSwirl()
623 rawStats[lastLayer][i] -= oneStat[i]; in validateSwirl()
627 Log.v(TAG, "layer-" + lastLayer + ": " + Arrays.toString(rawStats[lastLayer])); in validateSwirl()
628 Log.v(TAG, Arrays.toString(CodecUtils.Raw2YUVStats(rawStats[lastLayer]))); in validateSwirl()
642 float[] stats = CodecUtils.Raw2YUVStats(rawStats[layer]); in validateSwirl()
644 if (VERBOSE) Log.v(TAG, Arrays.toString(rawStats[layer])); in validateSwirl()
/cts/tests/tests/media/common/src/android/media/cts/
DCodecUtils.java148 public native static float[] Raw2YUVStats(long[] rawStats); in Raw2YUVStats() argument