Searched refs:xFactor (Results 1 – 8 of 8) sorted by relevance
/third_party/vk-gl-cts/framework/delibs/deimage/ |
D | deImage.c | 132 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/ |
D | glsFragmentOpUtil.cpp | 39 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/ |
D | dng_read_image.cpp | 2089 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 …]
|
D | dng_image_writer.cpp | 3020 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/ |
D | es31fTextureGatherTests.cpp | 495 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()
|
D | es31fTextureBorderClampTests.cpp | 1094 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/ |
D | vktShaderRenderTextureGatherTests.cpp | 526 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/ |
D | vktShaderRenderTextureGatherTests.cpp | 526 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()
|