Searched refs:cyclesPerDegree (Results 1 – 2 of 2) sorted by relevance
160 static float contrast_sensitivity(float cyclesPerDegree, float luminance) { in contrast_sensitivity() argument163 float exp = expf(-b * cyclesPerDegree); in contrast_sensitivity()164 float root = sqrtf(1.0f + 0.06f * expf(b * cyclesPerDegree)); in contrast_sensitivity()168 return a * cyclesPerDegree * exp * root; in contrast_sensitivity()299 float* cyclesPerDegree = SkNEW_ARRAY(float, maxLevels); in pmetric() local307 cyclesPerDegree[0] = 0.5f * pixelsPerDegree; in pmetric()309 cyclesPerDegree[levelIndex] = cyclesPerDegree[levelIndex - 1] * 0.5f; in pmetric()318 contrast_sensitivity(cyclesPerDegree[levelIndex], (float)csLum / 10.0f + 1e-5f); in pmetric()334 float cpd = cyclesPerDegree[levelIndex]; in pmetric()438 SkDELETE_ARRAY(cyclesPerDegree); in pmetric()