Home
last modified time | relevance | path

Searched refs:xFactor (Results 1 – 5 of 5) sorted by relevance

/external/deqp/framework/delibs/deimage/
DdeImage.c132 int xFactor = (xFixed & 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()
/external/deqp/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()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DNoiseGenerator.java765 float[] xFactor = new float[] {ox, ox, ox, ox, jx, jx, jx, jx}; in originalBlenderNoise() local
771 …n += cn[i] * (hashvectf[hIndex] * xFactor[i] + hashvectf[hIndex + 1] * yFactor[i] + hashvectf[hInd… in originalBlenderNoise()
/external/deqp/modules/gles31/functional/
Des31fTextureGatherTests.cpp478 static inline T triQuadInterpolate (const T (&values)[4], float xFactor, float yFactor) in triQuadInterpolate() argument
480 if (xFactor + yFactor < 1.0f) in triQuadInterpolate()
481 return values[0] + (values[2]-values[0])*xFactor + (values[1]-values[0])*yFactor; in triQuadInterpolate()
483 return values[3] + (values[1]-values[3])*(1.0f-xFactor) + (values[2]-values[3])*(1.0f-yFactor); in triQuadInterpolate()
Des31fTextureBorderClampTests.cpp1089 static inline T triQuadInterpolate (const T (&values)[4], float xFactor, float yFactor) in triQuadInterpolate() argument
1091 if (xFactor + yFactor < 1.0f) in triQuadInterpolate()
1092 return values[0] + (values[2]-values[0])*xFactor + (values[1]-values[0])*yFactor; in triQuadInterpolate()
1094 return values[3] + (values[1]-values[3])*(1.0f-xFactor) + (values[2]-values[3])*(1.0f-yFactor); in triQuadInterpolate()