Home
last modified time | relevance | path

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

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dframetovalues.cpp32 unsigned char* grayPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(grayBuffer)); in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues() local
34 if (pixelPtr == 0 || grayPtr == 0) { in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues()
48 *(grayPtr+idx) = static_cast<unsigned char>(gray); in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues()