Searched refs:yFactor (Results 1 – 6 of 6) sorted by relevance
133 int yFactor = (yFixed & 0xFF); in deImage_scale() local134 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()
39 inline T triQuadInterpolate (const T values[4], float xFactor, float yFactor) in triQuadInterpolate() argument41 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()
495 static inline T triQuadInterpolate (const T (&values)[4], float xFactor, float yFactor) in triQuadInterpolate() argument497 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()
1094 static inline T triQuadInterpolate (const T (&values)[4], float xFactor, float yFactor) in triQuadInterpolate() argument1096 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()
526 static inline T triQuadInterpolate (const T (&values)[4], float xFactor, float yFactor) in triQuadInterpolate() argument528 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()
1808 …float yFactor = static_cast<float>(0x7FFF) / static_cast<float>(state.studioSwing ? 219 * 0x0101 :… in sampleTexel() local1811 Float4 y = (Float4(Y) - Float4(yOffset)) * Float4(yFactor); in sampleTexel()