/third_party/skia/experimental/wasm-skp-debugger/ |
H A D | cpu.js | 30 var pixelPtr = DebuggerView._malloc(bufferLen); 41 var surface = this._getRasterDirectSurface(imageInfo, pixelPtr, width * 4); 48 surface._pixelPtr = pixelPtr;
|
/third_party/skia/src/codec/ |
H A D | SkSampledCodec.cpp | 290 void* pixelPtr = pixels; in sampledDecode() local 292 if (1 != this->codec()->getScanlines(pixelPtr, 1, rowBytes)) { in sampledDecode() 304 pixelPtr = SkTAddOffset<void>(pixelPtr, rowBytes); in sampledDecode() 315 void* pixelPtr = SkTAddOffset<void>(pixels, in sampledDecode() local 317 if (1 != this->codec()->getScanlines(pixelPtr, 1, rowBytes)) { in sampledDecode()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktSampleVerifierUtil.cpp | 777 void convertNormalizedFormat (const void* pixelPtr, 848 deUint64 pack = readChannel(pixelPtr, 0, baseTypeBytes); 871 chanUVal = readChannel(pixelPtr, chan * chanSize, chanSize); 912 void convertFloatFormat (const void* pixelPtr, 938 resultMin[compNdx] = resultMax[compNdx] = *((const float*)pixelPtr + chan); 942 convertFP16((const deUint16*) pixelPtr + chan, internalFormat[compNdx], resultMin[compNdx], resultMax[compNdx]); 953 void convertFormat (const void* pixelPtr, 964 convertNormalizedFormat(pixelPtr, texFormat, internalFormat, resultMin, resultMax); 968 convertFloatFormat(pixelPtr, texFormat, internalFormat, resultMin, resultMax);
|
H A D | vktSampleVerifier.cpp | 99 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, resultMax); in fetchTexelWrapped()
|
H A D | vktSampleVerifierUtil.hpp | 102 void convertFormat (const void* pixelPtr,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktSampleVerifierUtil.cpp | 777 void convertNormalizedFormat (const void* pixelPtr, 848 deUint64 pack = readChannel(pixelPtr, 0, baseTypeBytes); 871 chanUVal = readChannel(pixelPtr, chan * chanSize, chanSize); 912 void convertFloatFormat (const void* pixelPtr, 938 resultMin[compNdx] = resultMax[compNdx] = *((const float*)pixelPtr + chan); 942 convertFP16((const deUint16*) pixelPtr + chan, internalFormat[compNdx], resultMin[compNdx], resultMax[compNdx]); 953 void convertFormat (const void* pixelPtr, 964 convertNormalizedFormat(pixelPtr, texFormat, internalFormat, resultMin, resultMax); 968 convertFloatFormat(pixelPtr, texFormat, internalFormat, resultMin, resultMax);
|
H A D | vktSampleVerifier.cpp | 99 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, resultMax); in fetchTexelWrapped()
|
H A D | vktSampleVerifierUtil.hpp | 102 void convertFormat (const void* pixelPtr,
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTexture.cpp | 1118 const deUint8* pixelPtr = (const deUint8*)getPixelPtr(x, y, z); in getPixel() local 1124 return readRGBA8888Float(pixelPtr); in getPixel() 1126 return readRGB888Float(pixelPtr); in getPixel() 1129 #define UI8(OFFS, COUNT) ((*((const deUint8*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel() 1130 #define UI16(OFFS, COUNT) ((*((const deUint16*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel() 1131 #define UI32(OFFS, COUNT) ((*((const deUint32*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel() 1158 case TextureFormat::UNSIGNED_INT_999_E5_REV: return unpackRGB999E5(*((const deUint32*)pixelPtr)); in getPixel() 1189 result[c] = channelToFloat(pixelPtr + channelSize*((int)channelMap[c]), m_format.type); in getPixel() 1209 static tcu::Vector<T, 4> getPixelIntGeneric (const deUint8* pixelPtr, const tcu::TextureFormat& format) in getPixelIntGeneric() argument 1225 result[c] = channelToIntType<T>(pixelPtr in getPixelIntGeneric() 1244 getPixelAsBitsUint64(const deUint8* pixelPtr, const tcu::TextureFormat& format) getPixelAsBitsUint64() argument 1287 const deUint8* const pixelPtr = (const deUint8*)getPixelPtr(x, y, z); getPixelInt() local 1372 auto pixelPtr = reinterpret_cast<const deUint8*>(getPixelPtr(x, y, z)); getPixelInt64() local 1384 const deUint8* const pixelPtr = (const deUint8*)getPixelPtr(x, y, z); getPixelBitsAsUint64() local 1467 const deUint8* const pixelPtr = (const deUint8*)getPixelPtr(x, y, z); getPixDepth() local 1499 const deUint8* const pixelPtr = (const deUint8*)getPixelPtr(x, y, z); getPixStencil() local 1532 deUint8* const pixelPtr = (deUint8*)getPixelPtr(x, y, z); setPixel() local 1684 deUint8* const pixelPtr = (deUint8*)getPixelPtr(x, y, z); setPixel() local 1792 deUint8* const pixelPtr = (deUint8*)getPixelPtr(x, y, z); setPixDepth() local 1829 deUint8* const pixelPtr = (deUint8*)getPixelPtr(x, y, z); setPixStencil() local [all...] |
/third_party/skia/docs/examples/ |
H A D | Image_isLazyGenerated_a.cpp | 12 bool onGetPixels(const SkImageInfo& info, void* pixelPtr, size_t rowBytes, in REG_FIDDLE() 14 SkPMColor* pixels = static_cast<SkPMColor*>(pixelPtr); in REG_FIDDLE()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassDepthStencilResolveTests.cpp | 167 float get16bitDepthComponent(deUint8* pixelPtr) in get16bitDepthComponent() argument 169 deUint16* value = reinterpret_cast<deUint16*>(pixelPtr); in get16bitDepthComponent() 173 float get24bitDepthComponent(deUint8* pixelPtr) in get24bitDepthComponent() argument 176 deUint32 value = (((deUint32)pixelPtr[0]) << (!littleEndian * 16u)) | in get24bitDepthComponent() 177 (((deUint32)pixelPtr[1]) << 8u) | in get24bitDepthComponent() 178 (((deUint32)pixelPtr[2]) << ( littleEndian * 16u)); in get24bitDepthComponent() 182 float get32bitDepthComponent(deUint8* pixelPtr) in get32bitDepthComponent() argument 184 return *(reinterpret_cast<float*>(pixelPtr)); in get32bitDepthComponent() 1063 deUint8* pixelPtr = static_cast<deUint8*>(m_bufferMemory->getHostPtr()); in verifyDepth() local 1097 float depth = (*getDepthComponent)(pixelPtr); in verifyDepth() 1150 deUint8* pixelPtr = static_cast<deUint8*>(m_bufferMemory->getHostPtr()); verifyStencil() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassDepthStencilResolveTests.cpp | 167 float get16bitDepthComponent(deUint8* pixelPtr) in get16bitDepthComponent() argument 169 deUint16* value = reinterpret_cast<deUint16*>(pixelPtr); in get16bitDepthComponent() 173 float get24bitDepthComponent(deUint8* pixelPtr) in get24bitDepthComponent() argument 176 deUint32 value = (((deUint32)pixelPtr[0]) << (!littleEndian * 16u)) | in get24bitDepthComponent() 177 (((deUint32)pixelPtr[1]) << 8u) | in get24bitDepthComponent() 178 (((deUint32)pixelPtr[2]) << ( littleEndian * 16u)); in get24bitDepthComponent() 182 float get32bitDepthComponent(deUint8* pixelPtr) in get32bitDepthComponent() argument 184 return *(reinterpret_cast<float*>(pixelPtr)); in get32bitDepthComponent() 1063 deUint8* pixelPtr = static_cast<deUint8*>(m_bufferMemory->getHostPtr()); in verifyDepth() local 1097 float depth = (*getDepthComponent)(pixelPtr); in verifyDepth() 1150 deUint8* pixelPtr = static_cast<deUint8*>(m_bufferMemory->getHostPtr()); verifyStencil() local [all...] |
/third_party/skia/third_party/externals/d3d12allocator/src/ |
H A D | D3D12Sample.cpp | 1043 char* pixelPtr = rowPtr;
in InitD3D() local 1046 *(UINT8*)(pixelPtr ) = (UINT8)x; // R
in InitD3D() 1047 *(UINT8*)(pixelPtr + 1) = (UINT8)y; // G
in InitD3D() 1048 *(UINT8*)(pixelPtr + 2) = 0x00; // B
in InitD3D() 1049 *(UINT8*)(pixelPtr + 3) = 0xFF; // A
in InitD3D() 1051 *(UINT8*)(pixelPtr ) = x > 128 ? 0xFF : 00;
in InitD3D() 1052 *(UINT8*)(pixelPtr + 1) = y > 128 ? 0xFF : 00;
in InitD3D() 1053 pixelPtr += bytesPerPixel;
in InitD3D()
|