Home
last modified time | relevance | path

Searched refs:sRGBToLinear (Results 1 – 25 of 27) sorted by relevance

12

/external/angle/src/libANGLE/renderer/vulkan/shaders/src/
DImageCopy.frag96 float sRGBToLinear(float sRGB)
186 destValue.r = sRGBToLinear(destValue.r);
187 destValue.g = sRGBToLinear(destValue.g);
188 destValue.b = sRGBToLinear(destValue.b);
/external/deqp/modules/internal/
DditSRGB8ConversionTest.cpp77 const tcu::Vec4 ref (tcu::sRGBToLinear(src.cast<float>() / tcu::Vec4(255.0f))); in iterate()
/external/angle/src/libANGLE/renderer/vulkan/shaders/gen/
DImageCopy.frag.00000008.inc148 // float sRGBToLinear(float sRGB)
198 // destValue . r = sRGBToLinear(destValue . r);
199 // destValue . g = sRGBToLinear(destValue . g);
200 // destValue . b = sRGBToLinear(destValue . b);
DImageCopy.frag.00000028.inc151 // float sRGBToLinear(float sRGB)
201 // destValue . r = sRGBToLinear(destValue . r);
202 // destValue . g = sRGBToLinear(destValue . g);
203 // destValue . b = sRGBToLinear(destValue . b);
DImageCopy.frag.00000024.inc150 // float sRGBToLinear(float sRGB)
200 // destValue . r = sRGBToLinear(destValue . r);
201 // destValue . g = sRGBToLinear(destValue . g);
202 // destValue . b = sRGBToLinear(destValue . b);
DImageCopy.frag.00000014.inc150 // float sRGBToLinear(float sRGB)
200 // destValue . r = sRGBToLinear(destValue . r);
201 // destValue . g = sRGBToLinear(destValue . g);
202 // destValue . b = sRGBToLinear(destValue . b);
DImageCopy.frag.00000018.inc151 // float sRGBToLinear(float sRGB)
201 // destValue . r = sRGBToLinear(destValue . r);
202 // destValue . g = sRGBToLinear(destValue . g);
203 // destValue . b = sRGBToLinear(destValue . b);
DImageCopy.frag.00000004.inc147 // float sRGBToLinear(float sRGB)
197 // destValue . r = sRGBToLinear(destValue . r);
198 // destValue . g = sRGBToLinear(destValue . g);
199 // destValue . b = sRGBToLinear(destValue . b);
DImageCopy.frag.00000000.inc173 // float sRGBToLinear(float sRGB)
229 // destValue . r = sRGBToLinear(destValue . r);
230 // destValue . g = sRGBToLinear(destValue . g);
231 // destValue . b = sRGBToLinear(destValue . b);
DImageCopy.frag.00000010.inc176 // float sRGBToLinear(float sRGB)
232 // destValue . r = sRGBToLinear(destValue . r);
233 // destValue . g = sRGBToLinear(destValue . g);
234 // destValue . b = sRGBToLinear(destValue . b);
DImageCopy.frag.00000020.inc176 // float sRGBToLinear(float sRGB)
232 // destValue . r = sRGBToLinear(destValue . r);
233 // destValue . g = sRGBToLinear(destValue . g);
234 // destValue . b = sRGBToLinear(destValue . b);
/external/deqp/framework/common/
DtcuTextureUtil.hpp47 Vec4 sRGBToLinear (const Vec4& cs);
DtcuTextureUtil.cpp69 Vec4 sRGBToLinear (const Vec4& cs) in sRGBToLinear() function
DtcuTexLookupVerifier.cpp71 return isSRGB(access.getFormat()) ? sRGBToLinear(p) : p; in lookup()
/external/angle/src/image_util/
Dimageformats.cpp380 gl::linearToSRGB(static_cast<uint8_t>((static_cast<uint16_t>(gl::sRGBToLinear(src1->R)) + in average()
381 static_cast<uint16_t>(gl::sRGBToLinear(src2->R))) >> in average()
384 gl::linearToSRGB(static_cast<uint8_t>((static_cast<uint16_t>(gl::sRGBToLinear(src1->G)) + in average()
385 static_cast<uint16_t>(gl::sRGBToLinear(src2->G))) >> in average()
388 gl::linearToSRGB(static_cast<uint8_t>((static_cast<uint16_t>(gl::sRGBToLinear(src1->B)) + in average()
389 static_cast<uint16_t>(gl::sRGBToLinear(src2->B))) >> in average()
/external/deqp/modules/gles3/functional/
Des3fBlendTests.cpp77 dst.setPixel(tcu::sRGBToLinear(src.getPixel(x, y)), x, y); in sRGBAToLinear()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp941 …m_sampleRegister[regSampleNdx].clampedBlendDstColor = clamp(sRGBTarget ? tcu::sRGBToLinear(dstCol… in render()
966 …pleNdx].clampedBlendDstColor = unpremultiply(clamp(sRGBTarget ? tcu::sRGBToLinear(dstColor) : dst… in render()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.cpp198 …cornerTexels[ndx] += sRGBToLinear(m_levels[level].getPixel(cornerCoords[ndx][0], cornerCoords[ndx]… in fetchTexel()
/external/angle/src/common/
Dmathutil.h947 inline uint8_t sRGBToLinear(uint8_t srgbValue) in sRGBToLinear() function
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp814 …m_sum.getAccess().setPixel(old + (tcu::isSRGB(format) ? tcu::sRGBToLinear(firstColor) : firstColor… in verify()
1851 color = tcu::sRGBToLinear(color); in verify()
/external/deqp/modules/gles31/functional/
Des31fShaderFramebufferFetchTests.cpp614 …const tcu::Vec4 fragmentColor = tcu::clamp(tcu::sRGBToLinear(fbColor) + uniformColor, formatMinVal… in genReferenceTexture()
Des31fSRGBDecodeTests.cpp1420 pixelConverted = tcu::sRGBToLinear(pixelResultList[resultColorIdx]); in verifyResult()
Des31fTextureBorderClampTests.cpp431 const tcu::Vec4 linearized = tcu::sRGBToLinear(tcu::Vec4((float)sRGB8[0] / 255.0f, in mapToFormatColorRepresentable()
Des31fCopyImageTests.cpp942 const tcu::Vec4 linearColor = (tcu::isSRGB(format) ? tcu::sRGBToLinear(rawColor) : rawColor); in genRenderbufferImage()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1062 dst.setPixel(swizzle(tcu::sRGBToLinear(src.getPixelT<float>(x, y, z)), swz), x, y, z); in swizzleFromSRGB()

12