Home
last modified time | relevance | path

Searched refs:xFactor (Results 1 – 9 of 9) 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/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 …]
/external/ImageMagick/MagickCore/
Daccelerate.c3919 const float xFactor,ExceptionInfo *exception) in resizeHorizontalFilter() argument
3968 scale=MAGICK_MAX(1.0/xFactor+MagickEpsilon,1.0); in resizeHorizontalFilter()
3997 cacheRangeStart=(int) (((0 + 0.5)/xFactor+MagickEpsilon)-support+0.5); in resizeHorizontalFilter()
3998 cacheRangeEnd=(int) ((((pixelPerWorkgroup-1) + 0.5)/xFactor+ in resizeHorizontalFilter()
4058 status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(float),(void*)&xFactor); in resizeHorizontalFilter()
4302 xFactor, in ComputeResizeImage() local
4355 xFactor=(float) resizedColumns/(float) image->columns; in ComputeResizeImage()
4357 if (xFactor > yFactor) in ComputeResizeImage()
4372 (cl_uint) image->rows,resizeFilter,cubicCoefficientsBuffer,xFactor, in ComputeResizeImage()
4408 (cl_uint) resizedRows,resizeFilter,cubicCoefficientsBuffer,xFactor, in ComputeResizeImage()
Daccelerate-kernels-private.h2461 const unsigned int filteredColumns, const unsigned int filteredRows, const float xFactor,
2474 float scale = MagickMax(1.0f/xFactor+MagickEpsilon ,1.0f);
2478 …const int cacheRangeStartX = MagickMax((int)((startX+0.5f)/xFactor+MagickEpsilon-support+0.5f),(in…
2512 const float bisect = (x+0.5)/xFactor+MagickEpsilon;
/external/deqp/modules/gles31/functional/
Des31fTextureGatherTests.cpp494 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()
Des31fTextureBorderClampTests.cpp1093 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/
DvktShaderRenderTextureGatherTests.cpp523 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()