Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/jni/verifier/
Dcom_android_cts_verifier_camera_StatsImage.cpp47 const int ngx = aaw / gw; in com_android_cts_verifier_camera_its_computeStatsImage() local
50 float *mean = new float[ngy*ngx*4]; in com_android_cts_verifier_camera_its_computeStatsImage()
51 float *var = new float[ngy*ngx*4]; in com_android_cts_verifier_camera_its_computeStatsImage()
54 for (int gx = 0; gx < ngx; gx++) { in com_android_cts_verifier_camera_its_computeStatsImage()
76 mean[gy*ngx*4 + gx*4 + ch] = m; in com_android_cts_verifier_camera_its_computeStatsImage()
77 var[gy*ngx*4 + gx*4 + ch] = mSq - m*m; in com_android_cts_verifier_camera_its_computeStatsImage()
82 jfloatArray ret = env->NewFloatArray(ngx*ngy*4*2); in com_android_cts_verifier_camera_its_computeStatsImage()
83 env->SetFloatArrayRegion(ret, 0, ngx*ngy*4, (float*)mean); in com_android_cts_verifier_camera_its_computeStatsImage()
84 env->SetFloatArrayRegion(ret, ngx*ngy*4, ngx*ngy*4, (float*)var); in com_android_cts_verifier_camera_its_computeStatsImage()