Searched refs:sum (Results 1 – 4 of 4) sorted by relevance
111 u32 sum = 0; in GetLoudness() local115 if(val < 0) sum -= val; in GetLoudness()116 else sum += val; in GetLoudness()119 return static_cast<u8>(sum * 255 / MAX_LOUDNESS); in GetLoudness()
105 // First, the sum of the global ambient and `light0` ambient is stored in `r10`. 106 // The application sets that sum in c10.
105 // First, the sum of the global ambient and `light0` ambient is stored in `r10`.106 //The application sets that sum in c10.
1209 s64 sum = 0; in CameraVsyncFunc() local1217 sum += saa_VsyncInterval[index][i]; in CameraVsyncFunc()1219 if (sum != 0) in CameraVsyncFunc()1221 s_aFps[index] = static_cast<s64>(i) * 1000000000LL / sum; in CameraVsyncFunc()