Home
last modified time | relevance | path

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

/cts/tests/tests/media/common/jni/
Dcodec-utils-jni.cpp396 uint64_t sum_x[3] = { 0, 0, 0 }; // Y, U, V in getRawStats() local
434 sum_x[0] += Y; in getRawStats()
435 sum_x[1] += U; in getRawStats()
436 sum_x[2] += V; in getRawStats()
460 rawStats[i + 1] = sum_x[i]; in getRawStats()
467 int64_t sum_x[3], sum_xx[3]; // Y, U, V in Raw2YUVStats() local
472 sum_x[i] = rawStats[i + 1]; in Raw2YUVStats()
478 stats[0] = sum_x[0] / (float)num; // y average in Raw2YUVStats()
479 stats[1] = sum_x[1] / (float)num; // u average in Raw2YUVStats()
480 stats[2] = sum_x[2] / (float)num; // v average in Raw2YUVStats()
[all …]