Searched refs:pixelPtr (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dframetovalues.cpp31 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); local
34 if (pixelPtr == 0 || grayPtr == 0) {
41 // If performance becomes an issue, it is better to increment pixelPtr directly.
44 int R = *(pixelPtr + disp);
45 int G = *(pixelPtr + disp + 1);
46 int B = *(pixelPtr + disp + 2);
57 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); local
60 if (pixelPtr == 0 || rgbPtr == 0) {
71 *(rgbPtr + rgbDisp + c) = *(pixelPtr + pixelDisp + c);

Completed in 31 milliseconds