Searched refs:yFactor (Results 1 – 8 of 8) sorted by relevance
/external/deqp/framework/delibs/deimage/ |
D | deImage.c | 133 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()
|
/external/deqp/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()
|
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 4147 const float yFactor,ExceptionInfo *exception) in resizeVerticalFilter() argument 4196 scale=MAGICK_MAX(1.0/yFactor+MagickEpsilon,1.0); in resizeVerticalFilter() 4225 cacheRangeStart=(int) (((0 + 0.5)/yFactor+MagickEpsilon)-support+0.5); in resizeVerticalFilter() 4226 cacheRangeEnd=(int) ((((pixelPerWorkgroup-1) + 0.5)/yFactor+ in resizeVerticalFilter() 4286 status|=SetOpenCLKernelArg(verticalKernel,i++,sizeof(float),(void*)&yFactor); in resizeVerticalFilter() 4347 yFactor; in ComputeResizeImage() local 4400 yFactor=(float) resizedRows/(float) image->rows; in ComputeResizeImage() 4401 if (xFactor > yFactor) in ComputeResizeImage() 4424 (cl_uint) resizedRows,resizeFilter,cubicCoefficientsBuffer,yFactor, in ComputeResizeImage() 4444 (cl_uint) resizedRows,resizeFilter,cubicCoefficientsBuffer,yFactor, in ComputeResizeImage()
|
D | accelerate-kernels-private.h | 2616 const unsigned int filteredColumns, const unsigned int filteredRows, const float yFactor, 2629 float scale = MagickMax(1.0f/yFactor+MagickEpsilon ,1.0f); 2633 …const int cacheRangeStartY = MagickMax((int)((startY+0.5f)/yFactor+MagickEpsilon-support+0.5f),(in… 2671 const float bisect = (y+0.5)/yFactor+MagickEpsilon;
|
/external/deqp/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 | 1093 static inline T triQuadInterpolate (const T (&values)[4], float xFactor, float yFactor) in triQuadInterpolate() argument 1095 if (xFactor + yFactor < 1.0f) in triQuadInterpolate() 1096 return values[0] + (values[2]-values[0])*xFactor + (values[1]-values[0])*yFactor; in triQuadInterpolate() 1098 return values[3] + (values[1]-values[3])*(1.0f-xFactor) + (values[2]-values[3])*(1.0f-yFactor); in triQuadInterpolate()
|
/external/deqp/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()
|
/external/swiftshader/src/Pipeline/ |
D | SamplerCore.cpp | 1843 …float yFactor = static_cast<float>(0x7FFF) / static_cast<float>(state.studioSwing ? 219 * 0x0101 :… in sampleTexel() local 1846 Float4 y = (Float4(Y) - Float4(yOffset)) * Float4(yFactor); in sampleTexel()
|