Searched refs:histogramBuffer (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | histogram.cpp | 39 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()
|
D | histogram.h | 30 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/ |
D | NewChromaHistogramFilter.java | 96 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
|
D | ColorfulnessFilter.java | 60 FloatBuffer histogramBuffer = byteBuffer.asFloatBuffer(); in onProcess() local 61 histogramBuffer.rewind(); in onProcess() 71 float value = histogramBuffer.get() * weight; in onProcess()
|