Home
last modified time | relevance | path

Searched refs:fx1 (Results 1 – 19 of 19) sorted by relevance

/external/deqp/framework/common/
DtcuBilinearImageCompare.cpp74 inline deUint8 interpolateChannel (deUint32 fx1, deUint32 fy1, deUint8 p00, deUint8 p01, deUint8 p1… in interpolateChannel() argument
76 const deUint32 fx0 = (1u<<NUM_SUBPIXEL_BITS) - fx1; in interpolateChannel()
79 const deUint32 sum = fx0*fy0*p00 + fx1*fy0*p10 + fx0*fy1*p01 + fx1*fy1*p11; in interpolateChannel()
96 deUint32 fx1 = u-(x0<<NUM_SUBPIXEL_BITS); in bilinearSampleRGBA8() local
106 …res |= interpolateChannel(fx1, fy1, getChannel<0>(p00), getChannel<0>(p01), getChannel<0>(p10), ge… in bilinearSampleRGBA8()
107 …res |= interpolateChannel(fx1, fy1, getChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), ge… in bilinearSampleRGBA8()
108 …res |= interpolateChannel(fx1, fy1, getChannel<2>(p00), getChannel<2>(p01), getChannel<2>(p10), ge… in bilinearSampleRGBA8()
109 …res |= interpolateChannel(fx1, fy1, getChannel<3>(p00), getChannel<3>(p01), getChannel<3>(p10), ge… in bilinearSampleRGBA8()
/external/freetype/src/smooth/
Dftgrays.c610 TCoord ex1, ex2, fx1, fx2, first, dy, delta, mod; in gray_render_scanline() local
625 fx1 = (TCoord)( x1 - SUBPIXELS( ex1 ) ); in gray_render_scanline()
641 p = ( ONE_PIXEL - fx1 ) * dy; in gray_render_scanline()
647 p = fx1 * dy; in gray_render_scanline()
655 ras.area += (TArea)( ( fx1 + first ) * delta ); in gray_render_scanline()
687 fx1 = ONE_PIXEL - first; in gray_render_scanline()
692 ras.area += (TArea)( ( fx1 + fx2 ) * dy ); in gray_render_scanline()
846 TPos dx, dy, fx1, fy1, fx2, fy2; in gray_render_line() local
861 fx1 = ras.x - SUBPIXELS( ex1 ); in gray_render_line()
881 ras.area += ( fy2 - fy1 ) * fx1 * 2; in gray_render_line()
[all …]
/external/pdfium/third_party/agg23/
Dagg_rasterizer_scanline_aa.cpp167 int fx1 = x1 & poly_base_mask; in render_hline() local
177 m_cur_cell.add_cover(delta, (fx1 + fx2) * delta); in render_hline()
180 p = (poly_base_size - fx1) * (y2 - y1); in render_hline()
185 p = fx1 * (y2 - y1); in render_hline()
196 m_cur_cell.add_cover(delta, (fx1 + first) * delta); in render_hline()
/external/deqp/modules/gles3/functional/
Des3fInstancedRenderingTests.cpp359 float fx1 = -1.0f + (float)(x+1) / (float)QUAD_GRID_SIZE * 2.0f / (float)m_numInstances; in init() local
366 m_gridVertexPositions.push_back(fx1); in init()
372 m_gridVertexPositions.push_back(fx1); in init()
376 m_gridVertexPositions.push_back(fx1); in init()
Des3fVertexTextureTests.cpp292 float fx1 = (float)(x+1) / gridSizeFloat; in PosTexCoordQuadGrid() local
296 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) }; in PosTexCoordQuadGrid()
/external/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp439 SkFractionalInt fx1, fx2, fx3; in nofilter_scale_neon() local
443 fx1 = fx+dx; in nofilter_scale_neon()
444 fx2 = fx1+dx; in nofilter_scale_neon()
448 lbase = vsetq_lane_s32(SkFractionalIntToFixed(fx1), lbase, 1); in nofilter_scale_neon()
/external/skqp/src/core/
DSkBitmapProcState_matrixProcs.cpp439 SkFractionalInt fx1, fx2, fx3; in nofilter_scale_neon() local
443 fx1 = fx+dx; in nofilter_scale_neon()
444 fx2 = fx1+dx; in nofilter_scale_neon()
448 lbase = vsetq_lane_s32(SkFractionalIntToFixed(fx1), lbase, 1); in nofilter_scale_neon()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp675 const float fx1 = -1.0f + (float)(x+1) / (float)QUAD_GRID_SIZE * 2.0f / (float)instanceCount; in prepareVertexData() local
681 …m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy0, 1.0f, 1.0f), tcu::RGBA::blue().toVec()… in prepareVertexData()
685 …m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in prepareVertexData()
687 …m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy0, 1.0f, 1.0f), tcu::RGBA::blue().toVec()… in prepareVertexData()
/external/pdfium/xfa/fwl/theme/
Dcfwl_widgettp.cpp141 float fx1, in DrawAxialShading() argument
153 CFX_PointF begPoint(fx1, fy1); in DrawAxialShading()
Dcfwl_widgettp.h68 float fx1,
/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.cpp328 float fx1 = 2.0f * sx1 - 1.0f; in computePositions() local
334 positions[baseNdx+2] = tcu::Vec2(fx1, fy0); in computePositions()
335 positions[baseNdx+3] = tcu::Vec2(fx1, fy1); in computePositions()
Des2fVertexTextureTests.cpp243 float fx1 = (float)(x+1) / gridSizeFloat; in PosTexCoordQuadGrid() local
247 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) }; in PosTexCoordQuadGrid()
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp758 float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); in computeVertexReference() local
762 bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference()
763 float tx = tri ? fx1 : (1.0f - fx1); in computeVertexReference()
/external/deqp/modules/glshared/
DglsShaderRenderCase.cpp705 float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); in computeVertexReference() local
709 bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference()
710 float tx = tri ? fx1 : (1.0f-fx1); in computeVertexReference()
DglsBufferTestUtil.cpp489 float fx1 = 2.0f * sx1 - 1.0f; in computePositions() local
495 positions[baseNdx+2] = tcu::Vec2(fx1, fy0); in computePositions()
496 positions[baseNdx+3] = tcu::Vec2(fx1, fy1); in computePositions()
/external/mesa3d/src/mesa/swrast/
Ds_aaline.c293 const GLfloat fx1 = sx - info->qx1; in compute_coveragef() local
301 GLfloat cross1 = (info->ex1 * fy1 - info->ey1 * fx1); in compute_coveragef()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp2385 const float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); in computeVertexReference() local
2389 const bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference()
2390 const float tx = tri ? fx1 : (1.0f-fx1); in computeVertexReference()
/external/deqp/modules/egl/
DteglGLES2SharingTests.cpp434 float fx1 = 0.125f * (float)(i % 16) - 1.0f; in renderResource() local
441 int x1 = deRoundFloatToInt32(((float)width * fx1 / 2.0f) + (float)ox); in renderResource()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DFastMath.java1488 double fx1 = xpb/xpa; in log1p() local
1490 double epsilon = 0.5 * fx1 + 1.0; in log1p()
1491 epsilon = epsilon * fx1; in log1p()