Searched refs:rawStats (Results 1 – 3 of 3) sorted by relevance
330 void getRawStats(NativeImage *img, jlong rawStats[10]) in getRawStats()387 rawStats[0] = img->plane[0].cropWidth * (uint64_t)img->plane[0].cropHeight; in getRawStats()389 rawStats[i + 1] = sum_x[i]; in getRawStats()390 rawStats[i + 4] = sum_xx[i]; in getRawStats()391 rawStats[i + 7] = sum_xy[i]; in getRawStats()395 bool Raw2YUVStats(jlong rawStats[10], jfloat stats[9]) { in Raw2YUVStats()399 int64_t num = rawStats[0]; // #Y,U,V in Raw2YUVStats()401 sum_x[i] = rawStats[i + 1]; in Raw2YUVStats()402 sum_xx[i] = rawStats[i + 4]; in Raw2YUVStats()403 sum_xy[i] = rawStats[i + 7]; in Raw2YUVStats()[all …]
633 long[][] rawStats = new long[NUM_SIDES][10]; in validateSwirl() local656 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()
140 public native static float[] Raw2YUVStats(long[] rawStats); in Raw2YUVStats() argument