Searched defs:imageBuffer (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dbrightness.cpp29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) {
31 if (imageBuffer == 0) {
36 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
28 Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
H A Dcontrast.cpp29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) {
31 if (imageBuffer == 0) {
36 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
28 Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
H A Dexposure.cpp30 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) {
31 if (imageBuffer == 0) {
35 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
52 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) {
53 if (imageBuffer == 0) {
57 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
29 Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
51 Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
H A Dframetovalues.cpp29 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject grayBuffer )
31 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
38 int numPixels = env->GetDirectBufferCapacity(imageBuffer) / 4;
55 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject rgbBuffer )
57 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
64 int numPixels = env->GetDirectBufferCapacity(imageBuffer) / 4;
28 Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues( JNIEnv* env, jclass clazz, jobject imageBuffer, jobject grayBuffer ) argument
54 Java_androidx_media_filterpacks_image_ToRgbValuesFilter_toRgbValues( JNIEnv* env, jclass clazz, jobject imageBuffer, jobject rgbBuffer ) argument
H A Dsobeloperator.cpp66 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer,
69 if (imageBuffer == 0) {
72 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
65 Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer, jobject magBuffer, jobject dirBuffer) argument
H A Dstats_scorer.cpp25 JNIEnv* env, jobject thiz, jobject imageBuffer, jfloatArray statsArray)
27 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
28 int numPixels = env->GetDirectBufferCapacity(imageBuffer); // 1 byte per pixel
44 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height,
47 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
24 Java_androidx_media_filterpacks_numeric_StatsFilter_score( JNIEnv* env, jobject thiz, jobject imageBuffer, jfloatArray statsArray) argument
43 Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore( JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) argument
H A Dhistogram.cpp39 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject maskBuffer, jobject histogramBuffer )
41 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
43 int numPixels = env->GetDirectBufferCapacity(imageBuffer) / 4; // 4 bytes per pixel
71 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject histogramBuffer, jint hBins, jint sBins)
73 unsigned char* pixelIn = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
75 int numPixels = env->GetDirectBufferCapacity(imageBuffer) / 4; // 4 bytes per pixel
94 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject histogramBuffer,
97 unsigned char* pixelIn = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
99 int numPixels = env->GetDirectBufferCapacity(imageBuffer) / 4; // 4 bytes per pixel
38 Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram( JNIEnv* env, jclass clazz, jobject imageBuffer, jobject maskBuffer, jobject histogramBuffer ) argument
70 Java_androidx_media_filterpacks_histogram_ChromaHistogramFilter_extractChromaHistogram( JNIEnv* env, jclass clazz, jobject imageBuffer, jobject histogramBuffer, jint hBins, jint sBins) argument
93 Java_androidx_media_filterpacks_histogram_NewChromaHistogramFilter_extractChromaHistogram( JNIEnv* env, jclass clazz, jobject imageBuffer, jobject histogramBuffer, jint hueBins, jint saturationBins, jint valueBins, jint saturationThreshold, jint valueThreshold) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DToGrayValuesFilter.java119 private static native boolean toGrayValues(ByteBuffer imageBuffer, ByteBuffer grayBuffer); argument
H A DNewChromaHistogramFilter.java95 ByteBuffer imageBuffer = imageFrame.lockBytes(Frame.MODE_READ);
101 extractChromaHistogram(imageBuffer, floatHistogram, mHueBins, mSaturationBins, mValueBins,
110 private static native void extractChromaHistogram(ByteBuffer imageBuffer, argument
H A DSobelFilter.java169 ByteBuffer imageBuffer, ByteBuffer magBuffer, ByteBuffer dirBudder);
168 sobelOperator(int width, int height, ByteBuffer imageBuffer, ByteBuffer magBuffer, ByteBuffer dirBudder) argument
H A DStatsFilter.java114 private native void regionscore(ByteBuffer imageBuffer, int width, int height, float left, argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DAvgBrightnessFilter.java69 private static native float brightnessOperator(int width, int height, ByteBuffer imageBuffer); argument
H A DContrastRatioFilter.java73 private static native float contrastOperator(int width, int height, ByteBuffer imageBuffer); argument
H A DExposureFilter.java104 ByteBuffer imageBuffer);
106 ByteBuffer imageBuffer);
103 overExposureOperator(int width, int height, ByteBuffer imageBuffer) argument
105 underExposureOperator(int width, int height, ByteBuffer imageBuffer) argument

Completed in 143 milliseconds