Home
last modified time | relevance | path

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

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dcontrast.cpp37 float* lumArray = new float[numPixels]; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator() local
39 lumArray[i] = (0.2126f * *(srcPtr + 4 * i) + 0.7152f * in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()
41 total += lumArray[i]; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()
47 sum += (lumArray[i] - avg) * (lumArray[i] - avg); in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()
49 delete[] lumArray; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()