Home
last modified time | relevance | path

Searched refs:fx1 (Results 1 – 18 of 18) 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 = FRACT( x1 ); in gray_render_scanline()
641 p = ( ONE_PIXEL - fx1 ) * dy; in gray_render_scanline()
647 p = fx1 * dy; in gray_render_scanline()
658 ras.area += (TArea)( ( fx1 + first ) * delta ); in gray_render_scanline()
690 fx1 = ONE_PIXEL - first; in gray_render_scanline()
695 ras.area += (TArea)( ( fx1 + fx2 ) * dy ); in gray_render_scanline()
852 TCoord fx1, fy1, fx2, fy2; in gray_render_line() local
867 fx1 = FRACT( ras.x ); in gray_render_line()
887 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/rust/crates/plotters-svg/src/
Dsvg.rs410 let ((fx0, fy0), (fx1, fy1)) = in draw_text()
414 HPos::Center => x0 - fx1 / 2 + fx0 / 2, in draw_text()
415 HPos::Right => x0 - fx1 + fx0, in draw_text()
424 (x0 + fx1 - fx0, y0 + fy1 - fy0), in draw_text()
/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/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/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/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp762 const float fx1 = -1.0f + (float)(x+1) / (float)QUAD_GRID_SIZE * 2.0f / (float)instanceCount; in prepareVertexData() local
768 …m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy0, 1.0f, 1.0f), tcu::RGBA::blue().toVec()… in prepareVertexData()
772 …m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in prepareVertexData()
774 …m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy0, 1.0f, 1.0f), tcu::RGBA::blue().toVec()… in prepareVertexData()
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp777 float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); in computeVertexReference() local
781 bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference()
782 float tx = tri ? fx1 : (1.0f - fx1); in computeVertexReference()
/external/mesa3d/src/mesa/swrast/
Ds_aaline.c292 const GLfloat fx1 = sx - info->qx1; in compute_coveragef() local
300 GLfloat cross1 = (info->ex1 * fy1 - info->ey1 * fx1); in compute_coveragef()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp2401 const float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); in computeVertexReference() local
2405 const bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference()
2406 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()
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...