Home
last modified time | relevance | path

Searched refs:linearToSRGB (Results 1 – 25 of 26) sorted by relevance

12

/external/deqp/framework/common/
DtcuTextureUtil.hpp50 Vec4 linearToSRGB (const Vec4& cl);
DtcuTextureUtil.cpp94 Vec4 linearToSRGB (const Vec4& cl) in linearToSRGB() function
117 return isSRGB(format) ? linearToSRGB(color) : color; in linearToSRGBIfNeeded()
/external/swiftshader/src/System/
DMath.hpp370 inline float linearToSRGB(float c) in linearToSRGB() function
/external/swiftshader/src/Common/
DMath.hpp370 inline float linearToSRGB(float c) in linearToSRGB() function
/external/swiftshader/src/Pipeline/
DPixelProgram.hpp100 Float4 linearToSRGB(const Float4 &x);
DConstants.cpp282 …linearToSRGB12_16[i] = (unsigned short)(clamp(sw::linearToSRGB((float)i / 0x0FFF) * 0xFFFF + 0.5f,… in Constants()
DPixelProgram.cpp625 c[index].x = linearToSRGB(c[index].x); in rasterOperation()
626 c[index].y = linearToSRGB(c[index].y); in rasterOperation()
627 c[index].z = linearToSRGB(c[index].z); in rasterOperation()
1127 Float4 PixelProgram::linearToSRGB(const Float4 &x) // Approximates x^(1.0/2.2) in linearToSRGB() function in sw::PixelProgram
/external/swiftshader/src/Shader/
DPixelProgram.hpp100 Float4 linearToSRGB(const Float4 &x);
DConstants.cpp282 …linearToSRGB12_16[i] = (unsigned short)(clamp(sw::linearToSRGB((float)i / 0x0FFF) * 0xFFFF + 0.5f,… in Constants()
DPixelProgram.cpp626 c[index].x = linearToSRGB(c[index].x); in rasterOperation()
627 c[index].y = linearToSRGB(c[index].y); in rasterOperation()
628 c[index].z = linearToSRGB(c[index].z); in rasterOperation()
1152 Float4 PixelProgram::linearToSRGB(const Float4 &x) // Approximates x^(1.0/2.2) in linearToSRGB() function in sw::PixelProgram
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSparseRenderTargetTests.cpp541 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in iterateInternal()
564 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in iterateInternal()
DvktRenderPassMultisampleTests.cpp1572 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in iterateInternal()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineReferenceRenderer.cpp200 clearColor = tcu::linearToSRGB(clearColor); in ReferenceRenderer()
/external/deqp/modules/gles31/functional/
Des31fSRGBDecodeTests.cpp125 return tcu::linearToSRGB(tcu::Vec4(0.2f, 0.3f, 0.4f, 1.0f)); in getColorReferenceSRGB()
1479 pixelConverted = tcu::linearToSRGB(pixelResultList[resultColorIdx]); in verifyResult()
1929 pixelConverted = tcu::linearToSRGB(pixelResultList[resultColorIdx]); in verifyResult()
Des31fShaderFramebufferFetchTests.cpp584 tcu::clear(reference.getAccess(), tcu::linearToSRGB(fragmentColor)); in genReferenceTexture()
Des31fFboSRGBWriteControlTests.cpp56 return linearToSRGB(tcu::Vec4(0.2f, 0.3f, 0.4f, 1.0f)); in getTestColorSRGB()
Des31fTextureBorderClampTests.cpp426 const tcu::Vec4 sRGB = tcu::linearToSRGB(normalizedRange); in mapToFormatColorRepresentable()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp708 combinedColor = tcu::linearToSRGB(combinedColor); in executeColorWrite()
753 newColor = tcu::linearToSRGB(newColor); in executeMaskedColorWrite()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp3068 dst.setPixel((dstIsSRGB && convertSRGB) ? tcu::linearToSRGB(p) : p, x, y); in blitResolveMultisampleFramebuffer()
3228 dst.setPixel((dstIsSRGB && convertSRGB) ? tcu::linearToSRGB(p) : p, xo, yo); in blitFramebuffer()
3375 …Vec4 c = (isSRGB && m_sRGBUpdateEnabled) ? tcu::linearToSRGB(m_clearColor) : m_clearColor; in clear()
3486 color = tcu::linearToSRGB(color); in clearBufferfv()
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp425 rgba[0] = sw::linearToSRGB(rgba[0]); in Clear()
426 rgba[1] = sw::linearToSRGB(rgba[1]); in Clear()
427 rgba[2] = sw::linearToSRGB(rgba[2]); in Clear()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp364 refColor = linearToSRGB(refColor); in comparePixelToColorClearValue()
/external/swiftshader/src/Device/
DSurface.cpp80 r = linearToSRGB(r); in write()
81 g = linearToSRGB(g); in write()
82 b = linearToSRGB(b); in write()
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp423 dst.setPixel(isSRGB ? tcu::linearToSRGB(color) : color, x, y); in renderFloatReference()
/external/swiftshader/src/Renderer/
DSurface.cpp83 r = linearToSRGB(r); in write()
84 g = linearToSRGB(g); in write()
85 b = linearToSRGB(b); in write()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp867 image.setPixel(tcu::linearToSRGB(COLOR_TABLE_FLOAT[colorIdx]), x, y, z); in generateExpectedImage()

12