HomeSort by relevance Sort by last modified time
    Searched defs:pixelPtr (Results 1 - 4 of 4) sorted by null

  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
frametovalues.cpp 31 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
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));
60 if (pixelPtr == 0 || rgbPtr == 0) {
71 *(rgbPtr + rgbDisp + c) = *(pixelPtr + pixelDisp + c);
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_linetemp.h 38 * rasterization (see pixelPtr):
89 PIXEL_TYPE *pixelPtr;
172 pixelPtr = (PIXEL_TYPE *) PIXEL_ADDRESS(x0,y0);
324 pixelPtr = (PIXEL_TYPE*) ((GLubyte*) pixelPtr + pixelXstep);
336 pixelPtr = (PIXEL_TYPE*) ((GLubyte*) pixelPtr + pixelYstep);
364 pixelPtr = (PIXEL_TYPE*) ((GLubyte*) pixelPtr + pixelYstep);
376 pixelPtr = (PIXEL_TYPE*) ((GLubyte*) pixelPtr + pixelXstep)
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_linetemp.h 38 * rasterization (see pixelPtr):
89 PIXEL_TYPE *pixelPtr;
172 pixelPtr = (PIXEL_TYPE *) PIXEL_ADDRESS(x0,y0);
324 pixelPtr = (PIXEL_TYPE*) ((GLubyte*) pixelPtr + pixelXstep);
336 pixelPtr = (PIXEL_TYPE*) ((GLubyte*) pixelPtr + pixelYstep);
364 pixelPtr = (PIXEL_TYPE*) ((GLubyte*) pixelPtr + pixelYstep);
376 pixelPtr = (PIXEL_TYPE*) ((GLubyte*) pixelPtr + pixelXstep)
    [all...]
  /external/deqp/framework/common/
tcuTexture.cpp 603 const deUint8* pixelPtr = (const deUint8*)getDataPtr() + z*m_slicePitch + y*m_rowPitch + x*pixelSize;
605 #define UB16(OFFS, COUNT) ((*((const deUint16*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1))
606 #define UB32(OFFS, COUNT) ((*((const deUint32*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1))
620 case TextureFormat::UNSIGNED_INT_999_E5_REV: return unpackRGB999E5(*((const deUint32*)pixelPtr));
635 float d = *((const float*)pixelPtr);
637 // deUint8 s = *((const deUint32*)(pixelPtr+4)) & 0xff;
666 result[c] = channelToFloat(pixelPtr + channelSize*((int)map), m_format.type);
679 const deUint8* pixelPtr = (const deUint8*)getDataPtr() + z*m_slicePitch + y*m_rowPitch + x*pixelSize;
685 if (m_format.order == TextureFormat::RGBA) return readRGBA8888Int(pixelPtr);
686 else if (m_format.order == TextureFormat::RGB) return readRGB888Int(pixelPtr);
    [all...]

Completed in 1787 milliseconds