Searched refs:fx1 (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
76 const deUint32 fx0 = (1u<<NUM_SUBPIXEL_BITS) - fx1;
79 const deUint32 sum = fx0*fy0*p00 + fx1*fy0*p10 + fx0*fy1*p01 + fx1*fy1*p11;
96 deUint32 fx1 = u-(x0<<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.cpp173 int fx1 = x1 & poly_base_mask; local
183 m_cur_cell.add_cover(delta, (fx1 + fx2) * delta);
186 p = (poly_base_size - fx1) * (y2 - y1);
191 p = fx1 * (y2 - y1);
202 m_cur_cell.add_cover(delta, (fx1 + first) * delta);
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
H A DSDL_QuartzWM.m358 int fx1 = frame.origin.x;
360 int fx2 = frame.size.width + fx1;
379 if (fx1 >= vx2 || vx1 >= fx2 || fy1 >= vy2 || vy1 >= fy2)
382 cx1 = (fx1 < vx1) ? vx1 : fx1;
/external/chromium_org/third_party/skia/src/opts/
H A DSkBitmapProcState_matrix_neon.h68 SkFractionalInt fx1, fx2, fx3; local
72 fx1 = fx+dx;
73 fx2 = fx1+dx;
77 lbase = vsetq_lane_s32(SkFractionalIntToFixed(fx1), lbase, 1);
/external/deqp/modules/gles3/functional/
H A Des3fInstancedRenderingTests.cpp359 float fx1 = -1.0f + (float)(x+1) / (float)QUAD_GRID_SIZE * 2.0f / (float)m_numInstances; local
363 // Vertices of a quad's lower-left triangle: (fx0, fy0), (fx1, fy0) and (fx0, fy1)
366 m_gridVertexPositions.push_back(fx1);
371 // Vertices of a quad's upper-right triangle: (fx1, fy1), (fx0, fy1) and (fx1, fy0)
372 m_gridVertexPositions.push_back(fx1);
376 m_gridVertexPositions.push_back(fx1);
H A Des3fVertexTextureTests.cpp290 float fx1 = (float)(x+1) / gridSizeFloat; local
294 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) };
/external/skia/src/opts/
H A DSkBitmapProcState_matrix_neon.h68 SkFractionalInt fx1, fx2, fx3; local
72 fx1 = fx+dx;
73 fx2 = fx1+dx;
77 lbase = vsetq_lane_s32(SkFractionalIntToFixed(fx1), lbase, 1);
/external/qemu/android/skin/
H A Dargb.h353 int fx1 = sx1 & 0xffff; local
369 fx1 = 65536 - fx1;
377 ARGB_REDUCE(spix,cross(fx1,fy1));
397 ARGB_REDUCE(spix,fx1);
418 ARGB_REDUCE(spix,cross(fx1,fy2));
/external/deqp/modules/gles2/functional/
H A Des2fBufferTestUtil.cpp328 float fx1 = 2.0f * sx1 - 1.0f; local
334 positions[baseNdx+2] = tcu::Vec2(fx1, fy0);
335 positions[baseNdx+3] = tcu::Vec2(fx1, fy1);
H A Des2fVertexTextureTests.cpp240 float fx1 = (float)(x+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.cpp721 float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); local
725 bool tri = fx1 + fy1 <= 1.0f;
726 float tx = tri ? fx1 : (1.0f-fx1);
H A DglsBufferTestUtil.cpp488 float fx1 = 2.0f * sx1 - 1.0f; local
494 positions[baseNdx+2] = tcu::Vec2(fx1, fy0);
495 positions[baseNdx+3] = tcu::Vec2(fx1, fy1);
/external/chromium_org/third_party/freetype/src/smooth/
H A Dftgrays.c633 TCoord ex1, ex2, fx1, fx2, delta, mod; local
642 fx1 = (TCoord)( x1 - SUBPIXELS( ex1 ) );
657 ras.area += (TArea)(( fx1 + fx2 ) * delta);
665 p = ( ONE_PIXEL - fx1 ) * ( y2 - y1 );
671 p = fx1 * ( y2 - y1 );
685 ras.area += (TArea)(( fx1 + first ) * delta);
/external/freetype/src/smooth/
H A Dftgrays.c682 TCoord ex1, ex2, fx1, fx2, delta, mod; local
691 fx1 = (TCoord)( x1 - SUBPIXELS( ex1 ) );
706 ras.area += (TArea)(( fx1 + fx2 ) * delta);
714 p = ( ONE_PIXEL - fx1 ) * ( y2 - y1 );
720 p = fx1 * ( y2 - y1 );
728 ras.area += (TArea)(( fx1 + first ) * delta);
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/smooth/
H A Dftgrays.c645 TCoord ex1, ex2, fx1, fx2, delta, mod; local
654 fx1 = (TCoord)( x1 - SUBPIXELS( ex1 ) );
669 ras.area += (TArea)(( fx1 + fx2 ) * delta);
677 p = ( ONE_PIXEL - fx1 ) * ( y2 - y1 );
683 p = fx1 * ( y2 - y1 );
697 ras.area += (TArea)(( fx1 + first ) * delta);
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_aaline.c291 const GLfloat fx1 = sx - info->qx1; local
299 GLfloat cross1 = (info->ex1 * fy1 - info->ey1 * fx1);
/external/mesa3d/src/mesa/swrast/
H A Ds_aaline.c291 const GLfloat fx1 = sx - info->qx1; local
299 GLfloat cross1 = (info->ex1 * fy1 - info->ey1 * fx1);
/external/deqp/modules/egl/
H A DteglGLES2SharingTests.cpp473 float fx1 = 0.125f * (i % 16) - 1.0f; local
480 int x1 = deRoundFloatToInt32((width * fx1 / 2.0f) + ox);

Completed in 414 milliseconds