Searched refs:sRGBtoLinear (Results 1 - 17 of 17) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Math.cpp | 43 sRGBtoLinearTable[i] = static_cast<unsigned char>(sw::sRGBtoLinear(static_cast<float>(i) / 255.0f) * 255.0f + 0.5f); in sRGB8toLinear8()
|
H A D | Math.hpp | 358 inline float sRGBtoLinear(float c) in sRGBtoLinear() function
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | Math.cpp | 43 sRGBtoLinearTable[i] = static_cast<unsigned char>(sw::sRGBtoLinear(static_cast<float>(i) / 255.0f) * 255.0f + 0.5f); in sRGB8toLinear8()
|
H A D | Math.hpp | 326 inline float sRGBtoLinear(float c) in sRGBtoLinear() function
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | Constants.cpp | 267 sRGBtoLinear8_16[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0xFF) * 0xFFFF + 0.5f); in Constants() 272 sRGBtoLinear6_16[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0x3F) * 0xFFFF + 0.5f); in Constants() 277 sRGBtoLinear5_16[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0x1F) * 0xFFFF + 0.5f); in Constants() 283 sRGBtoLinear12_16[i] = (unsigned short)(clamp(sw::sRGBtoLinear((float)i / 0x0FFF) * 0xFFFF + 0.5f, 0.0f, (float)0xFFFF)); in Constants()
|
H A D | PixelRoutine.hpp | 87 Float4 sRGBtoLinear(const Float4 &x);
|
H A D | PixelRoutine.cpp | 2113 sRGBtoLinear(pixel.x); in alphaBlend() 2114 sRGBtoLinear(pixel.y); in alphaBlend() 2115 sRGBtoLinear(pixel.z); in alphaBlend() 2719 Float4 PixelRoutine::sRGBtoLinear(const Float4 &x) // Approximates x^2.2 in sRGBtoLinear() function in sw::PixelRoutine
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Blitter.hpp | 113 static Float4 sRGBtoLinear(Float4 &color);
|
H A D | Blitter.cpp | 1119 value = (srcSRGB && !preScaled) ? sRGBtoLinear(value) : LinearToSRGB(value); in ApplyScaleAndClamp() 1169 Float4 Blitter::sRGBtoLinear(Float4 &c) in sRGBtoLinear() function in sw::Blitter
|
H A D | Surface.cpp | 1052 r = sRGBtoLinear(r); in read() 1053 g = sRGBtoLinear(g); in read() 1054 b = sRGBtoLinear(b); in read() 2444 sRGBtoLinearTable[i] = static_cast<byte>(sRGBtoLinear(static_cast<float>(i) / 255.0f) * 255.0f + 0.5f); in decodeETC2()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | Blitter.hpp | 174 static Float4 sRGBtoLinear(const Float4 &color);
|
H A D | Blitter.cpp | 1454 value = (srcSRGB && !preScaled) ? sRGBtoLinear(value) : LinearToSRGB(value); in ApplyScaleAndClamp() 1499 Float4 Blitter::sRGBtoLinear(const Float4 &c) in sRGBtoLinear() function in sw::Blitter
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShaderImage.cpp | 77 sw::SIMD::Float sRGBtoLinear(sw::SIMD::Float c) in sRGBtoLinear() function 882 dst.move(0, ::sRGBtoLinear(SIMD::Float(packed[0] & SIMD::Int(0xFF)) * SIMD::Float(1.0f / 0xFF))); in EmitImageRead() 883 dst.move(1, ::sRGBtoLinear(SIMD::Float((packed[0] >> 8) & SIMD::Int(0xFF)) * SIMD::Float(1.0f / 0xFF))); in EmitImageRead() 884 dst.move(2, ::sRGBtoLinear(SIMD::Float((packed[0] >> 16) & SIMD::Int(0xFF)) * SIMD::Float(1.0f / 0xFF))); in EmitImageRead() 894 dst.move(0, ::sRGBtoLinear(SIMD::Float((packed[0] >> 16) & SIMD::Int(0xFF)) * SIMD::Float(1.0f / 0xFF))); in EmitImageRead() 895 dst.move(1, ::sRGBtoLinear(SIMD::Float((packed[0] >> 8) & SIMD::Int(0xFF)) * SIMD::Float(1.0f / 0xFF))); in EmitImageRead() 896 dst.move(2, ::sRGBtoLinear(SIMD::Float(packed[0] & SIMD::Int(0xFF)) * SIMD::Float(1.0f / 0xFF))); in EmitImageRead()
|
H A D | Constants.cpp | 281 sRGBtoLinearFF_FF00[i] = (unsigned short)(sRGBtoLinear((float)i / 0xFF) * 0xFF00 + 0.5f); in Constants() 287 sRGBtoLinear12_16[i] = (unsigned short)(clamp(sRGBtoLinear((float)i / 0x0FFF) * 0xFFFF + 0.5f, 0.0f, (float)0xFFFF)); in Constants()
|
H A D | PixelRoutine.hpp | 101 Float4 sRGBtoLinear(const Float4 &x);
|
H A D | PixelRoutine.cpp | 3268 Float4 PixelRoutine::sRGBtoLinear(const Float4 &x) // Approximates x^2.2 in sRGBtoLinear() function in sw::PixelRoutine
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
H A D | common.h | 112 static inline float4 sRGBtoLinear(float4 color) in sRGBtoLinear() function
|
Completed in 26 milliseconds