/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 41 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram() 43 int numPixels = env->GetDirectBufferCapacity(imageBuffer) / 4; // 4 bytes per pixel 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 73 unsigned char* pixelIn = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_histogram_ChromaHistogramFilter_extractChromaHistogram() 75 int numPixels = env->GetDirectBufferCapacity(imageBuffer) / 4; // 4 bytes per pixel 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 97 unsigned char* pixelIn = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_histogram_NewChromaHistogramFilter_extractChromaHistogram() 99 int numPixels = env->GetDirectBufferCapacity(imageBuffer) / 4; // 4 bytes per pixel in Java_androidx_media_filterpacks_histogram_NewChromaHistogramFilter_extractChromaHistogram()
|
D | exposure.cpp | 30 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) { in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator() argument 31 if (imageBuffer == 0) { in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator() 35 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator() 52 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) { in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator() argument 53 if (imageBuffer == 0) { in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator() 57 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator()
|
D | frametovalues.cpp | 29 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject grayBuffer ) in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues() argument 31 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues() 38 int numPixels = env->GetDirectBufferCapacity(imageBuffer) / 4; in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues() 55 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject rgbBuffer ) in Java_androidx_media_filterpacks_image_ToRgbValuesFilter_toRgbValues() argument 57 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_image_ToRgbValuesFilter_toRgbValues() 64 int numPixels = env->GetDirectBufferCapacity(imageBuffer) / 4; in Java_androidx_media_filterpacks_image_ToRgbValuesFilter_toRgbValues()
|
D | stats_scorer.cpp | 25 JNIEnv* env, jobject thiz, jobject imageBuffer, jfloatArray statsArray) in Java_androidx_media_filterpacks_numeric_StatsFilter_score() argument 27 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_numeric_StatsFilter_score() 28 int numPixels = env->GetDirectBufferCapacity(imageBuffer); // 1 byte per pixel in Java_androidx_media_filterpacks_numeric_StatsFilter_score() 44 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, in Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore() argument 47 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore()
|
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,
|
D | brightness.cpp | 29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) { in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator() argument 31 if (imageBuffer == 0) { in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator() 36 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator()
|
D | contrast.cpp | 29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) { in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator() argument 31 if (imageBuffer == 0) { in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator() 36 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()
|
D | frametovalues.h | 31 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject grayBuffer ); 35 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject rgbBuffer );
|
D | exposure.h | 29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer); 33 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
|
D | stats_scorer.h | 32 JNIEnv* env, jobject thiz, jobject imageBuffer, jfloatArray statsArray); 36 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height,
|
D | sobeloperator.cpp | 66 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer, in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator() argument 69 if (imageBuffer == 0) { in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator() 72 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator()
|
D | brightness.h | 29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
|
D | contrast.h | 29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
|
D | sobeloperator.h | 31 jobject imageBuffer, jobject magBuffer, jobject dirBuffer);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | NewChromaHistogramFilter.java | 95 ByteBuffer imageBuffer = imageFrame.lockBytes(Frame.MODE_READ); in onProcess() local 101 extractChromaHistogram(imageBuffer, floatHistogram, mHueBins, mSaturationBins, mValueBins, in onProcess() 110 private static native void extractChromaHistogram(ByteBuffer imageBuffer, in extractChromaHistogram() argument
|
D | ToGrayValuesFilter.java | 119 private static native boolean toGrayValues(ByteBuffer imageBuffer, ByteBuffer grayBuffer); in toGrayValues() argument
|
D | StatsFilter.java | 114 private native void regionscore(ByteBuffer imageBuffer, int width, int height, float left, in regionscore() argument
|
D | SobelFilter.java | 169 ByteBuffer imageBuffer, ByteBuffer magBuffer, ByteBuffer dirBudder); in sobelOperator() argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | ExposureFilter.java | 104 ByteBuffer imageBuffer); in overExposureOperator() argument 106 ByteBuffer imageBuffer); in underExposureOperator() argument
|
D | ContrastRatioFilter.java | 73 private static native float contrastOperator(int width, int height, ByteBuffer imageBuffer); in contrastOperator() argument
|
D | AvgBrightnessFilter.java | 69 private static native float brightnessOperator(int width, int height, ByteBuffer imageBuffer); in brightnessOperator() argument
|