Home
last modified time | relevance | path

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

/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp335 uint64_t sum_xx[3] = { 0, 0, 0 }; // YY, UU, VV in getRawStats() local
366 sum_xx[0] += Y * Y; in getRawStats()
367 sum_xx[1] += U * U; in getRawStats()
368 sum_xx[2] += V * V; in getRawStats()
390 rawStats[i + 4] = sum_xx[i]; in getRawStats()
396 int64_t sum_x[3], sum_xx[3]; // Y, U, V in Raw2YUVStats() local
402 sum_xx[i] = rawStats[i + 4]; in Raw2YUVStats()
413 stats[3] = sqrtf((sum_xx[0] + 1) * num - sum_x[0] * sum_x[0]) / num; // y stdev in Raw2YUVStats()
414 stats[4] = sqrtf((sum_xx[1] + 1) * num - sum_x[1] * sum_x[1]) / num; // u stdev in Raw2YUVStats()
415 stats[5] = sqrtf((sum_xx[2] + 1) * num - sum_x[2] * sum_x[2]) / num; // v stdev in Raw2YUVStats()