/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/ |
H A D | e_hypotf.c | 30 float a,b,t1,t2,y1,y2,w; local 77 SET_FLOAT_WORD(y1,hb&0xfffff000); 78 y2 = b - y1; 81 w = __ieee754_sqrtf(t1*y1-(w*(-w)-(t1*y2+t2*b)));
|
H A D | e_hypotl.c | 37 * t1*y1+((x-y)*(x-y)+(t1*y2+t2*y)) 39 * y1= y with lower 32 bits chopped, y2 = y-y1. 63 long double a,b,t1,t2,y1,y2,w; local 119 SET_LDOUBLE_WORDS(y1,eb,high,0); 120 y2 = b - y1; 124 w = __ieee754_sqrtl(t1*y1-(w*(-w)-(t1*y2+t2*b)));
|
H A D | s_sin.c | 611 double sn,ssn,cs,ccs,s,c,w[2],y,y1,y2,c1,c2,xx,cor,res; local 625 y1 = (y+t22)-t22; 626 y2 = y - y1; 630 y=sn+c1*y1; 631 cor = cor+((sn-y)+c1*y1); 647 double sn,ssn,cs,ccs,s,c,w[2],y,y1,y2,e1,e2,xx,cor,res,del; local 670 y1 = (y+t22)-t22; 671 y2 = (y - y1)+del; 675 y=cs-e1*y1; 676 cor = cor+((cs-y)-e1*y1); 746 double sn,ssn,cs,ccs,s,c,w[2],y,y1,y2,c1,c2,xx,cor,res; local 788 double sn,ssn,cs,ccs,s,c,w[2],y,y1,y2,e1,e2,xx,cor,res; local 865 double sn,ssn,cs,ccs,s,c,w[2],y,y1,y2,c1,c2,xx,cor,res; local 908 double sn,ssn,cs,ccs,s,c,w[2],y,y1,y2,e1,e2,xx,cor,res; local 950 double sn,ssn,cs,ccs,s,c,w[2],y,y1,y2,e1,e2,xx,cor,res; local 1042 double sn,ssn,cs,ccs,s,c,w[2],y,y1,y2,c1,c2,xx,cor,res; local 1086 double sn,ssn,cs,ccs,s,c,w[2],y,y1,y2,e1,e2,xx,cor,res; local [all...] |
/haiku-fatelf/headers/libs/agg/ |
H A D | agg_renderer_outline_image.h | 48 int y1 = ufloor(src_y); local 49 int y2 = y1 + 1; 50 color_type pix1 = (y1 < 0) ? color_type::no_color() : m_source.pixel(x, y1); 52 return pix1.gradient(pix2, src_y - y1); 266 distance_interpolator4(int x1, int y1, int x2, int y2, argument 270 m_dy(y2 - y1), 272 m_dy_start(line_mr(sy) - line_mr(y1)), 288 int dy = iround(((y2 - y1) << line_subpixel_shift) / d); 292 (y + line_subpixel_scale/2 - (y1 835 clip_box(double x1, double y1, double x2, double y2) argument 943 int y1 = lp.y1; local [all...] |
H A D | agg_rasterizer_scanline_aa.h | 84 // vertices, i.e. move_to(x1, y1); line_to(x2, y2); line_to(x3, y3); 155 void clip_box(double x1, double y1, double x2, double y2); 183 void edge(int x1, int y1, int x2, int y2); 184 void edge_d(double x1, double y1, double x2, double y2); 340 void rasterizer_scanline_aa<Clip>::clip_box(double x1, double y1, argument 344 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), 431 void rasterizer_scanline_aa<Clip>::edge(int x1, int y1, int x2, int y2) argument 434 m_clipper.move_to(conv_type::downscale(x1), conv_type::downscale(y1)); 443 void rasterizer_scanline_aa<Clip>::edge_d(double x1, double y1, argument 447 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); [all...] |
H A D | agg_rasterizer_cells_aa.h | 70 void line(int x1, int y1, int x2, int y2); 102 void render_hline(int ey, int x1, int y1, int x2, int y2); 212 int x1, int y1, 224 if(y1 == y2) 233 delta = y2 - y1; 241 p = (poly_subpixel_scale - fx1) * (y2 - y1); 249 p = fx1 * (y2 - y1); 269 y1 += delta; 273 p = poly_subpixel_scale * (y2 - y1 + delta); 297 y1 211 render_hline(int ey, int x1, int y1, int x2, int y2) argument 316 line(int x1, int y1, int x2, int y2) argument [all...] |
H A D | agg_span_gouraud.h | 49 double x1, double y1, 56 triangle(x1, y1, x2, y2, x3, y3, d); 74 void triangle(double x1, double y1, argument 80 m_coord[0].y = m_y[0] = y1; 46 span_gouraud(const color_type& c1, const color_type& c2, const color_type& c3, double x1, double y1, double x2, double y2, double x3, double y3, double d) argument
|
H A D | agg_span_interpolator_linear.h | 63 int y1 = iround(ty * subpixel_scale); local 72 m_li_y = dda2_line_interpolator(y1, y2, len); 174 int y1 = iround(ty * subpixel_scale); local 181 m_li_y = dda2_line_interpolator(y1, iround(ty * subpixel_scale), len);
|
/haiku-fatelf/src/servers/app/font/ |
H A D | FontEngine.cpp | 68 double x1, y1, x2, y2, x3, y3; local 120 y1 = int26p6_to_dbl(v_start.y); 121 if (flip_y) y1 = -y1; 123 value_type(dbl_to_int26p6(y1))); 133 y1 = int26p6_to_dbl(point->y); 134 if (flip_y) y1 = -y1; 136 value_type(dbl_to_int26p6(y1))); 159 y1 [all...] |
/haiku-fatelf/src/servers/app/drawing/Painter/ |
H A D | agg_renderer_region.h | 61 int bounding_ymin() const { return m_bounds.y1; } 113 if(r.top < m_bounds.y1) m_bounds.y1 = r.top; 183 void copy_vline(int x, int y1, int y2, const color_type& c) argument 188 m_ren.copy_vline(x, y1, y2, c); 206 void blend_vline(int x, int y1, int y2, argument 212 m_ren.blend_vline(x, y1, y2, c, cover); 218 void copy_bar(int x1, int y1, int x2, int y2, const color_type& c) argument 223 m_ren.copy_bar(x1, y1, x2, y2, c); 229 void blend_bar(int x1, int y1, in argument [all...] |
H A D | agg_rasterizer_scanline_aa_subpix.h | 75 void clip_box(double x1, double y1, double x2, double y2); 103 void edge(int x1, int y1, int x2, int y2); 104 void edge_d(double x1, double y1, double x2, double y2); 378 void rasterizer_scanline_aa_subpix<Clip>::clip_box(double x1, double y1, argument 382 m_clipper.clip_box(3 * conv_type::downscale(x1), conv_type::upscale(y1), 469 void rasterizer_scanline_aa_subpix<Clip>::edge(int x1, int y1, int x2, int y2) argument 472 m_clipper.move_to(conv_type::downscale(x1), conv_type::downscale(y1)); 481 void rasterizer_scanline_aa_subpix<Clip>::edge_d(double x1, double y1, argument 485 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1));
|
/haiku-fatelf/src/add-ons/accelerants/ati/ |
H A D | mach64_overlay.cpp | 38 int32 y1 = (window->v_start < 0) ? 0 : window->v_start; local 55 if (y2 < y1 + 4) 56 y2 = y1 + 4; 60 uint32 vertScale = (buffer->height << 12) / (y2 - y1 + 1); 118 OUTREG(OVERLAY_Y_X_START, OVERLAY_LOCK_START | (x1 << 16) | y1);
|
H A D | rage128_overlay.cpp | 116 int32 y1 = window->v_start; local 130 tmp = (y1 & 0x0000ffff) + 0x00018000; 142 OUTREG(R128_OV0_Y_X_START, x1 | y1 << 16);
|
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/ |
H A D | tcd.c | 40 fprintf(fd, " tw=%d, th=%d x0=%d x1=%d y0=%d y1=%d\n", 41 img->tw, img->th, tcd->image->x0, tcd->image->x1, tcd->image->y0, tcd->image->y1); 46 fprintf(fd, " x0=%d, y0=%d, x1=%d, y1=%d, numcomps=%d\n", 47 tile->x0, tile->y0, tile->x1, tile->y1, tile->numcomps); 52 " x0=%d, y0=%d, x1=%d, y1=%d, numresolutions=%d\n", 53 tilec->x0, tilec->y0, tilec->x1, tilec->y1, tilec->numresolutions); 58 " x0=%d, y0=%d, x1=%d, y1=%d, pw=%d, ph=%d, numbands=%d\n", 59 res->x0, res->y0, res->x1, res->y1, res->pw, res->ph, res->numbands); 64 " x0=%d, y0=%d, x1=%d, y1=%d, stepsize=%f, numbps=%d\n", 65 band->x0, band->y0, band->x1, band->y1, ban 617 unsigned int x0 = 0, y0 = 0, x1 = 0, y1 = 0, w, h; local [all...] |
/haiku-fatelf/src/tests/kits/interface/picture/ |
H A D | SVGViewView.cpp | 481 float x, y, x1, y1, x2, y2, rx, ry, angle;
555 y1 = GetFloat(&ptr);
563 y1 = GetFloat(&ptr);
570 y1 += pos.y;
579 controlPoints[0].Set(x1, y1);
594 y1 = GetFloat(&ptr);
600 y1 = GetFloat(&ptr);
605 y1 += pos.y;
613 pos.y + 2.0f / 3.0f * (y1 - pos.y));
615 y1 480 float x, y, x1, y1, x2, y2, rx, ry, angle; local [all...] |
/haiku-fatelf/src/add-ons/translators/hpgs/lib/ |
H A D | hpgsscanline.c | 223 double y1, 227 double ymin0 = (y0 < y1) ? y0 : y1; 231 double ymax0 = (y0 > y1) ? y0 : y1; 252 if (y1 > y0) o0 = 1; 253 else if (y1 < y0) o0 = -1; 264 else if (y1 > y3) o1 = -1; 265 else if (y1 < y3) o1 = 1; 325 y1l = 0.5 * (y0 + y1); 219 bezier_clipper_cut(hpgs_paint_clipper *c, hpgs_paint_path *path, int i, double t0, double t1, double y0, double y1, double y2, double y3 ) argument 668 bezier_clipper_thin_cut(hpgs_bezier_clipper_thin_cut_data *d, double t0, double t1, double y0, double y1, double y2, double y3 ) argument 848 double x0,x1,y0,y1; local 1272 bezier_clipper_alpha_cut_isolate_extrema(hpgs_bezier_clipper_alpha_cut_data *d, double t0, double t1, double y0, double y1, double y2, double y3, hpgs_bool do_max ) argument 1335 bezier_clipper_alpha_cut(hpgs_bezier_clipper_alpha_cut_data *d, double t0, double t1, double y0, double y1, double y2, double y3 ) argument 1514 double dscan0,dscan1,rdscan0,rdscan1,x0,y0,x1,y1; local [all...] |
/haiku-fatelf/headers/os/add-ons/graphics/ |
H A D | GraphicsCard.h | 95 int16 y1; member in struct:__anon163 104 int16 y1; member in struct:__anon164
|
/haiku-fatelf/src/preferences/screensaver/ |
H A D | PreviewView.cpp | 37 scale2(int x1, int x2, int y1, int y2,BRect area) argument 39 return scale_direct(sampleX[x1],sampleX[x2],sampleY[y1],sampleY[y2],area);
|
/haiku-fatelf/src/libs/agg/src/ |
H A D | agg_bezier_arc.cpp | 158 // Calculate (x1, y1) 161 double y1 = -sin_a * dx2 + cos_a * dy2; local 168 double py1 = y1 * y1; 187 double cx1 = coef * ((rx * y1) / ry); 201 double uy = (y1 - cy1) / ry; 203 double vy = (-y1 - cy1) / ry;
|
/haiku-fatelf/src/apps/icon-o-matic/import_export/svg/ |
H A D | DocumentBuilder.cpp | 138 DocumentBuilder::curve3(double x1, double y1, // Q, q argument 142 fPathStorage.curve3_rel(x1, y1, x, y); 144 fPathStorage.curve3(x1, y1, x, y); 159 DocumentBuilder::curve4(double x1, double y1, // C, c argument 164 fPathStorage.curve4_rel(x1, y1, x2, y2, x, y); 166 fPathStorage.curve4(x1, y1, x2, y2, x, y); 626 double x1, y1; local 627 unsigned cmd = source.vertex(&x1, &y1); 666 //printf("move to (%.2f, %.2f) (subPath: %ld)\n", x1, y1, subPath); 678 if (!path->AddPoint(BPoint(x1, y1))) [all...] |
/haiku-fatelf/src/libs/ncurses/test/ |
H A D | worm.c | 392 int x1, y1; local 394 y1 = w->ypos[h]; 395 if (y1 < LINES 397 && --ref[y1][x1] == 0) { 398 move(y1, x1);
|
/haiku-fatelf/src/add-ons/translators/exr/openexr/imath/ |
H A D | ImathRoots.h | 174 std::complex<T> y1 (-(u + v) / T (2) + 188 x[1] = y1.real() - r / 3; 194 x[1] = y1.real() - r / 3;
|
/haiku-fatelf/src/kits/interface/ |
H A D | AffineTransform.cpp | 591 double y1 = 0.0; local 594 Apply(&x1, &y1); 596 return atan2(y2 - y1, x2 - x1); 613 double y1 = 0.0; local 618 t.Apply(&x1, &y1); 623 *_sy = y2 - y1; 652 double y1 = 0.0; local 662 t.Apply(&x1, &y1); 666 double shearX = y2 - y1; 671 y1 [all...] |
/haiku-fatelf/src/libs/ncurses/ncurses/base/ |
H A D | lib_getstr.c | 56 int y1 = win->_cury; local 62 while (win->_cury < y1 63 || (win->_cury == y1 && win->_curx < x1))
|
/haiku-fatelf/src/libs/ncurses/ncurses/widechar/ |
H A D | lib_get_wstr.c | 67 int y1 = win->_cury; local 76 while (win->_cury < y1 77 || (win->_cury == y1 && win->_curx < x1))
|