Home
last modified time | relevance | path

Searched refs:fy1 (Results 1 – 18 of 18) sorted by relevance

/external/pdfium/third_party/agg23/
D0003-ubsan-render-line-error.patch14 int fy1 = y1 & poly_base_mask;
20 render_hline(ey1, x1, fy1, x2, fy2);
26 - p = (poly_base_size - fy1) * dx;
27 + pdfium::base::CheckedNumeric<int> safeP = poly_base_size - fy1;
33 - p = fy1 * dx;
37 + safeP = fy1;
Dagg_rasterizer_scanline_aa.cpp238 int fy1 = y1 & poly_base_mask; in render_line() local
243 render_hline(ey1, x1, fy1, x2, fy2); in render_line()
257 delta = first - fy1; in render_line()
272 pdfium::base::CheckedNumeric<int> safeP = poly_base_size - fy1; in render_line()
278 safeP = fy1; in render_line()
293 render_hline(ey1, x1, fy1, x_from, first); in render_line()
/external/deqp/framework/common/
DtcuBilinearImageCompare.cpp74 inline deUint8 interpolateChannel (deUint32 fx1, deUint32 fy1, deUint8 p00, deUint8 p01, deUint8 p1… in interpolateChannel() argument
77 const deUint32 fy0 = (1u<<NUM_SUBPIXEL_BITS) - fy1; in interpolateChannel()
79 const deUint32 sum = fx0*fy0*p00 + fx1*fy0*p10 + fx0*fy1*p01 + fx1*fy1*p11; in interpolateChannel()
97 deUint32 fy1 = v-(y0<<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.c708 TCoord ey1, ey2, fy1, fy2, first, delta, mod; in gray_render_line() local
721 fy1 = FRACT( ras.y ); in gray_render_line()
727 gray_render_scanline( RAS_VAR_ ey1, ras.x, fy1, to_x, fy2 ); in gray_render_line()
753 delta = first - fy1; in gray_render_line()
781 p = ( ONE_PIXEL - fy1 ) * dx; in gray_render_line()
787 p = fy1 * dx; in gray_render_line()
798 gray_render_scanline( RAS_VAR_ ey1, ras.x, fy1, x, first ); in gray_render_line()
852 TCoord fx1, fy1, fx2, fy2; in gray_render_line() local
868 fy1 = FRACT( ras.y ); in gray_render_line()
886 ras.cover += ( fy2 - fy1 ); in gray_render_line()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_tritemp.h180 const GLfixed fy1 = FloatToFixed(v1->attrib[VARYING_SLOT_POS][1] - 0.5F) & snapMask; in NAME() local
182 if (fy0 <= fy1) { in NAME()
183 if (fy1 <= fy2) { in NAME()
186 vMin_fy = fy0; vMid_fy = fy1; vMax_fy = fy2; in NAME()
191 vMin_fy = fy2; vMid_fy = fy0; vMax_fy = fy1; in NAME()
196 vMin_fy = fy0; vMid_fy = fy2; vMax_fy = fy1; in NAME()
204 vMin_fy = fy1; vMid_fy = fy0; vMax_fy = fy2; in NAME()
207 else if (fy2 <= fy1) { in NAME()
210 vMin_fy = fy2; vMid_fy = fy1; vMax_fy = fy0; in NAME()
216 vMin_fy = fy1; vMid_fy = fy2; vMax_fy = fy0; in NAME()
Ds_aaline.c293 const GLfloat fy1 = sy - info->qy1; in compute_coveragef() local
300 GLfloat cross1 = (info->ex1 * fy1 - info->ey1 * fx1); in compute_coveragef()
/external/deqp/modules/gles3/functional/
Des3fInstancedRenderingTests.cpp361 float fy1 = -1.0f + (float)(y+1) / (float)QUAD_GRID_SIZE * 2.0f; in init() local
369 m_gridVertexPositions.push_back(fy1); in init()
373 m_gridVertexPositions.push_back(fy1); in init()
375 m_gridVertexPositions.push_back(fy1); in init()
Des3fVertexTextureTests.cpp294 float fy1 = (float)(y+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()
419 VPos::Center => y0 - fy1 / 2 + fy0 / 2, in draw_text()
420 VPos::Bottom => y0 - fy1 + fy0, in draw_text()
424 (x0 + fx1 - fx0, y0 + fy1 - fy0), in draw_text()
/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.cpp329 float fy1 = 2.0f * sy1 - 1.0f; in computePositions() local
333 positions[baseNdx+1] = tcu::Vec2(fx0, fy1); in computePositions()
335 positions[baseNdx+3] = tcu::Vec2(fx1, fy1); in computePositions()
Des2fVertexTextureTests.cpp245 float fy1 = (float)(y+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.cpp706 float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f); in computeVertexReference() local
709 bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference()
711 float ty = tri ? fy1 : (1.0f-fy1); in computeVertexReference()
DglsBufferTestUtil.cpp490 float fy1 = 2.0f * sy1 - 1.0f; in computePositions() local
494 positions[baseNdx+1] = tcu::Vec2(fx0, fy1); in computePositions()
496 positions[baseNdx+3] = tcu::Vec2(fx1, fy1); in computePositions()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp764 const float fy1 = -1.0f + (float)(y+1) / (float)QUAD_GRID_SIZE * 2.0f; in prepareVertexData() local
769 …m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx0, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in prepareVertexData()
772 …m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in prepareVertexData()
773 …m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx0, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in prepareVertexData()
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp778 float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f); in computeVertexReference() local
781 bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference()
783 float ty = tri ? fy1 : (1.0f - fy1); in computeVertexReference()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp2402 const float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f); in computeVertexReference() local
2405 const bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference()
2407 const float ty = tri ? fy1 : (1.0f-fy1); in computeVertexReference()
/external/deqp/modules/egl/
DteglGLES2SharingTests.cpp435 float fy1 = 0.125f * (float)((int)((float)i / 16.0f)) - 1.0f; in renderResource() local
442 int y1 = deRoundFloatToInt32(((float)height * fy1 / 2.0f) + (float)oy); in renderResource()
/external/libyuv/files/source/
Drow_mmi.cc5798 [fy1] "f"(source_y_fraction), [fy0] "f"(fy0), [c0] "f"(c0), in InterpolateRow_MMI()