Home
last modified time | relevance | path

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

/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/experimental/wasm-skp-debugger/
Dcpu.js39 var pixelPtr = DebuggerView._malloc(pixelLen);
41 var surface = this._getRasterDirectSurface(imageInfo, pixelPtr, width*4);
48 surface._pixelPtr = pixelPtr;
/external/deqp/framework/common/
DtcuTexture.cpp985 const deUint8* pixelPtr = (const deUint8*)getPixelPtr(x, y, z); in getPixel() local
991 return readRGBA8888Float(pixelPtr); in getPixel()
993 return readRGB888Float(pixelPtr); in getPixel()
996 #define UI8(OFFS, COUNT) ((*((const deUint8*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel()
997 #define UI16(OFFS, COUNT) ((*((const deUint16*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel()
998 #define UI32(OFFS, COUNT) ((*((const deUint32*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel()
1022 case TextureFormat::UNSIGNED_INT_999_E5_REV: return unpackRGB999E5(*((const deUint32*)pixelPtr)); in getPixel()
1057 result[c] = channelToFloat(pixelPtr + channelSize*((int)channelMap[c]), m_format.type); in getPixel()
1084 const deUint8* const pixelPtr = (const deUint8*)getPixelPtr(x, y, z); in getPixelInt() local
1091 return readRGBA8888Int(pixelPtr); in getPixelInt()
[all …]
/external/skia/modules/canvaskit/
Dcpu.js41 var pixelPtr = CanvasKit._malloc(pixelLen);
43 var surface = this._getRasterDirectSurface(imageInfo, pixelPtr, width*4);
50 surface._pixelPtr = pixelPtr;
/external/skqp/experimental/canvaskit/
Dcpu.js41 var pixelPtr = CanvasKit._malloc(pixelLen);
43 var surface = this._getRasterDirectSurface(imageInfo, pixelPtr, width*4);
50 surface._pixelPtr = pixelPtr;
/external/skqp/src/codec/
DSkSampledCodec.cpp293 void* pixelPtr = pixels; in sampledDecode() local
295 if (1 != this->codec()->getScanlines(pixelPtr, 1, rowBytes)) { in sampledDecode()
307 pixelPtr = SkTAddOffset<void>(pixelPtr, rowBytes); in sampledDecode()
318 void* pixelPtr = SkTAddOffset<void>(pixels, in sampledDecode() local
320 if (1 != this->codec()->getScanlines(pixelPtr, 1, rowBytes)) { in sampledDecode()
/external/skia/src/codec/
DSkSampledCodec.cpp293 void* pixelPtr = pixels; in sampledDecode() local
295 if (1 != this->codec()->getScanlines(pixelPtr, 1, rowBytes)) { in sampledDecode()
307 pixelPtr = SkTAddOffset<void>(pixelPtr, rowBytes); in sampledDecode()
318 void* pixelPtr = SkTAddOffset<void>(pixels, in sampledDecode() local
320 if (1 != this->codec()->getScanlines(pixelPtr, 1, rowBytes)) { in sampledDecode()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp772 void convertNormalizedFormat (const void* pixelPtr, in convertNormalizedFormat() argument
843 deUint64 pack = readChannel(pixelPtr, 0, baseTypeBytes); in convertNormalizedFormat()
866 chanUVal = readChannel(pixelPtr, chan * chanSize, chanSize); in convertNormalizedFormat()
886 void convertFloatFormat (const void* pixelPtr, in convertFloatFormat() argument
912 resultMin[compNdx] = resultMax[compNdx] = *((const float*)pixelPtr + chan); in convertFloatFormat()
916 …convertFP16((const deUint16*) pixelPtr + chan, internalFormat, resultMin[compNdx], resultMax[compN… in convertFloatFormat()
927 void convertFormat (const void* pixelPtr, in convertFormat() argument
938 convertNormalizedFormat(pixelPtr, texFormat, internalFormat, resultMin, resultMax); in convertFormat()
942 convertFloatFormat(pixelPtr, texFormat, internalFormat, resultMin, resultMax); in convertFormat()
DvktSampleVerifier.cpp99 const void* pixelPtr = DE_NULL; in fetchTexelWrapped() local
103 pixelPtr = m_levels[level].getPixelPtr(coord[0], layer, 0); in fetchTexelWrapped()
107 pixelPtr = m_levels[level].getPixelPtr(coord[0], coord[1], layer); in fetchTexelWrapped()
111 pixelPtr = m_levels[level].getPixelPtr(coord[0], coord[1], coord[2]); in fetchTexelWrapped()
114 …convertFormat(pixelPtr, mapVkFormat(m_imParams.format), m_conversionPrecision, resultMin, resultMa… in fetchTexelWrapped()
DvktSampleVerifierUtil.hpp102 void convertFormat (const void* pixelPtr,
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp111 float get16bitDepthComponent(deUint8* pixelPtr) in get16bitDepthComponent() argument
113 deUint16* value = reinterpret_cast<deUint16*>(pixelPtr); in get16bitDepthComponent()
117 float get24bitDepthComponent(deUint8* pixelPtr) in get24bitDepthComponent() argument
120 deUint32 value = (((deUint32)pixelPtr[0]) << (!littleEndian * 16u)) | in get24bitDepthComponent()
121 (((deUint32)pixelPtr[1]) << 8u) | in get24bitDepthComponent()
122 (((deUint32)pixelPtr[2]) << ( littleEndian * 16u)); in get24bitDepthComponent()
126 float get32bitDepthComponent(deUint8* pixelPtr) in get32bitDepthComponent() argument
128 return *(reinterpret_cast<float*>(pixelPtr)); in get32bitDepthComponent()
809 deUint8* pixelPtr = static_cast<deUint8*>(m_bufferMemory->getHostPtr()); in verifyDepth() local
840 float depth = (*getDepthComponent)(pixelPtr); in verifyDepth()
[all …]
/external/skqp/docs/
DSkImage_Reference.bmh1707 bool onGetPixels(const SkImageInfo& info, void* pixelPtr, size_t rowBytes,
1709 SkPMColor* pixels = static_cast<SkPMColor*>(pixelPtr);
/external/skia/docs/
DSkImage_Reference.bmh1687 bool onGetPixels(const SkImageInfo& info, void* pixelPtr, size_t rowBytes,
1689 SkPMColor* pixels = static_cast<SkPMColor*>(pixelPtr);