Searched refs:yFactor (Results 1 – 7 of 7) 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 | 4103 const float yFactor,ExceptionInfo *exception) in resizeVerticalFilter() argument 4152 scale=MAGICK_MAX(1.0/yFactor+MagickEpsilon,1.0); in resizeVerticalFilter() 4181 cacheRangeStart=(int) (((0 + 0.5)/yFactor+MagickEpsilon)-support+0.5); in resizeVerticalFilter() 4182 cacheRangeEnd=(int) ((((pixelPerWorkgroup-1) + 0.5)/yFactor+ in resizeVerticalFilter() 4242 status|=SetOpenCLKernelArg(verticalKernel,i++,sizeof(float),(void*)&yFactor); in resizeVerticalFilter() 4303 yFactor; in ComputeResizeImage() local 4356 yFactor=(float) resizedRows/(float) image->rows; in ComputeResizeImage() 4357 if (xFactor > yFactor) in ComputeResizeImage() 4380 (cl_uint) resizedRows,resizeFilter,cubicCoefficientsBuffer,yFactor, in ComputeResizeImage() 4400 (cl_uint) resizedRows,resizeFilter,cubicCoefficientsBuffer,yFactor, in ComputeResizeImage()
|
D | accelerate-kernels-private.h | 2623 const unsigned int filteredColumns, const unsigned int filteredRows, const float yFactor, 2636 float scale = MagickMax(1.0f/yFactor+MagickEpsilon ,1.0f); 2640 …const int cacheRangeStartY = MagickMax((int)((startY+0.5f)/yFactor+MagickEpsilon-support+0.5f),(in… 2678 const float bisect = (y+0.5)/yFactor+MagickEpsilon;
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureGatherTests.cpp | 494 static inline T triQuadInterpolate (const T (&values)[4], float xFactor, float yFactor) in triQuadInterpolate() argument 496 if (xFactor + yFactor < 1.0f) in triQuadInterpolate() 497 return values[0] + (values[2]-values[0])*xFactor + (values[1]-values[0])*yFactor; in triQuadInterpolate() 499 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 | 523 static inline T triQuadInterpolate (const T (&values)[4], float xFactor, float yFactor) in triQuadInterpolate() argument 525 if (xFactor + yFactor < 1.0f) in triQuadInterpolate() 526 return values[0] + (values[2]-values[0])*xFactor + (values[1]-values[0])*yFactor; in triQuadInterpolate() 528 return values[3] + (values[1]-values[3])*(1.0f-xFactor) + (values[2]-values[3])*(1.0f-yFactor); in triQuadInterpolate()
|