Home
last modified time | relevance | path

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

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dhistogram.cpp71 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject histogramBuffer, jint hBins, jint sBins) in Java_androidx_media_filterpacks_histogram_ChromaHistogramFilter_extractChromaHistogram() argument
77 for (int i = 0; i < hBins * sBins; ++i) histOut[i] = 0.0f; in Java_androidx_media_filterpacks_histogram_ChromaHistogramFilter_extractChromaHistogram()
80 float hScaler = hBins / 256.0f; in Java_androidx_media_filterpacks_histogram_ChromaHistogramFilter_extractChromaHistogram()
88 int index = static_cast<int>(s * sScaler) * hBins + static_cast<int>(h * hScaler); in Java_androidx_media_filterpacks_histogram_ChromaHistogramFilter_extractChromaHistogram()
Dhistogram.h34 … JNIEnv* env, jclass clazz, jobject imageBuffer, jobject histogramBuffer, jint hBins, jint sBins);