Home
last modified time | relevance | path

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

/external/deqp/modules/internal/
DditSRGB8ConversionTest.cpp77 const tcu::Vec4 ref (tcu::sRGBToLinear(src.cast<float>() / tcu::Vec4(255.0f))); in iterate()
/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()
DtcuTexture.cpp1745 return sRGBToLinear(access.getPixel(i, j, k)); 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.h934 inline uint8_t sRGBToLinear(uint8_t srgbValue) in sRGBToLinear() function
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp804 …m_sum.getAccess().setPixel(old + (tcu::isSRGB(format) ? tcu::sRGBToLinear(firstColor) : firstColor… in verify()
1797 color = tcu::sRGBToLinear(color); in verify()
/external/deqp/modules/gles31/functional/
Des31fShaderFramebufferFetchTests.cpp583 const tcu::Vec4 fragmentColor = tcu::sRGBToLinear(fbColor) + uniformColor; in genReferenceTexture()
Des31fSRGBDecodeTests.cpp1407 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.cpp990 dst.setPixel(swizzle(tcu::sRGBToLinear(src.getPixelT<float>(x, y, z)), swz), x, y, z); in swizzleFromSRGB()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp2542 dstColor = tcu::sRGBToLinear(dstColor); in floatNearestBlitCompare()