Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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()
/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/skia/third_party/externals/dng_sdk/source/
Ddng_read_image.cpp2089 int32 xFactor = 1; in DecodePredictor() local
2093 xFactor = 2; in DecodePredictor()
2098 xFactor = 4; in DecodePredictor()
2109 buffer.fArea.W () / xFactor, in DecodePredictor()
2110 buffer.fPlanes * xFactor); in DecodePredictor()
2121 buffer.fArea.W () / xFactor, in DecodePredictor()
2122 buffer.fPlanes * xFactor); in DecodePredictor()
2133 buffer.fArea.W () / xFactor, in DecodePredictor()
2134 buffer.fPlanes * xFactor); in DecodePredictor()
2373 int32 xFactor = 1; in ReadTile() local
[all …]
Ddng_image_writer.cpp3020 int32 xFactor = 1; in EncodePredictor() local
3024 xFactor = 2; in EncodePredictor()
3029 xFactor = 4; in EncodePredictor()
3040 buffer.fArea.W () / xFactor, in EncodePredictor()
3041 buffer.fPlanes * xFactor); in EncodePredictor()
3052 buffer.fArea.W () / xFactor, in EncodePredictor()
3053 buffer.fPlanes * xFactor); in EncodePredictor()
3064 buffer.fArea.W () / xFactor, in EncodePredictor()
3065 buffer.fPlanes * xFactor); in EncodePredictor()
3085 int32 xFactor = 1; in EncodePredictor() local
[all …]
/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()