Home
last modified time | relevance | path

Searched refs:studioSwing (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/src/Vulkan/
DVkSampler.cpp41 studioSwing = (ycbcrConversion->ycbcrRange == VK_SAMPLER_YCBCR_RANGE_ITU_NARROW); in SamplerState()
DVkSampler.hpp55 bool studioSwing = false; // Narrow range member
/external/swiftshader/src/Device/
DSampler.hpp109 bool studioSwing; // Narrow range member
/external/swiftshader/src/Pipeline/
DSpirvShaderSampling.cpp72 samplerState.studioSwing = sampler->studioSwing; in getImageSampler()
DSamplerCore.cpp1841 float yOffset = static_cast<float>(state.studioSwing ? 16 * 0x0101 : 0); in sampleTexel()
1843 …float yFactor = static_cast<float>(0x7FFF) / static_cast<float>(state.studioSwing ? 219 * 0x0101 :… in sampleTexel()
1844 …float uvFactor = static_cast<float>(0x7FFF) / static_cast<float>(state.studioSwing ? 224 * 0x0101 … in sampleTexel()
/external/swiftshader/src/Shader/
DSamplerCore.cpp2022 int studioSwing = 1; in sampleTexel() local
2029 studioSwing = 1; in sampleTexel()
2034 studioSwing = 1; in sampleTexel()
2039 studioSwing = 0; in sampleTexel()
2053 const float Yy = studioSwing ? 255.0f / (235 - 16) : 1.0f; in sampleTexel()
2054 const float Uu = studioSwing ? 255.0f / (240 - 16) : 1.0f; in sampleTexel()
2055 const float Vv = studioSwing ? 255.0f / (240 - 16) : 1.0f; in sampleTexel()
2062 const float R0 = (studioSwing * -16 * Yy - 128 * Rv) / 255; in sampleTexel()
2063 const float G0 = (studioSwing * -16 * Yy - 128 * Gu - 128 * Gv) / 255; in sampleTexel()
2064 const float B0 = (studioSwing * -16 * Yy - 128 * Bu) / 255; in sampleTexel()