Searched defs:fx1 (Results 1 - 17 of 17) 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/xfa/fwl/theme/
H A Dcfwl_widgettp.cpp141 FX_FLOAT fx1,
153 CFX_PointF begPoint(fx1, fy1);
140 DrawAxialShading(CFX_Graphics* pGraphics, FX_FLOAT fx1, FX_FLOAT fy1, FX_FLOAT fx2, FX_FLOAT fy2, FX_ARGB beginColor, FX_ARGB endColor, CFX_Path* path, int32_t fillMode, CFX_Matrix* pMatrix) argument
/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.cpp243 float fx1 = (float)(x+1) / gridSizeFloat; local
247 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) };
/external/libvncserver/libvncserver/
H A Dselbox.c218 int fx1,fy1,fx2,fy2; /* for font bbox */ local
223 rfbWholeFontBBox(font, &fx1, &fy1, &fx2, &fy2);
228 selData.xhot = -fx1;
/external/pdfium/third_party/agg23/
H A Dagg_rasterizer_scanline_aa.cpp167 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/skia/src/opts/
H A DSkBitmapProcState_matrix_neon.h69 SkFractionalInt fx1, fx2, fx3; local
73 fx1 = fx+dx;
74 fx2 = fx1+dx;
78 lbase = vsetq_lane_s32(SkFractionalIntToFixed(fx1), lbase, 1);
/external/deqp/modules/egl/
H A DteglGLES2SharingTests.cpp434 float fx1 = 0.125f * (float)(i % 16) - 1.0f; local
441 int x1 = deRoundFloatToInt32(((float)width * fx1 / 2.0f) + (float)ox);
/external/deqp/modules/glshared/
H A DglsBufferTestUtil.cpp489 float fx1 = 2.0f * sx1 - 1.0f; local
495 positions[baseNdx+2] = tcu::Vec2(fx1, fy0);
496 positions[baseNdx+3] = tcu::Vec2(fx1, fy1);
H A DglsShaderRenderCase.cpp705 float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); local
709 bool tri = fx1 + fy1 <= 1.0f;
710 float tx = tri ? fx1 : (1.0f-fx1);
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawInstancedTests.cpp668 const float fx1 = -1.0f + (float)(x+1) / (float)QUAD_GRID_SIZE * 2.0f / (float)instanceCount; local
672 // Vertices of a quad's lower-left triangle: (fx0, fy0), (fx1, fy0) and (fx0, fy1)
674 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy0, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
677 // Vertices of a quad's upper-right triangle: (fx1, fy1), (fx0, fy1) and (fx1, fy0)
678 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
680 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy0, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
/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.cpp292 float fx1 = (float)(x+1) / gridSizeFloat; local
296 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) };
/external/mesa3d/src/mesa/swrast/
H A Ds_aaline.c293 const GLfloat fx1 = sx - info->qx1; local
301 GLfloat cross1 = (info->ex1 * fy1 - info->ey1 * fx1);
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.cpp3105 const float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); local
3109 const bool tri = fx1 + fy1 <= 1.0f;
3110 const float tx = tri ? fx1 : (1.0f-fx1);
/external/freetype/src/smooth/
H A Dftgrays.c601 TCoord ex1, ex2, fx1, fx2, first, dy, delta, mod; local
616 fx1 = (TCoord)( x1 - SUBPIXELS( ex1 ) );
632 p = ( ONE_PIXEL - fx1 ) * dy;
638 p = fx1 * dy;
646 ras.area += (TArea)( ( fx1 + first ) * delta );
678 fx1 = ONE_PIXEL - first;
683 ras.area += (TArea)( ( fx1 + fx2 ) * dy );
837 TPos dx, dy, fx1, fy1, fx2, fy2; local
852 fx1 = ras.x - SUBPIXELS( ex1 );
872 ras.area += ( fy2 - fy1 ) * fx1 *
[all...]
/external/pdfium/third_party/freetype/src/smooth/
H A Dftgrays.c693 TCoord ex1, ex2, fx1, fx2, delta, mod; local
702 fx1 = (TCoord)( x1 - SUBPIXELS( ex1 ) );
717 ras.area += (TArea)(( fx1 + fx2 ) * delta);
725 p = ( ONE_PIXEL - fx1 ) * ( y2 - y1 );
731 p = fx1 * ( y2 - y1 );
739 ras.area += (TArea)(( fx1 + first ) * delta);

Completed in 600 milliseconds