Home
last modified time | relevance | path

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

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DGdx2DPixmap.java80 ByteBuffer pixelPtr; field in Gdx2DPixmap
89 pixelPtr = load(nativeData, encodedData, offset, len); in Gdx2DPixmap()
90 if (pixelPtr == null) throw new IOException("Error loading pixmap: " + getFailureReason()); in Gdx2DPixmap()
112 pixelPtr = load(nativeData, buffer, 0, buffer.length); in Gdx2DPixmap()
113 if (pixelPtr == null) throw new IOException("Error loading pixmap: " + getFailureReason()); in Gdx2DPixmap()
127 pixelPtr = newPixmap(nativeData, width, height, format); in Gdx2DPixmap()
128 if (pixelPtr == null) throw new GdxRuntimeException("Error loading pixmap."); in Gdx2DPixmap()
136 public Gdx2DPixmap (ByteBuffer pixelPtr, long[] nativeData) { in Gdx2DPixmap() argument
137 this.pixelPtr = pixelPtr; in Gdx2DPixmap()
152 this.pixelPtr = pixmap.pixelPtr; in convert()
[all …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_line.c154 #define PLOT(X,Y) *pixelPtr = pixel;
171 #define PLOT(X,Y) *pixelPtr = pixel;
188 #define PLOT(X,Y) *pixelPtr = pixel;
205 pixelPtr->r = color[RCOMP]; \
206 pixelPtr->g = color[GCOMP]; \
207 pixelPtr->b = color[BCOMP]; \
225 #define PLOT(X,Y) *pixelPtr = pixel;
242 #define PLOT(X,Y) PACK_TRUEDITHER( *pixelPtr, X, Y, color[0], color[1], color[2] );
286 *pixelPtr = pixel; \
309 *pixelPtr = pixel; \
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_linetemp.h89 PIXEL_TYPE *pixelPtr; in NAME() local
172 pixelPtr = (PIXEL_TYPE *) PIXEL_ADDRESS(x0,y0); in NAME()
324 pixelPtr = (PIXEL_TYPE*) ((GLubyte*) pixelPtr + pixelXstep); in NAME()
336 pixelPtr = (PIXEL_TYPE*) ((GLubyte*) pixelPtr + pixelYstep); in NAME()
364 pixelPtr = (PIXEL_TYPE*) ((GLubyte*) pixelPtr + pixelYstep); in NAME()
376 pixelPtr = (PIXEL_TYPE*) ((GLubyte*) pixelPtr + pixelXstep); in NAME()
/external/skia/src/codec/
DSkSampledCodec.cpp212 void* pixelPtr = pixels; in sampledDecode() local
214 if (1 != this->codec()->getScanlines(pixelPtr, 1, rowBytes)) { in sampledDecode()
226 pixelPtr = SkTAddOffset<void>(pixelPtr, rowBytes); in sampledDecode()
238 void* pixelPtr = SkTAddOffset<void>(pixels, in sampledDecode() local
240 if (1 != this->codec()->getScanlines(pixelPtr, 1, rowBytes)) { in sampledDecode()
/external/deqp/framework/common/
DtcuTexture.cpp929 const deUint8* pixelPtr = (const deUint8*)getPixelPtr(x, y, z); in getPixel() local
935 return readRGBA8888Float(pixelPtr); in getPixel()
937 return readRGB888Float(pixelPtr); in getPixel()
940 #define UI8(OFFS, COUNT) ((*((const deUint8*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel()
941 #define UI16(OFFS, COUNT) ((*((const deUint16*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel()
942 #define UI32(OFFS, COUNT) ((*((const deUint32*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel()
966 case TextureFormat::UNSIGNED_INT_999_E5_REV: return unpackRGB999E5(*((const deUint32*)pixelPtr)); in getPixel()
1001 result[c] = channelToFloat(pixelPtr + channelSize*((int)channelMap[c]), m_format.type); in getPixel()
1028 const deUint8* const pixelPtr = (const deUint8*)getPixelPtr(x, y, z); in getPixelInt() local
1035 return readRGBA8888Int(pixelPtr); in getPixelInt()
[all …]
/external/libvncserver/libvncclient/
Dtight.c529 CARDBPP *pixelPtr; in DecompressJpegRectBPP() local
575 pixelPtr = (CARDBPP *)&client->buffer[RFB_BUFFER_SIZE / 2]; in DecompressJpegRectBPP()
577 *pixelPtr++ = in DecompressJpegRectBPP()