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.js30 var pixelPtr = DebuggerView._malloc(bufferLen);
41 var surface = this._getRasterDirectSurface(imageInfo, pixelPtr, width * 4);
48 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/skia/modules/canvaskit/
Dcpu.js41 var pixelPtr = CanvasKit._malloc(pixelLen);
43 var surface = this._getRasterDirectSurface(imageInfo, pixelPtr, width*4);
50 surface._pixelPtr = pixelPtr;
/external/deqp/framework/common/
DtcuTexture.cpp1040 const deUint8* pixelPtr = (const deUint8*)getPixelPtr(x, y, z); in getPixel() local
1046 return readRGBA8888Float(pixelPtr); in getPixel()
1048 return readRGB888Float(pixelPtr); in getPixel()
1051 #define UI8(OFFS, COUNT) ((*((const deUint8*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel()
1052 #define UI16(OFFS, COUNT) ((*((const deUint16*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel()
1053 #define UI32(OFFS, COUNT) ((*((const deUint32*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel()
1079 case TextureFormat::UNSIGNED_INT_999_E5_REV: return unpackRGB999E5(*((const deUint32*)pixelPtr)); in getPixel()
1114 result[c] = channelToFloat(pixelPtr + channelSize*((int)channelMap[c]), m_format.type); in getPixel()
1141 const deUint8* const pixelPtr = (const deUint8*)getPixelPtr(x, y, z); in getPixelInt() local
1148 return readRGBA8888Int(pixelPtr); in getPixelInt()
[all …]
/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/skia/docs/examples/
DImage_isLazyGenerated_a.cpp12 bool onGetPixels(const SkImageInfo& info, void* pixelPtr, size_t rowBytes,
14 SkPMColor* pixels = static_cast<SkPMColor*>(pixelPtr);
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp777 void convertNormalizedFormat (const void* pixelPtr, in convertNormalizedFormat() argument
848 deUint64 pack = readChannel(pixelPtr, 0, baseTypeBytes); in convertNormalizedFormat()
871 chanUVal = readChannel(pixelPtr, chan * chanSize, chanSize); in convertNormalizedFormat()
912 void convertFloatFormat (const void* pixelPtr, in convertFloatFormat() argument
938 resultMin[compNdx] = resultMax[compNdx] = *((const float*)pixelPtr + chan); in convertFloatFormat()
942 …convertFP16((const deUint16*) pixelPtr + chan, internalFormat[compNdx], resultMin[compNdx], result… in convertFloatFormat()
953 void convertFormat (const void* pixelPtr, in convertFormat() argument
964 convertNormalizedFormat(pixelPtr, texFormat, internalFormat, resultMin, resultMax); in convertFormat()
968 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.cpp113 float get16bitDepthComponent(deUint8* pixelPtr) in get16bitDepthComponent() argument
115 deUint16* value = reinterpret_cast<deUint16*>(pixelPtr); in get16bitDepthComponent()
119 float get24bitDepthComponent(deUint8* pixelPtr) in get24bitDepthComponent() argument
122 deUint32 value = (((deUint32)pixelPtr[0]) << (!littleEndian * 16u)) | in get24bitDepthComponent()
123 (((deUint32)pixelPtr[1]) << 8u) | in get24bitDepthComponent()
124 (((deUint32)pixelPtr[2]) << ( littleEndian * 16u)); in get24bitDepthComponent()
128 float get32bitDepthComponent(deUint8* pixelPtr) in get32bitDepthComponent() argument
130 return *(reinterpret_cast<float*>(pixelPtr)); in get32bitDepthComponent()
914 deUint8* pixelPtr = static_cast<deUint8*>(m_bufferMemory->getHostPtr()); in verifyDepth() local
948 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);