/external/deqp/framework/common/ |
H A D | tcuBilinearImageCompare.cpp | 74 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 D | fx_agg_rasterizer_scanline_aa.cpp | 167 int fx1 = x1 & poly_base_mask; local 177 m_cur_cell.add_cover(delta, (fx1 + fx2) * delta); 180 p = (poly_base_size - fx1) * (y2 - y1); 185 p = fx1 * (y2 - y1); 196 m_cur_cell.add_cover(delta, (fx1 + first) * delta);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fInstancedRenderingTests.cpp | 359 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 D | es3fVertexTextureTests.cpp | 290 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 D | SkBitmapProcState_matrix_neon.h | 68 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/gles2/functional/ |
H A D | es2fBufferTestUtil.cpp | 328 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 D | es2fVertexTextureTests.cpp | 240 float fx1 = (float)(x+1) / gridSizeFloat; local 244 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) };
|
/external/libvncserver/libvncserver/ |
H A D | selbox.c | 218 int fx1,fy1,fx2,fy2; /* for font bbox */ local 223 rfbWholeFontBBox(font, &fx1, &fy1, &fx2, &fy2); 228 selData.xhot = -fx1;
|
/external/deqp/modules/glshared/ |
H A D | glsShaderRenderCase.cpp | 721 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 D | glsBufferTestUtil.cpp | 489 float fx1 = 2.0f * sx1 - 1.0f; local 495 positions[baseNdx+2] = tcu::Vec2(fx1, fy0); 496 positions[baseNdx+3] = tcu::Vec2(fx1, fy1);
|
/external/freetype/src/smooth/ |
H A D | ftgrays.c | 698 TCoord ex1, ex2, fx1, fx2, delta, mod; local 707 fx1 = (TCoord)( x1 - SUBPIXELS( ex1 ) ); 722 ras.area += (TArea)(( fx1 + fx2 ) * delta); 730 p = ( ONE_PIXEL - fx1 ) * ( y2 - y1 ); 736 p = fx1 * ( y2 - y1 ); 744 ras.area += (TArea)(( fx1 + first ) * delta);
|
/external/pdfium/third_party/freetype/src/smooth/ |
H A D | ftgrays.c | 682 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/mesa3d/src/mesa/swrast/ |
H A D | s_aaline.c | 291 const GLfloat fx1 = sx - info->qx1; local 299 GLfloat cross1 = (info->ex1 * fy1 - info->ey1 * fx1);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
H A D | FastMath.java | 1488 double fx1 = xpb/xpa; 1490 double epsilon = 0.5 * fx1 + 1.0; 1491 epsilon = epsilon * fx1;
|
/external/deqp/modules/egl/ |
H A D | teglGLES2SharingTests.cpp | 434 float fx1 = 0.125f * (i % 16) - 1.0f; local 441 int x1 = deRoundFloatToInt32((width * fx1 / 2.0f) + ox);
|