Home
last modified time | relevance | path

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

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dsobeloperator.cpp42 void computeGradient(unsigned char* dataPtr, int width, int height, short* gxPtr, short* gyPtr) { in computeGradient() argument
52 *(gxPtr + offset + c) = in computeGradient()
80 short* gxPtr = new short[3 * numPixels]; in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator() local
82 computeGradient(srcPtr, width, height, gxPtr, gyPtr); in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator()
86 int gx = static_cast<int>(*(gxPtr + 3 * i + c) / 8 + 127.5); in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator()
110 delete[] gxPtr; in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator()