Home
last modified time | relevance | path

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

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dhistogram.cpp39 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject maskBuffer, jobject histogramBuffer ) in Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram() argument
42 int* pHist = static_cast<int*>(env->GetDirectBufferAddress(histogramBuffer)); in Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram()
44 int numBins = env->GetDirectBufferCapacity(histogramBuffer); in Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram()
71 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject histogramBuffer, jint hBins, jint sBins) in Java_androidx_media_filterpacks_histogram_ChromaHistogramFilter_extractChromaHistogram() argument
74 float* histOut = static_cast<float*>(env->GetDirectBufferAddress(histogramBuffer)); in Java_androidx_media_filterpacks_histogram_ChromaHistogramFilter_extractChromaHistogram()
94 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject histogramBuffer, in Java_androidx_media_filterpacks_histogram_NewChromaHistogramFilter_extractChromaHistogram() argument
98 float* histOut = static_cast<float*>(env->GetDirectBufferAddress(histogramBuffer)); in Java_androidx_media_filterpacks_histogram_NewChromaHistogramFilter_extractChromaHistogram()
Dhistogram.h30 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject maskBuffer, jobject histogramBuffer );
34 … JNIEnv* env, jclass clazz, jobject imageBuffer, jobject histogramBuffer, jint hBins, jint sBins);
38 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject histogramBuffer,
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DNewChromaHistogramFilter.java96 ByteBuffer histogramBuffer = histogramFrame.lockBytes(Frame.MODE_READ); in onProcess() local
97 histogramBuffer.order(ByteOrder.nativeOrder()); in onProcess()
98 FloatBuffer floatHistogram = histogramBuffer.asFloatBuffer(); in onProcess()
111 FloatBuffer histogramBuffer, int hueBins, int saturationBins, int valueBins, in extractChromaHistogram() argument
DColorfulnessFilter.java60 FloatBuffer histogramBuffer = byteBuffer.asFloatBuffer(); in onProcess() local
61 histogramBuffer.rewind(); in onProcess()
71 float value = histogramBuffer.get() * weight; in onProcess()