Home
last modified time | relevance | path

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

/CTR-SDK-4.2.7-SampleDemos/demo2/
Dmic.cpp111 u32 sum = 0; in GetLoudness() local
115 if(val < 0) sum -= val; in GetLoudness()
116 else sum += val; in GetLoudness()
119 return static_cast<u8>(sum * 255 / MAX_LOUDNESS); in GetLoudness()
/CTR-SDK-4.2.7-SampleDemos/demo2/shaders/
DVShader.vsh105 // First, the sum of the global ambient and `light0` ambient is stored in `r10`.
106 // The application sets that sum in c10.
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingVertex/shaders/
DVShader.vsh105 // First, the sum of the global ambient and `light0` ambient is stored in `r10`.
106 //The application sets that sum in c10.
/CTR-SDK-4.2.7-SampleDemos/camera/Stereo/
Dmain.cpp1209 s64 sum = 0; in CameraVsyncFunc() local
1217 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()