Home
last modified time | relevance | path

Searched refs:grayBuffer (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DToGrayValuesFilter.java87 ByteBuffer grayBuffer; in onProcess() local
94 grayBuffer = outputFrame.lockBytes(Frame.MODE_WRITE); in onProcess()
102 grayTarget.readPixelData(grayBuffer, targetDims[0], targetDims[1]); in onProcess()
107 grayBuffer = outputFrame.lockBytes(Frame.MODE_WRITE); in onProcess()
109 if (!toGrayValues(inputBuffer, grayBuffer)) { in onProcess()
119 private static native boolean toGrayValues(ByteBuffer imageBuffer, ByteBuffer grayBuffer); in toGrayValues() argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dframetovalues.cpp29 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject grayBuffer ) in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues() argument
32 unsigned char* grayPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(grayBuffer)); in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues()
Dframetovalues.h31 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject grayBuffer );