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

/external/deqp/framework/common/
H A DtcuBilinearImageCompare.cpp74 inline deUint8 interpolateChannel (deUint32 fx1, deUint32 fy1, deUint8 p00, deUint8 p01, deUint8 p10, deUint8 p11) argument
77 const deUint32 fy0 = (1u<<NUM_SUBPIXEL_BITS) - fy1;
79 const deUint32 sum = fx0*fy0*p00 + fx1*fy0*p10 + fx0*fy1*p01 + fx1*fy1*p11;
97 deUint32 fy1 = v-(y0<<NUM_SUBPIXEL_BITS);
106 res |= interpolateChannel(fx1, fy1, getChannel<0>(p00), getChannel<0>(p01), getChannel<0>(p10), getChannel<0>(p11)) << RGBA::RED_SHIFT;
107 res |= interpolateChannel(fx1, fy1, getChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), getChannel<1>(p11)) << RGBA::GREEN_SHIFT;
108 res |= interpolateChannel(fx1, fy1, getChannel<2>(p00), getChannel<2>(p01), getChannel<2>(p10), getChannel<2>(p11)) << RGBA::BLUE_SHIFT;
109 res |= interpolateChannel(fx1, fy1, getChannel<3>(p00), getChannel<3>(p01), getChannel<3>(p10), getChannel<3>(p11)) << RGBA::ALPHA_SHIFT;
/external/pdfium/core/src/fxge/agg/agg23/
H A Dfx_agg_rasterizer_scanline_aa.cpp244 int fy1 = y1 & poly_base_mask; local
249 render_hline(ey1, x1, fy1, x2, fy2);
263 delta = first - fy1;
278 p = (poly_base_size - fy1) * dx;
281 p = fy1 * dx;
293 render_hline(ey1, x1, fy1, x_from, first);
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_tritemp.h174 const GLfixed fy1 = FloatToFixed(v1->attrib[FRAG_ATTRIB_WPOS][1] - 0.5F) & snapMask; local
176 if (fy0 <= fy1) {
177 if (fy1 <= fy2) {
180 vMin_fy = fy0; vMid_fy = fy1; vMax_fy = fy2;
185 vMin_fy = fy2; vMid_fy = fy0; vMax_fy = fy1;
190 vMin_fy = fy0; vMid_fy = fy2; vMax_fy = fy1;
198 vMin_fy = fy1; vMid_fy = fy0; vMax_fy = fy2;
201 else if (fy2 <= fy1) {
204 vMin_fy = fy2; vMid_fy = fy1; vMax_fy = fy0;
210 vMin_fy = fy1; vMid_f
[all...]
H A Ds_aaline.c292 const GLfloat fy1 = sy - info->qy1; local
299 GLfloat cross1 = (info->ex1 * fy1 - info->ey1 * fx1);
/external/mesa3d/src/mesa/swrast/
H A Ds_tritemp.h174 const GLfixed fy1 = FloatToFixed(v1->attrib[FRAG_ATTRIB_WPOS][1] - 0.5F) & snapMask; local
176 if (fy0 <= fy1) {
177 if (fy1 <= fy2) {
180 vMin_fy = fy0; vMid_fy = fy1; vMax_fy = fy2;
185 vMin_fy = fy2; vMid_fy = fy0; vMax_fy = fy1;
190 vMin_fy = fy0; vMid_fy = fy2; vMax_fy = fy1;
198 vMin_fy = fy1; vMid_fy = fy0; vMax_fy = fy2;
201 else if (fy2 <= fy1) {
204 vMin_fy = fy2; vMid_fy = fy1; vMax_fy = fy0;
210 vMin_fy = fy1; vMid_f
[all...]
H A Ds_aaline.c292 const GLfloat fy1 = sy - info->qy1; local
299 GLfloat cross1 = (info->ex1 * fy1 - info->ey1 * fx1);
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
H A DSDL_QuartzWM.m359 int fy1 = frame.origin.y;
361 int fy2 = frame.size.height + fy1;
379 if (fx1 >= vx2 || vx1 >= fx2 || fy1 >= vy2 || vy1 >= fy2)
384 cy1 = (fy1 < vy1) ? vy1 : fy1;
/external/deqp/modules/gles3/functional/
H A Des3fInstancedRenderingTests.cpp361 float fy1 = -1.0f + (float)(y+1) / (float)QUAD_GRID_SIZE * 2.0f; local
363 // Vertices of a quad's lower-left triangle: (fx0, fy0), (fx1, fy0) and (fx0, fy1)
369 m_gridVertexPositions.push_back(fy1);
371 // Vertices of a quad's upper-right triangle: (fx1, fy1), (fx0, fy1) and (fx1, fy0)
373 m_gridVertexPositions.push_back(fy1);
375 m_gridVertexPositions.push_back(fy1);
H A Des3fVertexTextureTests.cpp292 float fy1 = (float)(y+1) / gridSizeFloat; local
294 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) };
/external/qemu/android/skin/
H A Dargb.h355 int fy1 = sy1 & 0xffff; local
370 fy1 = 65536 - fy1;
377 ARGB_REDUCE(spix,cross(fx1,fy1));
383 ARGB_REDUCE(spix,fy1);
389 ARGB_REDUCE(spix,cross(fx2,fy1));
/external/deqp/modules/gles2/functional/
H A Des2fBufferTestUtil.cpp329 float fy1 = 2.0f * sy1 - 1.0f; local
333 positions[baseNdx+1] = tcu::Vec2(fx0, fy1);
335 positions[baseNdx+3] = tcu::Vec2(fx1, fy1);
H A Des2fVertexTextureTests.cpp242 float fy1 = (float)(y+1) / gridSizeFloat; local
244 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) };
/external/deqp/modules/glshared/
H A DglsShaderRenderCase.cpp722 float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f); local
725 bool tri = fx1 + fy1 <= 1.0f;
727 float ty = tri ? fy1 : (1.0f-fy1);
H A DglsBufferTestUtil.cpp489 float fy1 = 2.0f * sy1 - 1.0f; local
493 positions[baseNdx+1] = tcu::Vec2(fx0, fy1);
495 positions[baseNdx+3] = tcu::Vec2(fx1, fy1);
/external/chromium_org/third_party/freetype/src/smooth/
H A Dftgrays.c740 TCoord ey1, ey2, fy1, fy2, mod; local
748 fy1 = (TCoord)( ras.y - ras.last_ey );
776 gray_render_scanline( RAS_VAR_ ey1, ras.x, fy1, to_x, fy2 );
797 delta = (int)( first - fy1 );
823 p = ( ONE_PIXEL - fy1 ) * dx;
829 p = fy1 * dx;
844 gray_render_scanline( RAS_VAR_ ey1, ras.x, fy1, x, (TCoord)first );
/external/freetype/src/smooth/
H A Dftgrays.c777 TCoord ey1, ey2, fy1, fy2, mod; local
785 fy1 = (TCoord)( ras.y - ras.last_ey );
810 gray_render_scanline( RAS_VAR_ ey1, ras.x, fy1, to_x, fy2 );
831 delta = (int)( first - fy1 );
857 p = ( ONE_PIXEL - fy1 ) * dx;
863 p = fy1 * dx;
872 gray_render_scanline( RAS_VAR_ ey1, ras.x, fy1, x, (TCoord)first );
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/smooth/
H A Dftgrays.c752 TCoord ey1, ey2, fy1, fy2, mod; local
760 fy1 = (TCoord)( ras.y - ras.last_ey );
788 gray_render_scanline( RAS_VAR_ ey1, ras.x, fy1, to_x, fy2 );
809 delta = (int)( first - fy1 );
835 p = ( ONE_PIXEL - fy1 ) * dx;
841 p = fy1 * dx;
856 gray_render_scanline( RAS_VAR_ ey1, ras.x, fy1, x, (TCoord)first );
/external/deqp/modules/egl/
H A DteglGLES2SharingTests.cpp474 float fy1 = 0.125f * ((int)(i / 16.0f)) - 1.0f; local
481 int y1 = deRoundFloatToInt32((height * fy1 / 2.0f) + oy);

Completed in 3542 milliseconds