/external/deqp/framework/common/ |
tcuBilinearImageCompare.cpp | 74 inline deUint8 interpolateChannel (deUint32 fx1, deUint32 fy1, deUint8 p00, deUint8 p01, deUint8 p10, deUint8 p11) 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/freetype/src/smooth/ |
ftgrays.c | 696 TCoord ey1, ey2, fy1, fy2, first, delta, mod; local 709 fy1 = (TCoord)( ras.y - SUBPIXELS( ey1 ) ); 715 gray_render_scanline( RAS_VAR_ ey1, ras.x, fy1, to_x, fy2 ); 741 delta = first - fy1; 769 p = ( ONE_PIXEL - fy1 ) * dx; 775 p = fy1 * dx; 784 gray_render_scanline( RAS_VAR_ ey1, ras.x, fy1, x, first ); 837 TPos dx, dy, fx1, fy1, fx2, fy2; local 853 fy1 = ras.y - SUBPIXELS( ey1 ); 871 ras.cover += ( fy2 - fy1 ); [all...] |
/external/pdfium/third_party/agg23/ |
agg_rasterizer_scanline_aa.cpp | 238 int fy1 = y1 & poly_base_mask; local 243 render_hline(ey1, x1, fy1, x2, fy2); 257 delta = first - fy1; 272 pdfium::base::CheckedNumeric<int> safeP = poly_base_size - fy1; 278 safeP = fy1; 293 render_hline(ey1, x1, fy1, x_from, first);
|
/external/mesa3d/src/mesa/swrast/ |
s_tritemp.h | 179 const GLfixed fy1 = FloatToFixed(v1->attrib[VARYING_SLOT_POS][1] - 0.5F) & snapMask; local 181 if (fy0 <= fy1) { 182 if (fy1 <= fy2) { 185 vMin_fy = fy0; vMid_fy = fy1; vMax_fy = fy2; 190 vMin_fy = fy2; vMid_fy = fy0; vMax_fy = fy1; 195 vMin_fy = fy0; vMid_fy = fy2; vMax_fy = fy1; 203 vMin_fy = fy1; vMid_fy = fy0; vMax_fy = fy2; 206 else if (fy2 <= fy1) { 209 vMin_fy = fy2; vMid_fy = fy1; vMax_fy = fy0; 215 vMin_fy = fy1; vMid_fy = fy2; vMax_fy = fy0 [all...] |
s_aaline.c | 294 const GLfloat fy1 = sy - info->qy1; local 301 GLfloat cross1 = (info->ex1 * fy1 - info->ey1 * fx1);
|
/external/pdfium/xfa/fwl/theme/ |
cfwl_widgettp.h | 70 FX_FLOAT fy1,
|
cfwl_widgettp.cpp | 142 FX_FLOAT fy1, 153 CFX_PointF begPoint(fx1, fy1);
|
/external/deqp/modules/gles3/functional/ |
es3fInstancedRenderingTests.cpp | 361 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);
|
es3fVertexTextureTests.cpp | 294 float fy1 = (float)(y+1) / gridSizeFloat; local 296 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) }; [all...] |
/external/deqp/modules/gles2/functional/ |
es2fBufferTestUtil.cpp | 329 float fy1 = 2.0f * sy1 - 1.0f; local 333 positions[baseNdx+1] = tcu::Vec2(fx0, fy1); 335 positions[baseNdx+3] = tcu::Vec2(fx1, fy1);
|
es2fVertexTextureTests.cpp | 245 float fy1 = (float)(y+1) / gridSizeFloat; local 247 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) }; [all...] |
/external/libvncserver/libvncserver/ |
selbox.c | 218 int fx1,fy1,fx2,fy2; /* for font bbox */ local 223 rfbWholeFontBBox(font, &fx1, &fy1, &fx2, &fy2); 224 selData.textH = fy2-fy1;
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawInstancedTests.cpp | 670 const float fy1 = -1.0f + (float)(y+1) / (float)QUAD_GRID_SIZE * 2.0f; local 672 // Vertices of a quad's lower-left triangle: (fx0, fy0), (fx1, fy0) and (fx0, fy1) 675 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx0, fy1, 1.0f, 1.0f), tcu::RGBA::green().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())); 679 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx0, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
|
/external/deqp/modules/glshared/ |
glsShaderRenderCase.cpp | 706 float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f); local 709 bool tri = fx1 + fy1 <= 1.0f; 711 float ty = tri ? fy1 : (1.0f-fy1);
|
glsBufferTestUtil.cpp | 490 float fy1 = 2.0f * sy1 - 1.0f; local 494 positions[baseNdx+1] = tcu::Vec2(fx0, fy1); 496 positions[baseNdx+3] = tcu::Vec2(fx1, fy1);
|
/external/pdfium/third_party/freetype/src/smooth/ |
ftgrays.c | 788 TCoord ey1, ey2, fy1, fy2, mod; local 796 fy1 = (TCoord)( ras.y - SUBPIXELS( ey1 ) ); 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 ); [all...] |
/external/deqp/modules/egl/ |
teglGLES2SharingTests.cpp | 435 float fy1 = 0.125f * (float)((int)((float)i / 16.0f)) - 1.0f; local 442 int y1 = deRoundFloatToInt32(((float)height * fy1 / 2.0f) + (float)oy); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRender.cpp | 3106 const float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f); local [all...] |