Home
last modified time | relevance | path

Searched refs:yFactor (Results 1 – 7 of 7) sorted by relevance

/third_party/vk-gl-cts/framework/delibs/deimage/
DdeImage.c133 int yFactor = (yFixed & 0xFF); in deImage_scale() local
134 int f00 = ((256-xFactor) * (256-yFactor)) >> 8; in deImage_scale()
135 int f10 = ((256-xFactor) * yFactor) >> 8; in deImage_scale()
136 int f01 = (xFactor * (256-yFactor)) >> 8; in deImage_scale()
137 int f11 = (xFactor * yFactor) >> 8; in deImage_scale()
/third_party/vk-gl-cts/modules/glshared/
DglsFragmentOpUtil.cpp39 inline T triQuadInterpolate (const T values[4], float xFactor, float yFactor) in triQuadInterpolate() argument
41 if (xFactor + yFactor < 1.0f) in triQuadInterpolate()
42 return values[0] + (values[2]-values[0])*xFactor + (values[1]-values[0])*yFactor; in triQuadInterpolate()
44 return values[3] + (values[1]-values[3])*(1.0f-xFactor) + (values[2]-values[3])*(1.0f-yFactor); in triQuadInterpolate()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureGatherTests.cpp495 static inline T triQuadInterpolate (const T (&values)[4], float xFactor, float yFactor) in triQuadInterpolate() argument
497 if (xFactor + yFactor < 1.0f) in triQuadInterpolate()
498 return values[0] + (values[2]-values[0])*xFactor + (values[1]-values[0])*yFactor; in triQuadInterpolate()
500 return values[3] + (values[1]-values[3])*(1.0f-xFactor) + (values[2]-values[3])*(1.0f-yFactor); in triQuadInterpolate()
Des31fTextureBorderClampTests.cpp1094 static inline T triQuadInterpolate (const T (&values)[4], float xFactor, float yFactor) in triQuadInterpolate() argument
1096 if (xFactor + yFactor < 1.0f) in triQuadInterpolate()
1097 return values[0] + (values[2]-values[0])*xFactor + (values[1]-values[0])*yFactor; in triQuadInterpolate()
1099 return values[3] + (values[1]-values[3])*(1.0f-xFactor) + (values[2]-values[3])*(1.0f-yFactor); in triQuadInterpolate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp526 static inline T triQuadInterpolate (const T (&values)[4], float xFactor, float yFactor) in triQuadInterpolate() argument
528 if (xFactor + yFactor < 1.0f) in triQuadInterpolate()
529 return values[0] + (values[2]-values[0])*xFactor + (values[1]-values[0])*yFactor; in triQuadInterpolate()
531 return values[3] + (values[1]-values[3])*(1.0f-xFactor) + (values[2]-values[3])*(1.0f-yFactor); in triQuadInterpolate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp526 static inline T triQuadInterpolate (const T (&values)[4], float xFactor, float yFactor) in triQuadInterpolate() argument
528 if (xFactor + yFactor < 1.0f) in triQuadInterpolate()
529 return values[0] + (values[2]-values[0])*xFactor + (values[1]-values[0])*yFactor; in triQuadInterpolate()
531 return values[3] + (values[1]-values[3])*(1.0f-xFactor) + (values[2]-values[3])*(1.0f-yFactor); in triQuadInterpolate()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSamplerCore.cpp1808 …float yFactor = static_cast<float>(0x7FFF) / static_cast<float>(state.studioSwing ? 219 * 0x0101 :… in sampleTexel() local
1811 Float4 y = (Float4(Y) - Float4(yOffset)) * Float4(yFactor); in sampleTexel()