gf_mulfix 89 include/gpac/maths.h Fixed gf_mulfix(Fixed a, Fixed b); gf_mulfix 601 include/gpac/maths.h #define gf_quat_len(v) gf_sqrt(gf_mulfix((v).q,(v).q) + gf_mulfix((v).x,(v).x) + gf_mulfix((v).y,(v).y) + gf_mulfix((v).z,(v).z)) gf_mulfix 65 modules/soft_raster/stencil.c end = FIX2INT(gf_mulfix(_this->pos[0], maxPos)); gf_mulfix 73 modules/soft_raster/stencil.c start = FIX2INT(gf_mulfix(_this->pos[c], maxPos)); gf_mulfix 74 modules/soft_raster/stencil.c end = FIX2INT(gf_mulfix(_this->pos[c+1], maxPos)); gf_mulfix 84 modules/soft_raster/stencil.c start = FIX2INT(gf_mulfix(_this->pos[c+0], maxPos)); gf_mulfix 328 modules/soft_raster/stencil.c b = gf_mulfix(_this->rad, gf_mulfix(dx, _this->d_f.x) + gf_mulfix(dy, _this->d_f.y)); gf_mulfix 329 modules/soft_raster/stencil.c val = gf_mulfix(b, b) + gf_mulfix(_this->rad, gf_mulfix(dx, dx)+gf_mulfix(dy, dy)); gf_mulfix 358 modules/soft_raster/stencil.c _this->rad = FIX_ONE - gf_mulfix(_this->d_f.x, _this->d_f.x) - gf_mulfix(_this->d_f.y, _this->d_f.y); gf_mulfix 88 src/bifs/predictive_mffield.c tang[i]= gf_tan(gf_mulfix(GF_PI * 4, v)); gf_mulfix 89 src/bifs/predictive_mffield.c delta += gf_mulfix(tang[i], tang[i]); gf_mulfix 95 src/bifs/predictive_mffield.c comp[(pmf->orientation + i+1)%3] = gf_mulfix(tang[i], delta); gf_mulfix 114 src/bifs/predictive_mffield.c tang[i] = gf_tan(gf_mulfix(GF_PI / 4, v)); gf_mulfix 115 src/bifs/predictive_mffield.c delta += gf_mulfix(tang[i], tang[i]); gf_mulfix 121 src/bifs/predictive_mffield.c comp[(pmf->orientation + i+1)%4] = gf_mulfix(tang[i], delta); gf_mulfix 225 src/bifs/quantize.c Fixed v = gf_mulfix(gf_divfix(INT2FIX(4), GF_PI) , gf_atan2(m_ft[orientation], m_ft[(orientation+i+1) % len])); gf_mulfix 303 src/bifs/unquantize.c tang[i] = gf_tan(gf_mulfix(GF_PI/4, m_ft[i]) ); gf_mulfix 304 src/bifs/unquantize.c delta += gf_mulfix(tang[i], tang[i]); gf_mulfix 310 src/bifs/unquantize.c m_ft[ (orient + i+1) % (NbComp+1) ] = gf_mulfix(tang[i], delta); gf_mulfix 232 src/compositor/camera.c wd2 = gf_mulfix(cam->z_near, gf_tan(cam->fieldOfView/2)); gf_mulfix 235 src/compositor/camera.c shift = gf_mulfix(horizontal_shift, ndfl); gf_mulfix 239 src/compositor/camera.c left = -gf_mulfix(ar, wd2) - shift; gf_mulfix 240 src/compositor/camera.c right = gf_mulfix(ar, wd2) - shift; gf_mulfix 259 src/compositor/camera.c shift = gf_mulfix(horizontal_shift, gf_divfix(vlen, viewing_distance)); gf_mulfix 281 src/compositor/camera.c h = gf_mulfix(vlen , gf_tan(cam->fieldOfView / 2)); gf_mulfix 282 src/compositor/camera.c w = gf_mulfix(h, ar); gf_mulfix 353 src/compositor/camera.c vlen += gf_mulfix(view_distance_offset, gf_divfix(vlen, nominal_view_distance)); gf_mulfix 376 src/compositor/camera.c vlen += gf_mulfix(view_distance_offset, gf_divfix(vlen, nominal_view_distance)); gf_mulfix 386 src/compositor/camera.c disp= gf_vec_scale(disp, gf_divfix(gf_mulfix(vlen, horizontal_shift), viewing_distance)); gf_mulfix 417 src/compositor/camera.c tmp = gf_mulfix(icos_a, ori.z); gf_mulfix 418 src/compositor/camera.c cam->target.x = gf_mulfix(ori.x, tmp) + gf_mulfix(sin_a, ori.y); gf_mulfix 419 src/compositor/camera.c cam->target.y = gf_mulfix(ori.y, tmp) - gf_mulfix(sin_a, ori.x); gf_mulfix 420 src/compositor/camera.c cam->target.z = gf_mulfix(ori.z, tmp) + cos_a; gf_mulfix 424 src/compositor/camera.c tmp = gf_mulfix(icos_a, ori.y); gf_mulfix 425 src/compositor/camera.c cam->up.x = gf_mulfix(ori.x, tmp) - gf_mulfix(sin_a, ori.z); gf_mulfix 426 src/compositor/camera.c cam->up.y = gf_mulfix(ori.y, tmp) + cos_a; gf_mulfix 427 src/compositor/camera.c cam->up.z = gf_mulfix(ori.z, tmp) + gf_mulfix(sin_a, ori.x); gf_mulfix 523 src/compositor/camera.c cam->dheight = gf_mulfix(cam->avatar_size.y, frac); gf_mulfix 573 src/compositor/camera.c fov = gf_mulfix(cam->end_fov - cam->start_fov, frac) + cam->start_fov; gf_mulfix 574 src/compositor/camera.c cam->end_zoom = frac + gf_mulfix((FIX_ONE-frac), cam->start_zoom); gf_mulfix 845 src/compositor/compositor.c return gf_mulfix(length->value, dpi*FLT2FIX(0.39)); gf_mulfix 848 src/compositor/compositor.c return gf_mulfix(length->value, dpi*FLT2FIX(0.039)); gf_mulfix 3232 src/compositor/compositor.c compositor->rotation = gf_mulfix(GF_PI, param->val/180); gf_mulfix 1430 src/compositor/compositor_2d.c compositor->trans_x = gf_mulfix(compositor->trans_x, ratio); gf_mulfix 1431 src/compositor/compositor_2d.c compositor->trans_y = gf_mulfix(compositor->trans_y, ratio); gf_mulfix 1440 src/compositor/compositor_2d.c nc_x = gf_mulfix(c_x, ratio); gf_mulfix 1441 src/compositor/compositor_2d.c nc_y = gf_mulfix(c_y, ratio); gf_mulfix 1460 src/compositor/compositor_2d.c gf_mx2d_add_scale(&compositor->traverse_state->transform, gf_mulfix(compositor->zoom,compositor->scale_x), gf_mulfix(compositor->zoom,compositor->scale_y)); gf_mulfix 245 src/compositor/compositor_3d.c gf_mx_add_translation(&mx, 0, 0, gf_mulfix(offset, disp_depth/2) ); gf_mulfix 937 src/compositor/drawable.c pw = gf_mulfix(ctx->aspect.pen_props.width, ctx->aspect.line_scale); gf_mulfix 1165 src/compositor/drawable.c asp->pen_props.width = gf_mulfix(asp->pen_props.width, asp->line_scale); gf_mulfix 1167 src/compositor/drawable.c asp->pen_props.dash_offset = gf_mulfix(asp->pen_props.dash_offset, asp->pen_props.width); gf_mulfix 1171 src/compositor/drawable.c asp->pen_props.dash_set->dashes[i] = gf_mulfix(asp->pen_props.dash_set->dashes[i], asp->line_scale); gf_mulfix 1305 src/compositor/drawable.c clamped_fill_opacity = gf_mulfix(clamped_fill_opacity, clamped_opacity); gf_mulfix 1306 src/compositor/drawable.c clamped_stroke_opacity = gf_mulfix(clamped_stroke_opacity, clamped_opacity); gf_mulfix 1342 src/compositor/drawable.c clamped_solid_opacity = gf_mulfix(clamped_solid_opacity, clamped_opacity); gf_mulfix 537 src/compositor/font_engine.c min_x += gf_mulfix(span->glyphs[0]->path->bbox.x, span->font_scale); gf_mulfix 593 src/compositor/font_engine.c mat.m[0] = gf_mulfix(span->font_scale, span->x_scale); gf_mulfix 594 src/compositor/font_engine.c mat.m[4] = gf_mulfix(span->font_scale, span->y_scale); gf_mulfix 703 src/compositor/font_engine.c scale = gf_mulfix(scale, tr_state->min_hsize); gf_mulfix 705 src/compositor/font_engine.c if ((gf_mulfix(scale, bounds.width)>max) || (gf_mulfix(scale, bounds.height)>max)) { gf_mulfix 708 src/compositor/font_engine.c else if ((gf_mulfix(scale, bounds.width)<min) || (gf_mulfix(scale, bounds.height)<min)) { gf_mulfix 714 src/compositor/font_engine.c tw = FIX2INT( gf_ceil(gf_mulfix(scale, bounds.width)) ); gf_mulfix 720 src/compositor/font_engine.c th = FIX2INT( gf_ceil(gf_mulfix(scale, bounds.height)) ); gf_mulfix 792 src/compositor/font_engine.c Fixed dy = gf_mulfix(span->font->baseline, span->font_scale); gf_mulfix 1010 src/compositor/font_engine.c sx = gf_mulfix(span->font_scale, span->x_scale); gf_mulfix 1011 src/compositor/font_engine.c sy = gf_mulfix(span->font_scale, span->y_scale); gf_mulfix 1085 src/compositor/font_engine.c sx = gf_mulfix(span->font_scale, span->x_scale); gf_mulfix 1169 src/compositor/font_engine.c dx = gf_mulfix(span->off_x, span->x_scale); gf_mulfix 1170 src/compositor/font_engine.c dy = gf_mulfix(span->off_y, span->y_scale); gf_mulfix 1171 src/compositor/font_engine.c sx = gf_mulfix(span->font_scale, span->x_scale); gf_mulfix 1172 src/compositor/font_engine.c sy = gf_mulfix(span->font_scale, span->y_scale); gf_mulfix 349 src/compositor/hardcoded_protos.c scale.vals[j].x = gf_mulfix(plane_ext.scale->vals[k].x - plane_ext.scale->vals[k-1].x, frac) + plane_ext.scale->vals[k-1].x; gf_mulfix 350 src/compositor/hardcoded_protos.c scale.vals[j].y = gf_mulfix(plane_ext.scale->vals[k].y - plane_ext.scale->vals[k-1].y, frac) + plane_ext.scale->vals[k-1].y; gf_mulfix 680 src/compositor/hardcoded_protos.c tr_state->depth_offset = gf_mulfix(stack->dg.depth_offset, tr_state->depth_gain) + tr_state->depth_offset; gf_mulfix 683 src/compositor/hardcoded_protos.c tr_state->depth_gain = gf_mulfix(tr_state->depth_gain, stack->dg.depth_gain); gf_mulfix 692 src/compositor/hardcoded_protos.c mx.m[14] = gf_mulfix(stack->dg.depth_offset, tr_state->visual->compositor->depth_gl_scale); gf_mulfix 1361 src/compositor/hardcoded_protos.c r = gf_sqrt(FIX_ONE - gf_mulfix(center.y, center.y) ); gf_mulfix 1362 src/compositor/hardcoded_protos.c center.x = gf_mulfix(r, gf_cos(center_theta) ); gf_mulfix 1363 src/compositor/hardcoded_protos.c center.z = gf_mulfix(r, gf_sin(center_theta) ); gf_mulfix 403 src/compositor/mesh.c coords[i].x = gf_mulfix(radius, gf_cos(angle)); gf_mulfix 404 src/compositor/mesh.c coords[i].z = gf_mulfix(radius , gf_sin(angle)); gf_mulfix 603 src/compositor/mesh.c r = gf_sqrt(FIX_ONE - gf_mulfix(y, y)); gf_mulfix 610 src/compositor/mesh.c x = gf_mulfix(gf_cos(angle), r); gf_mulfix 611 src/compositor/mesh.c z = gf_mulfix(gf_sin(angle), r); gf_mulfix 612 src/compositor/mesh.c coords[i * num_steps + j].x = gf_mulfix(radius, x); gf_mulfix 613 src/compositor/mesh.c coords[i * num_steps + j].y = gf_mulfix(radius, y); gf_mulfix 614 src/compositor/mesh.c coords[i * num_steps + j].z = gf_mulfix(radius, z); gf_mulfix 753 src/compositor/mesh.c mesh_set_vertex(mesh, gf_mulfix(a_dia, cosa), gf_mulfix(b_dia, sina), 0, gf_mulfix 1897 src/compositor/mesh.c SCPi[0].yaxis.y = gf_mulfix(cos_a, sin_g); gf_mulfix 1898 src/compositor/mesh.c SCPi[0].yaxis.z = gf_mulfix(cos_a, cos_g); gf_mulfix 1900 src/compositor/mesh.c SCPi[0].zaxis.y = -gf_mulfix(sin_a, sin_g); gf_mulfix 1901 src/compositor/mesh.c SCPi[0].zaxis.z = -gf_mulfix(sin_a, cos_g); gf_mulfix 1921 src/compositor/mesh.c SCPi[0].yaxis.y = gf_mulfix(cos_a, sin_g); gf_mulfix 1922 src/compositor/mesh.c SCPi[0].yaxis.x = gf_mulfix(cos_a, cos_g); gf_mulfix 1924 src/compositor/mesh.c SCPi[0].zaxis.y = -gf_mulfix(sin_a, sin_g); gf_mulfix 1925 src/compositor/mesh.c SCPi[0].zaxis.x = -gf_mulfix(sin_a, cos_g); gf_mulfix 2054 src/compositor/mesh.c v1.x = gf_mulfix(v1.x, scale.x); gf_mulfix 2055 src/compositor/mesh.c v1.z = gf_mulfix(v1.z, scale.y); gf_mulfix 2057 src/compositor/mesh.c vx.pos.x = gf_mulfix(v1.x, curSCP->xaxis.x) + gf_mulfix(v1.y, curSCP->yaxis.x) + gf_mulfix(v1.z, curSCP->zaxis.x) + spine[i].x; gf_mulfix 2058 src/compositor/mesh.c vx.pos.y = gf_mulfix(v1.x, curSCP->xaxis.y) + gf_mulfix(v1.y, curSCP->yaxis.y) + gf_mulfix(v1.z, curSCP->zaxis.y) + spine[i].y; gf_mulfix 2059 src/compositor/mesh.c vx.pos.z = gf_mulfix(v1.x, curSCP->xaxis.z) + gf_mulfix(v1.y, curSCP->yaxis.z) + gf_mulfix(v1.z, curSCP->zaxis.z) + spine[i].z; gf_mulfix 2170 src/compositor/mesh.c v1.x = gf_mulfix(v1.x , scale.x); gf_mulfix 2171 src/compositor/mesh.c v1.z = gf_mulfix(v1.z , scale.y); gf_mulfix 2173 src/compositor/mesh.c vx.pos.x = gf_mulfix(v1.x, SCPbegin.xaxis.x) + gf_mulfix(v1.y, SCPbegin.yaxis.x) + gf_mulfix(v1.z, SCPbegin.zaxis.x) + spine[0].x; gf_mulfix 2174 src/compositor/mesh.c vx.pos.y = gf_mulfix(v1.x, SCPbegin.xaxis.y) + gf_mulfix(v1.y, SCPbegin.yaxis.y) + gf_mulfix(v1.z, SCPbegin.zaxis.y) + spine[0].y; gf_mulfix 2175 src/compositor/mesh.c vx.pos.z = gf_mulfix(v1.x, SCPbegin.xaxis.z) + gf_mulfix(v1.y, SCPbegin.yaxis.z) + gf_mulfix(v1.z, SCPbegin.zaxis.z) + spine[0].z; gf_mulfix 2228 src/compositor/mesh.c v1.x = gf_mulfix(v1.x, scale.x); gf_mulfix 2229 src/compositor/mesh.c v1.z = gf_mulfix(v1.z, scale.y); gf_mulfix 2231 src/compositor/mesh.c vx.pos.x = gf_mulfix(v1.x, SCPend.xaxis.x) + gf_mulfix(v1.y, SCPend.yaxis.x) + gf_mulfix(v1.z, SCPend.zaxis.x) + spine[nb_spine-1].x; gf_mulfix 2232 src/compositor/mesh.c vx.pos.y = gf_mulfix(v1.x, SCPend.xaxis.y) + gf_mulfix(v1.y, SCPend.yaxis.y) + gf_mulfix(v1.z, SCPend.zaxis.y) + spine[nb_spine-1].y; gf_mulfix 2233 src/compositor/mesh.c vx.pos.z = gf_mulfix(v1.x, SCPend.xaxis.z) + gf_mulfix(v1.y, SCPend.yaxis.z) + gf_mulfix(v1.z, SCPend.zaxis.z) + spine[nb_spine-1].z; gf_mulfix 153 src/compositor/mesh_collide.c res[0] = gf_mulfix(res[0], res[0]); gf_mulfix 156 src/compositor/mesh_collide.c res[1] = gf_mulfix(res[1], res[1]); gf_mulfix 159 src/compositor/mesh_collide.c res[2] = gf_mulfix(res[2], res[2]);; gf_mulfix 204 src/compositor/mesh_collide.c vars.x += gf_mulfix(cx - means.x, cx - means.x); gf_mulfix 205 src/compositor/mesh_collide.c vars.y += gf_mulfix(cy - means.y, cy - means.y); gf_mulfix 206 src/compositor/mesh_collide.c vars.z += gf_mulfix(cz - means.z, cz - means.z); gf_mulfix 469 src/compositor/mesh_collide.c if (s<0) d += gf_mulfix(s, s); gf_mulfix 472 src/compositor/mesh_collide.c if (s>0) d += gf_mulfix(s, s); gf_mulfix 477 src/compositor/mesh_collide.c if (s<0) d += gf_mulfix(s, s); gf_mulfix 480 src/compositor/mesh_collide.c if (s>0) d += gf_mulfix(s, s); gf_mulfix 485 src/compositor/mesh_collide.c if (s<0) d += gf_mulfix(s, s); gf_mulfix 488 src/compositor/mesh_collide.c if (s>0) d += gf_mulfix(s, s); gf_mulfix 94 src/compositor/mesh_tesselate.c col.red += gf_mulfix(_weight, rgba.red); gf_mulfix 95 src/compositor/mesh_tesselate.c col.green += gf_mulfix(_weight, rgba.green); gf_mulfix 96 src/compositor/mesh_tesselate.c col.blue += gf_mulfix(_weight, rgba.blue); gf_mulfix 111 src/compositor/mesh_tesselate.c n.x += gf_mulfix(_weight, _n.x); gf_mulfix 112 src/compositor/mesh_tesselate.c n.y += gf_mulfix(_weight, _n.y); gf_mulfix 113 src/compositor/mesh_tesselate.c n.z += gf_mulfix(_weight, _n.z); gf_mulfix 123 src/compositor/mesh_tesselate.c tx.x += gf_mulfix(_weight, tess->mesh->vertices[idx].texcoords.x); gf_mulfix 124 src/compositor/mesh_tesselate.c tx.y += gf_mulfix(_weight, tess->mesh->vertices[idx].texcoords.y); gf_mulfix 252 src/compositor/mesh_tesselate.c #define ConvCross(p, q) gf_mulfix(p.x,q.y) - gf_mulfix(p.y,q.x); gf_mulfix 199 src/compositor/mpeg4_background.c fcol.red = gf_mulfix(end_col.red - start_col.red, frac) + start_col.red; gf_mulfix 200 src/compositor/mpeg4_background.c fcol.green = gf_mulfix(end_col.green - start_col.green, frac) + start_col.green; gf_mulfix 201 src/compositor/mpeg4_background.c fcol.blue = gf_mulfix(end_col.blue - start_col.blue, frac) + start_col.blue; gf_mulfix 207 src/compositor/mpeg4_background.c r = gf_sqrt(FIX_ONE - gf_mulfix(vx.pos.y, vx.pos.y)); gf_mulfix 213 src/compositor/mpeg4_background.c vx.pos.x = gf_mulfix(gf_sin(lon), r); gf_mulfix 214 src/compositor/mpeg4_background.c vx.pos.z = gf_mulfix(gf_cos(lon), r); gf_mulfix 271 src/compositor/mpeg4_background2d.c sx = sy = 2 * gf_mulfix(gf_tan(tr_state->camera->fieldOfView/2), tr_state->camera->z_far); gf_mulfix 84 src/compositor/mpeg4_bitmap.c size.x = gf_mulfix(INT2FIX(txh->width),sx); gf_mulfix 85 src/compositor/mpeg4_bitmap.c size.y = gf_mulfix(INT2FIX(txh->height),sy); gf_mulfix 90 src/compositor/mpeg4_bitmap.c size.x = gf_mulfix(INT2FIX( (txh->width * n) / d),sx); gf_mulfix 105 src/compositor/mpeg4_geometry_2d.c width = gf_mulfix(width, asp.line_scale); gf_mulfix 448 src/compositor/mpeg4_geometry_3d.c dot = gf_divfix(gf_vec_dot(v1, v2), gf_mulfix(l1, l2)); gf_mulfix 450 src/compositor/mpeg4_geometry_3d.c r.x = gf_mulfix(v1.y, v2.z) - gf_mulfix(v2.y, v1.z); gf_mulfix 451 src/compositor/mpeg4_geometry_3d.c r.y = gf_mulfix(v1.z, v2.x) - gf_mulfix(v2.z, v1.x); gf_mulfix 452 src/compositor/mpeg4_geometry_3d.c r.z = gf_mulfix(v1.x, v2.y) - gf_mulfix(v2.x, v1.y); gf_mulfix 453 src/compositor/mpeg4_geometry_3d.c r.q = gf_atan2(gf_sqrt(FIX_ONE - gf_mulfix(dot, dot)), dot); gf_mulfix 525 src/compositor/mpeg4_geometry_3d.c val = gf_mulfix(v_max - v_min, frac) + v_min; gf_mulfix 527 src/compositor/mpeg4_geometry_3d.c val = gf_mulfix(val, param); gf_mulfix 532 src/compositor/mpeg4_geometry_3d.c mesh->vertices[i].pos.x = gf_mulfix(mesh->vertices[i].pos.x, val); gf_mulfix 533 src/compositor/mpeg4_geometry_3d.c mesh->vertices[i].pos.y = gf_mulfix(mesh->vertices[i].pos.y, val); gf_mulfix 536 src/compositor/mpeg4_geometry_3d.c n.x = gf_mulfix(n.x, val); gf_mulfix 537 src/compositor/mpeg4_geometry_3d.c n.y = gf_mulfix(n.y, val); gf_mulfix 545 src/compositor/mpeg4_geometry_3d.c mesh->vertices[i].pos.x = gf_mulfix(a_cos, old.x) - gf_mulfix(a_sin, old.y); gf_mulfix 546 src/compositor/mpeg4_geometry_3d.c mesh->vertices[i].pos.y = gf_mulfix(a_sin, old.x) + gf_mulfix(a_cos, old.y); gf_mulfix 549 src/compositor/mpeg4_geometry_3d.c n.x = gf_mulfix(a_cos, old.x) - gf_mulfix(a_sin, old.y); gf_mulfix 550 src/compositor/mpeg4_geometry_3d.c n.y = gf_mulfix(a_sin, old.x) + gf_mulfix(a_cos, old.y); gf_mulfix 558 src/compositor/mpeg4_geometry_3d.c mesh->vertices[i].pos.x = gf_mulfix(a_sin, old.z) + gf_mulfix(a_cos, old.x); gf_mulfix 559 src/compositor/mpeg4_geometry_3d.c mesh->vertices[i].pos.z = gf_mulfix(a_cos, old.z) - gf_mulfix(a_sin, old.x); gf_mulfix 562 src/compositor/mpeg4_geometry_3d.c n.x = gf_mulfix(a_sin, old.z) + gf_mulfix(a_cos, old.x); gf_mulfix 563 src/compositor/mpeg4_geometry_3d.c n.z = gf_mulfix(a_cos, old.z) - gf_mulfix(a_sin, old.x); gf_mulfix 569 src/compositor/mpeg4_geometry_3d.c mesh->vertices[i].pos.x = gf_mulfix(mesh->vertices[i].pos.x, val); gf_mulfix 572 src/compositor/mpeg4_geometry_3d.c n.x = gf_mulfix(n.x, val); gf_mulfix 621 src/compositor/mpeg4_layer_3d.c start.x = gf_mulfix(start.x, tr_state->visual->compositor->scale_x); gf_mulfix 622 src/compositor/mpeg4_layer_3d.c start.y = gf_mulfix(start.y, tr_state->visual->compositor->scale_y); gf_mulfix 271 src/compositor/mpeg4_layout.c current_top -= gf_mulfix(l->spacing, li->height); gf_mulfix 273 src/compositor/mpeg4_layout.c current_top += gf_mulfix(l->spacing - FIX_ONE, li->height); gf_mulfix 356 src/compositor/mpeg4_layout.c current_left += gf_mulfix(l->spacing, li->width); gf_mulfix 359 src/compositor/mpeg4_layout.c current_left -= gf_mulfix(l->spacing, li->width); gf_mulfix 528 src/compositor/mpeg4_layout.c scrolled = gf_mulfix(elapsed, rate); gf_mulfix 643 src/compositor/mpeg4_layout.c st->scale_scroll = gf_mulfix(st->scale_scroll, l->scrollVertical ? st->clip.height : st->clip.width); gf_mulfix 151 src/compositor/mpeg4_path_layout.c offset = gf_mulfix(length, pl->pathOffset); gf_mulfix 243 src/compositor/mpeg4_path_layout.c if (cg_next->ascent) offset += gf_mulfix(pl->spacing , cg_next->original.x); gf_mulfix 244 src/compositor/mpeg4_path_layout.c offset += gf_mulfix(pl->spacing , cg_next->original.width); gf_mulfix 247 src/compositor/mpeg4_path_layout.c if (cg->ascent) offset += gf_mulfix(pl->spacing, cg->original.x) / 2; gf_mulfix 248 src/compositor/mpeg4_path_layout.c offset += gf_mulfix(pl->spacing, cg->original.width) / 2; gf_mulfix 253 src/compositor/mpeg4_path_layout.c if (cg->ascent) offset += gf_mulfix(pl->spacing, cg->original.x); gf_mulfix 254 src/compositor/mpeg4_path_layout.c offset += gf_mulfix(pl->spacing , cg->original.width); gf_mulfix 1093 src/compositor/mpeg4_sensors.c rot = gf_mulfix(radius, gf_acos(gf_vec_dot(dir2, dir1)) ); gf_mulfix 104 src/compositor/mpeg4_sound.c Fixed b_in = gf_sqrt(gf_mulfix(min_b, min_f)); gf_mulfix 108 src/compositor/mpeg4_sound.c Fixed b_out = gf_sqrt(gf_mulfix(max_b, max_f)); gf_mulfix 117 src/compositor/mpeg4_sound.c sqpos_x = gf_mulfix(pos.x, pos.x); gf_mulfix 118 src/compositor/mpeg4_sound.c sqpos_z = gf_mulfix(pos.z, pos.z); gf_mulfix 120 src/compositor/mpeg4_sound.c dist_from_foci_min = gf_sqrt(sqpos_z + sqpos_x) + gf_sqrt( gf_mulfix(pos.z - dist_foci_min, pos.z - dist_foci_min) + sqpos_x); gf_mulfix 121 src/compositor/mpeg4_sound.c dist_from_foci_max = gf_sqrt(sqpos_z + sqpos_x) + gf_sqrt( gf_mulfix(pos.z - dist_foci_max, pos.z - dist_foci_max) + sqpos_x); gf_mulfix 127 src/compositor/mpeg4_sound.c sqb_min = gf_mulfix(b_in, b_in); gf_mulfix 128 src/compositor/mpeg4_sound.c sqb_max = gf_mulfix(b_out, b_out); gf_mulfix 133 src/compositor/mpeg4_sound.c a_in_k_sq = gf_mulfix(a_in, k); gf_mulfix 134 src/compositor/mpeg4_sound.c a_in_k_sq = gf_mulfix(a_in_k_sq, a_in_k_sq); gf_mulfix 136 src/compositor/mpeg4_sound.c x_min = gf_mulfix(alpha_min, sqb_min) + sign*gf_mulfix( gf_mulfix(a_in, b_in), gf_sqrt(a_in_k_sq + sqb_min - gf_mulfix( gf_mulfix(alpha_min, k), gf_mulfix(alpha_min, k)))); gf_mulfix 138 src/compositor/mpeg4_sound.c y_min = gf_mulfix(k, x_min); gf_mulfix 140 src/compositor/mpeg4_sound.c a_out_k_sq = gf_mulfix(a_out, k); gf_mulfix 141 src/compositor/mpeg4_sound.c a_out_k_sq = gf_mulfix(a_out_k_sq, a_out_k_sq); gf_mulfix 143 src/compositor/mpeg4_sound.c x_max = gf_mulfix(alpha_max, sqb_max) + sign*gf_mulfix( gf_mulfix(a_out, b_out), gf_sqrt( a_out_k_sq + sqb_max - gf_mulfix( gf_mulfix(alpha_max, k), gf_mulfix(alpha_max, k)))); gf_mulfix 145 src/compositor/mpeg4_sound.c y_max = gf_mulfix(k, x_max); gf_mulfix 148 src/compositor/mpeg4_sound.c y_min = gf_mulfix(b_in, gf_sqrt(FIX_ONE - gf_mulfix( gf_divfix(alpha_min,a_in), gf_divfix(alpha_min,a_in)) ) ); gf_mulfix 149 src/compositor/mpeg4_sound.c y_max = gf_mulfix(b_out, gf_sqrt(FIX_ONE - gf_mulfix( gf_divfix(alpha_max,a_out), gf_divfix(alpha_max,a_out)) ) ); gf_mulfix 156 src/compositor/mpeg4_sound.c dist_ellip = gf_sqrt( gf_mulfix(y_max, y_max) + gf_mulfix(x_max, x_max)); gf_mulfix 157 src/compositor/mpeg4_sound.c viewp_dist = gf_sqrt( gf_mulfix(y_pos, y_pos) + gf_mulfix(x_pos, x_pos)); gf_mulfix 218 src/compositor/mpeg4_sound.c usr.z = gf_mulfix(ang, mag); gf_mulfix 219 src/compositor/mpeg4_sound.c usr.x = gf_sqrt(gf_mulfix(mag, mag) - gf_mulfix(usr.z, usr.z)); gf_mulfix 223 src/compositor/mpeg4_sound.c st->intensity = gf_mulfix(st->intensity, snd->intensity); gf_mulfix 244 src/compositor/mpeg4_sound.c st->lgain = (FIX_ONE - gf_mulfix(ang, ang)); gf_mulfix 245 src/compositor/mpeg4_sound.c st->rgain = FIX_ONE - gf_mulfix(FIX_ONE - ang, FIX_ONE - ang); gf_mulfix 247 src/compositor/mpeg4_sound.c st->lgain = gf_mulfix(st->lgain, 4*st->intensity/3); gf_mulfix 248 src/compositor/mpeg4_sound.c st->rgain = gf_mulfix(st->rgain, 4*st->intensity/3); gf_mulfix 234 src/compositor/mpeg4_text.c line_spacing = gf_mulfix(FSSPACE, fontSize); gf_mulfix 455 src/compositor/mpeg4_text.c span->x_scale = gf_mulfix(span->x_scale, max_scale); gf_mulfix 458 src/compositor/mpeg4_text.c span->y_scale = gf_mulfix(span->y_scale, max_scale); gf_mulfix 459 src/compositor/mpeg4_text.c span->off_y = start_y - gf_mulfix(st->ascent, span->y_scale); gf_mulfix 462 src/compositor/mpeg4_text.c span->off_x = gf_mulfix(span->off_x, max_scale); gf_mulfix 463 src/compositor/mpeg4_text.c span->off_y = gf_mulfix(span->off_y, max_scale); gf_mulfix 276 src/compositor/mpeg4_viewport.c gf_mx2d_add_translation(&mat, -gf_mulfix(vp->position.x,sx), -gf_mulfix(vp->position.y,sy) ); gf_mulfix 515 src/compositor/mpeg4_viewport.c tr_state->camera->speed = gf_mulfix(scale, ni->speed); gf_mulfix 516 src/compositor/mpeg4_viewport.c tr_state->camera->visibility = gf_mulfix(scale, ni->visibilityLimit); gf_mulfix 517 src/compositor/mpeg4_viewport.c if (ni->avatarSize.count) tr_state->camera->avatar_size.x = gf_mulfix(scale, ni->avatarSize.vals[0]); gf_mulfix 518 src/compositor/mpeg4_viewport.c if (ni->avatarSize.count>1) tr_state->camera->avatar_size.y = gf_mulfix(scale, ni->avatarSize.vals[1]); gf_mulfix 519 src/compositor/mpeg4_viewport.c if (ni->avatarSize.count>2) tr_state->camera->avatar_size.z = gf_mulfix(scale, ni->avatarSize.vals[2]); gf_mulfix 197 src/compositor/navigate.c dz = gf_mulfix(dz, cam->speed); gf_mulfix 406 src/compositor/navigate.c else view_translate_z(compositor, cam, gf_mulfix(dy, trans_scale)); gf_mulfix 415 src/compositor/navigate.c if (keys & GF_KEY_MOD_CTRL) view_translate_z(compositor, cam, gf_mulfix(dy, trans_scale)); gf_mulfix 419 src/compositor/navigate.c view_translate_x(compositor, cam, gf_mulfix(dx, trans_scale)); gf_mulfix 420 src/compositor/navigate.c if (keys & GF_KEY_MOD_CTRL) view_translate_z(compositor, cam, gf_mulfix(dy, trans_scale)); gf_mulfix 421 src/compositor/navigate.c else view_translate_y(compositor, cam, gf_mulfix(dy, trans_scale)); gf_mulfix 425 src/compositor/navigate.c view_translate_z(compositor, cam, gf_mulfix(dy, trans_scale)); gf_mulfix 426 src/compositor/navigate.c view_roll(compositor, cam, gf_mulfix(dx, trans_scale)); gf_mulfix 429 src/compositor/navigate.c view_exam_x(compositor, cam, -gf_mulfix(GF_PI, dx)); gf_mulfix 431 src/compositor/navigate.c view_exam_y(compositor, cam, gf_mulfix(GF_PI, dy)); gf_mulfix 437 src/compositor/navigate.c view_translate_z(compositor, cam, gf_mulfix(dy, trans_scale)); gf_mulfix 439 src/compositor/navigate.c view_orbit_x(compositor, cam, -gf_mulfix(GF_PI, dx)); gf_mulfix 440 src/compositor/navigate.c view_orbit_y(compositor, cam, gf_mulfix(GF_PI, dy)); gf_mulfix 457 src/compositor/navigate.c view_pan_y(compositor, cam, gf_mulfix(key_pan, ev->mouse.wheel_pos)); gf_mulfix 460 src/compositor/navigate.c view_zoom(compositor, cam, gf_mulfix(key_pan, ev->mouse.wheel_pos)); gf_mulfix 467 src/compositor/navigate.c view_translate_z(compositor, cam, gf_mulfix(trans_scale, ev->mouse.wheel_pos) * ((keys & GF_KEY_MOD_SHIFT) ? 4 : 1)); gf_mulfix 533 src/compositor/navigate.c if (keys & GF_KEY_MOD_CTRL) view_roll(compositor, cam, gf_mulfix(dx, trans_scale)); gf_mulfix 627 src/compositor/navigate.c yaw = gf_atan2(2*gf_mulfix(z,w) - 2*gf_mulfix(y,x) , 1 - 2*gf_mulfix(z,z) - 2*gf_mulfix(x,x)); gf_mulfix 629 src/compositor/navigate.c roll = gf_atan2(2*gf_mulfix(y,w) - 2*gf_mulfix(z,x) , 1 - 2*gf_mulfix(y,y) - 2*gf_mulfix(x,x)); gf_mulfix 767 src/compositor/navigate.c Fixed sin = gf_mulfix(GF_PI, dy) / visual->height; gf_mulfix 121 src/compositor/svg_filters.c Fixed p = 255 * gf_mulfix(amplitude, FLT2FIX( pow( INT2FIX(*ptr)/255, FIX2FLT(exponent) ) ) ) + offset; gf_mulfix 139 src/compositor/svg_filters.c p = 255 * ( vk->value + gf_mulfix( pN - INT2FIX(k), (vk1->value - vk->value)) ); gf_mulfix 368 src/compositor/svg_filters.c bounds.x += gf_mulfix(v, bounds.width); gf_mulfix 370 src/compositor/svg_filters.c bounds.y += gf_mulfix(v, bounds.height); gf_mulfix 372 src/compositor/svg_filters.c bounds.width = gf_mulfix(v, bounds.width); gf_mulfix 374 src/compositor/svg_filters.c bounds.height = gf_mulfix(v, bounds.height); gf_mulfix 482 src/compositor/svg_geometry.c _vx = cx + gf_mulfix(rx, gf_cos(angle)); gf_mulfix 483 src/compositor/svg_geometry.c _vy = cy + gf_mulfix(ry, gf_sin(angle)); gf_mulfix 68 src/compositor/svg_grouping.c parent_width = gf_mulfix(tr_state->vp_size.x, atts->width->value/100); gf_mulfix 78 src/compositor/svg_grouping.c parent_height = gf_mulfix(tr_state->vp_size.y, atts->height->value/100); gf_mulfix 188 src/compositor/svg_grouping.c vp_w = gf_mulfix(vb->width, scale); gf_mulfix 193 src/compositor/svg_grouping.c vp_h = gf_mulfix(vb->height, scale); gf_mulfix 198 src/compositor/svg_grouping.c vp_w = gf_mulfix(vb->width, scale); gf_mulfix 203 src/compositor/svg_grouping.c vp_h = gf_mulfix(vb->height, scale); gf_mulfix 215 src/compositor/svg_grouping.c stack->viewbox_mx.m[2] = - gf_mulfix(vb->x, scale); gf_mulfix 216 src/compositor/svg_grouping.c stack->viewbox_mx.m[5] = - gf_mulfix(vb->y, scale); gf_mulfix 596 src/compositor/svg_grouping.c opacity = gf_mulfix(opacity, all_atts.opacity->value); gf_mulfix 611 src/compositor/svg_grouping.c tr_state->depth_offset = gf_mulfix(doffset, scale) + offset; gf_mulfix 613 src/compositor/svg_grouping.c tr_state->depth_gain = gf_mulfix(scale, dscale); gf_mulfix 148 src/compositor/svg_media.c rectwidth = gf_mulfix(txwidth, scale); gf_mulfix 153 src/compositor/svg_media.c rectheight = gf_mulfix(txheight, scale); gf_mulfix 158 src/compositor/svg_media.c rectwidth = gf_mulfix(txwidth, scale); gf_mulfix 163 src/compositor/svg_media.c rectheight = gf_mulfix(txheight, scale); gf_mulfix 420 src/compositor/svg_text.c tr_state->line_spacing = gf_mulfix(span->font_size, FLT2FIX(1.0) ); gf_mulfix 425 src/compositor/svg_text.c line_spacing = gf_mulfix(span->font_size, FLT2FIX(1.0) ); gf_mulfix 677 src/compositor/svg_text.c span->rot[i] = gf_mulfix(GF_PI/180, rc->value); gf_mulfix 720 src/compositor/svg_text.c span->rot[i] = gf_mulfix(GF_PI/180, rc->value); gf_mulfix 209 src/compositor/visual_manager_2d_draw.c gf_mx2d_add_translation(mat, -gf_mulfix(txt->center.x, final_width), -gf_mulfix(txt->center.y, final_height) ); gf_mulfix 212 src/compositor/visual_manager_2d_draw.c gf_mx2d_add_translation(mat, gf_mulfix(txt->center.x, final_width), gf_mulfix(txt->center.y, final_height) ); gf_mulfix 213 src/compositor/visual_manager_2d_draw.c gf_mx2d_add_translation(mat, gf_mulfix(txt->translation.x, final_width), gf_mulfix(txt->translation.y, final_height) ); gf_mulfix 220 src/compositor/visual_manager_2d_draw.c mat->m[2] = gf_mulfix(mat->m[2], final_width); gf_mulfix 221 src/compositor/visual_manager_2d_draw.c mat->m[5] = gf_mulfix(mat->m[5], final_height); gf_mulfix 212 src/compositor/visual_manager_3d.c gf_mulfix(ar*2, gf_tan(fieldOfView/2)) gf_mulfix 238 src/compositor/visual_manager_3d.c position.z = gf_mulfix(position.z, tr_state->min_hsize); gf_mulfix 266 src/compositor/visual_manager_3d.c gf_divfix( gf_mulfix(disparity,view_distance), (half_interocular_dist_pixel + disparity)); gf_mulfix 528 src/compositor/visual_manager_3d.c tr_state->camera->visibility = gf_mulfix(tr_state->camera->visibility, tr_state->min_hsize); gf_mulfix 529 src/compositor/visual_manager_3d.c tr_state->camera->avatar_size.x = gf_mulfix(tr_state->camera->avatar_size.x, tr_state->min_hsize); gf_mulfix 530 src/compositor/visual_manager_3d.c tr_state->camera->avatar_size.y = gf_mulfix(tr_state->camera->avatar_size.y, tr_state->min_hsize); gf_mulfix 531 src/compositor/visual_manager_3d.c tr_state->camera->avatar_size.z = gf_mulfix(tr_state->camera->avatar_size.z, tr_state->min_hsize); gf_mulfix 560 src/compositor/visual_manager_3d.c if (max_width < gf_mulfix(ratio, max_height) ) { gf_mulfix 563 src/compositor/visual_manager_3d.c tr_state->camera->vp.width = gf_mulfix(ratio, max_height); gf_mulfix 1269 src/compositor/visual_manager_3d.c x = gf_mulfix(x, scale); gf_mulfix 1271 src/compositor/visual_manager_3d.c y = gf_mulfix(y, scale); gf_mulfix 1794 src/compositor/visual_manager_3d.c vec[0] = gf_mulfix(diff.red, mat->ambientIntensity); gf_mulfix 1795 src/compositor/visual_manager_3d.c vec[1] = gf_mulfix(diff.green, mat->ambientIntensity); gf_mulfix 1796 src/compositor/visual_manager_3d.c vec[2] = gf_mulfix(diff.blue, mat->ambientIntensity); gf_mulfix 1807 src/compositor/visual_manager_3d_gl.c vals[0] = gf_mulfix(li->color.red, li->intensity); gf_mulfix 1808 src/compositor/visual_manager_3d_gl.c vals[1] = gf_mulfix(li->color.green, li->intensity); gf_mulfix 1809 src/compositor/visual_manager_3d_gl.c vals[2] = gf_mulfix(li->color.blue, li->intensity); gf_mulfix 1813 src/compositor/visual_manager_3d_gl.c vals[0] = gf_mulfix(li->color.red, li->ambientIntensity); gf_mulfix 1814 src/compositor/visual_manager_3d_gl.c vals[1] = gf_mulfix(li->color.green, li->ambientIntensity); gf_mulfix 1815 src/compositor/visual_manager_3d_gl.c vals[2] = gf_mulfix(li->color.blue, li->ambientIntensity); gf_mulfix 1875 src/compositor/visual_manager_3d_gl.c vals[0] = gf_mulfix(li->color.red, li->intensity); gf_mulfix 1876 src/compositor/visual_manager_3d_gl.c vals[1] = gf_mulfix(li->color.green, li->intensity); gf_mulfix 1877 src/compositor/visual_manager_3d_gl.c vals[2] = gf_mulfix(li->color.blue, li->intensity); gf_mulfix 1881 src/compositor/visual_manager_3d_gl.c vals[0] = gf_mulfix(li->color.red, li->ambientIntensity); gf_mulfix 1882 src/compositor/visual_manager_3d_gl.c vals[1] = gf_mulfix(li->color.green, li->ambientIntensity); gf_mulfix 1883 src/compositor/visual_manager_3d_gl.c vals[2] = gf_mulfix(li->color.blue, li->ambientIntensity); gf_mulfix 1945 src/compositor/visual_manager_3d_gl.c vals[0] = gf_mulfix(li->color.red, li->intensity); gf_mulfix 1946 src/compositor/visual_manager_3d_gl.c vals[1] = gf_mulfix(li->color.green, li->intensity); gf_mulfix 1947 src/compositor/visual_manager_3d_gl.c vals[2] = gf_mulfix(li->color.blue, li->intensity); gf_mulfix 1951 src/compositor/visual_manager_3d_gl.c vals[0] = gf_mulfix(li->color.red, li->ambientIntensity); gf_mulfix 1952 src/compositor/visual_manager_3d_gl.c vals[1] = gf_mulfix(li->color.green, li->ambientIntensity); gf_mulfix 1953 src/compositor/visual_manager_3d_gl.c vals[2] = gf_mulfix(li->color.blue, li->ambientIntensity); gf_mulfix 3556 src/compositor/visual_manager_3d_gl.c if (line_scale) width = gf_mulfix(width, line_scale); gf_mulfix 3902 src/compositor/visual_manager_3d_gl.c y = gf_mulfix(y, INT2FIX(txh->height/2)); gf_mulfix 3908 src/compositor/visual_manager_3d_gl.c x = gf_mulfix(x, INT2FIX(txh->width/2)); gf_mulfix 3958 src/compositor/visual_manager_3d_gl.c y = gf_mulfix(y, INT2FIX(txh->height/2));; gf_mulfix 3965 src/compositor/visual_manager_3d_gl.c x = gf_mulfix(x, INT2FIX(txh->width/2)); gf_mulfix 4047 src/compositor/visual_manager_3d_gl.c y = gf_mulfix(y, FLT2FIX(txh->height/2)); gf_mulfix 4054 src/compositor/visual_manager_3d_gl.c x = gf_mulfix(x, FLT2FIX(txh->width/2)); gf_mulfix 4090 src/compositor/visual_manager_3d_gl.c z = gf_mulfix(z / 255, f_scale); gf_mulfix 767 src/scene_manager/swf_parse.c angle = gf_mulfix(v1.x,v2.x) + gf_mulfix(v1.y,v2.y); gf_mulfix 774 src/scene_manager/swf_parse.c angle = gf_divfix(angle, gf_mulfix(v1.x, v2.x)); gf_mulfix 36 src/scenegraph/mpeg4_animators.c return gf_mulfix(keyValue2 - keyValue1, fraction) + keyValue1; gf_mulfix 78 src/scenegraph/mpeg4_animators.c tsearch = gf_mulfix(usearch, c.x + gf_mulfix(usearch, b.x + gf_mulfix(usearch, a.x))) + d.x; gf_mulfix 82 src/scenegraph/mpeg4_animators.c return gf_mulfix(usearch, c.y + gf_mulfix(usearch, b.y + gf_mulfix(usearch , a.y))) + d.y; gf_mulfix 157 src/scenegraph/mpeg4_animators.c nurbs->n[j] = saved + gf_mulfix(nurbs->right[j+1], temp); gf_mulfix 158 src/scenegraph/mpeg4_animators.c saved = gf_mulfix(nurbs->left[i-j], temp); gf_mulfix 204 src/scenegraph/mpeg4_animators.c w += gf_mulfix(nurbs->n[i], wi); gf_mulfix 206 src/scenegraph/mpeg4_animators.c res.x += gf_mulfix(nurbs->n[i], tmp.x); gf_mulfix 207 src/scenegraph/mpeg4_animators.c res.y += gf_mulfix(nurbs->n[i], tmp.y); gf_mulfix 208 src/scenegraph/mpeg4_animators.c res.z += gf_mulfix(nurbs->n[i], tmp.z); gf_mulfix 231 src/scenegraph/mpeg4_animators.c tmp.x = gf_mulfix(tmp.x, wi); gf_mulfix 232 src/scenegraph/mpeg4_animators.c tmp.y = gf_mulfix(tmp.y, wi); gf_mulfix 233 src/scenegraph/mpeg4_animators.c w += gf_mulfix(nurbs->n[i], wi); gf_mulfix 235 src/scenegraph/mpeg4_animators.c res.x += gf_mulfix(nurbs->n[i], tmp.x); gf_mulfix 236 src/scenegraph/mpeg4_animators.c res.y += gf_mulfix(nurbs->n[i], tmp.y); gf_mulfix 241 src/scenegraph/mpeg4_animators.c res.x = gf_mulfix(res.x, w); gf_mulfix 242 src/scenegraph/mpeg4_animators.c res.y = gf_mulfix(res.y, w); gf_mulfix 259 src/scenegraph/mpeg4_animators.c tmp = gf_mulfix(tmp, wi); gf_mulfix 260 src/scenegraph/mpeg4_animators.c w += gf_mulfix(nurbs->n[i], wi); gf_mulfix 262 src/scenegraph/mpeg4_animators.c res += gf_mulfix(nurbs->n[i], tmp); gf_mulfix 395 src/scenegraph/mpeg4_animators.c dist = gf_mulfix(frac, stack->length); gf_mulfix 510 src/scenegraph/mpeg4_animators.c stack->length += gf_sqrt(gf_mulfix(dx, dx) + gf_mulfix(dy, dy)); gf_mulfix 564 src/scenegraph/mpeg4_animators.c dist = gf_mulfix(frac, stack->length); gf_mulfix 571 src/scenegraph/mpeg4_animators.c dlen = gf_sqrt(gf_mulfix(dx,dx) + gf_mulfix(dy,dy)); gf_mulfix 730 src/scenegraph/mpeg4_animators.c dist = gf_mulfix(frac, stack->length); gf_mulfix 57 src/scenegraph/mpeg4_valuator.c output->x = gf_mulfix(p->Factor1, vi) + p->Offset1; gf_mulfix 58 src/scenegraph/mpeg4_valuator.c output->y = gf_mulfix(p->Factor2, vi) + p->Offset2; gf_mulfix 59 src/scenegraph/mpeg4_valuator.c output->z = gf_mulfix(p->Factor3, vi) + p->Offset3; gf_mulfix 60 src/scenegraph/mpeg4_valuator.c output->q = gf_mulfix(p->Factor4, vi) + p->Offset4; gf_mulfix 66 src/scenegraph/mpeg4_valuator.c output->x = gf_mulfix(p->Factor1, sff) + p->Offset1; gf_mulfix 67 src/scenegraph/mpeg4_valuator.c output->y = gf_mulfix(p->Factor2, sff) + p->Offset2; gf_mulfix 68 src/scenegraph/mpeg4_valuator.c output->z = gf_mulfix(p->Factor3, sff) + p->Offset3; gf_mulfix 69 src/scenegraph/mpeg4_valuator.c output->q = gf_mulfix(p->Factor4, sff) + p->Offset4; gf_mulfix 75 src/scenegraph/mpeg4_valuator.c output->x = gf_mulfix(p->Factor1, sfc.red) + p->Offset1; gf_mulfix 76 src/scenegraph/mpeg4_valuator.c output->y = gf_mulfix(p->Factor2, sfc.green) + p->Offset2; gf_mulfix 77 src/scenegraph/mpeg4_valuator.c output->z = gf_mulfix(p->Factor3, sfc.blue) + p->Offset3; gf_mulfix 85 src/scenegraph/mpeg4_valuator.c output->x = gf_mulfix(p->Factor1, sfv.x) + p->Offset1; gf_mulfix 86 src/scenegraph/mpeg4_valuator.c output->y = gf_mulfix(p->Factor2, sfv.y) + p->Offset2; gf_mulfix 95 src/scenegraph/mpeg4_valuator.c output->x = gf_mulfix(p->Factor1, sfv.x) + p->Offset1; gf_mulfix 96 src/scenegraph/mpeg4_valuator.c output->y = gf_mulfix(p->Factor2, sfv.y) + p->Offset2; gf_mulfix 97 src/scenegraph/mpeg4_valuator.c output->z = gf_mulfix(p->Factor3, sfv.z) + p->Offset3; gf_mulfix 106 src/scenegraph/mpeg4_valuator.c output->x = gf_mulfix(p->Factor1, sfv.x) + p->Offset1; gf_mulfix 107 src/scenegraph/mpeg4_valuator.c output->y = gf_mulfix(p->Factor2, sfv.y) + p->Offset2; gf_mulfix 108 src/scenegraph/mpeg4_valuator.c output->z = gf_mulfix(p->Factor3, sfv.z) + p->Offset3; gf_mulfix 109 src/scenegraph/mpeg4_valuator.c output->q = gf_mulfix(p->Factor4, sfv.q) + p->Offset4; gf_mulfix 128 src/scenegraph/mpeg4_valuator.c output->x = gf_mulfix(p->Factor1, output->x) + p->Offset1; gf_mulfix 129 src/scenegraph/mpeg4_valuator.c output->y = gf_mulfix(p->Factor2, output->y) + p->Offset2; gf_mulfix 130 src/scenegraph/mpeg4_valuator.c output->z = gf_mulfix(p->Factor3, output->z) + p->Offset3; gf_mulfix 131 src/scenegraph/mpeg4_valuator.c output->q = gf_mulfix(p->Factor4, output->q) + p->Offset4; gf_mulfix 159 src/scenegraph/mpeg4_valuator.c output.x = gf_mulfix(p->Factor1, inSFField->x) + p->Offset1; gf_mulfix 160 src/scenegraph/mpeg4_valuator.c output.y = gf_mulfix(p->Factor2, inSFField->y) + p->Offset2; gf_mulfix 161 src/scenegraph/mpeg4_valuator.c output.z = gf_mulfix(p->Factor3, inSFField->z) + p->Offset3; gf_mulfix 162 src/scenegraph/mpeg4_valuator.c output.q = gf_mulfix(p->Factor4, inSFField->q) + p->Offset4; gf_mulfix 234 src/scenegraph/smil_anim.c *interpolation_coefficient = gf_mulfix(FIX_ONE - *interpolation_coefficient, *p1) gf_mulfix 235 src/scenegraph/smil_anim.c + gf_mulfix(*interpolation_coefficient, (p2 ? *p2 : *p1)); gf_mulfix 568 src/scenegraph/smil_anim.c offset = gf_mulfix(normalized_simple_time, rai->length); gf_mulfix 819 src/scenegraph/svg_attributes.c (*f) = gf_mulfix(FLT2FIX(_val), GF_PI); gf_mulfix 5334 src/scenegraph/svg_attributes.c c->red = gf_mulfix(alpha, a->red) + gf_mulfix(beta, b->red); gf_mulfix 5335 src/scenegraph/svg_attributes.c c->green = gf_mulfix(alpha, a->green) + gf_mulfix(beta, b->green); gf_mulfix 5336 src/scenegraph/svg_attributes.c c->blue = gf_mulfix(alpha, a->blue) + gf_mulfix(beta, b->blue); gf_mulfix 5352 src/scenegraph/svg_attributes.c c->value = gf_mulfix(alpha, a->value) + gf_mulfix(beta, b->value); gf_mulfix 5359 src/scenegraph/svg_attributes.c c->x = gf_mulfix(alpha, a->x) + gf_mulfix(beta, b->x); gf_mulfix 5360 src/scenegraph/svg_attributes.c c->y = gf_mulfix(alpha, a->y) + gf_mulfix(beta, b->y); gf_mulfix 5361 src/scenegraph/svg_attributes.c c->width = gf_mulfix(alpha, a->width) + gf_mulfix(beta, b->width); gf_mulfix 5362 src/scenegraph/svg_attributes.c c->height= gf_mulfix(alpha, a->height) + gf_mulfix(beta, b->height); gf_mulfix 5370 src/scenegraph/svg_attributes.c ptc->x = gf_mulfix(alpha, pta->x) + gf_mulfix(beta, ptb->x); gf_mulfix 5371 src/scenegraph/svg_attributes.c ptc->y = gf_mulfix(alpha, pta->y) + gf_mulfix(beta, ptb->y); gf_mulfix 5377 src/scenegraph/svg_attributes.c ptc->x = gf_mulfix(alpha, pta->x) + gf_mulfix(beta, ptb->x); gf_mulfix 5378 src/scenegraph/svg_attributes.c ptc->y = gf_mulfix(alpha, pta->y) + gf_mulfix(beta, ptb->y); gf_mulfix 5379 src/scenegraph/svg_attributes.c ptc->angle = gf_mulfix(alpha, pta->angle) + gf_mulfix(beta, ptb->angle); gf_mulfix 5608 src/scenegraph/svg_attributes.c c->array.vals[i] = gf_mulfix(alpha, a->array.vals[i]) + gf_mulfix(beta, b->array.vals[i]); gf_mulfix 5645 src/scenegraph/svg_attributes.c c->m[2] = gf_mulfix(alpha, a->m[2]) + gf_mulfix(beta, b->m[2]); gf_mulfix 5648 src/scenegraph/svg_attributes.c c->m[5] = gf_mulfix(alpha, a->m[5]) + gf_mulfix(beta, b->m[5]); gf_mulfix 5658 src/scenegraph/svg_attributes.c szc->width = gf_mulfix(alpha, sza->width) + gf_mulfix(beta, szb->width); gf_mulfix 5659 src/scenegraph/svg_attributes.c szc->height = gf_mulfix(alpha, sza->height) + gf_mulfix(beta, szb->height); gf_mulfix 5753 src/scenegraph/svg_attributes.c gf_mx2d_add_translation(&tmp, gf_mulfix(((SVG_Point *)b->far_ptr)->x, beta), gf_mulfix(((SVG_Point *)b->far_ptr)->y, beta)); gf_mulfix 5756 src/scenegraph/svg_attributes.c gf_mx2d_add_scale(&tmp, gf_mulfix(((SVG_Point *)b->far_ptr)->x, beta), gf_mulfix(((SVG_Point *)b->far_ptr)->y, beta)); gf_mulfix 5759 src/scenegraph/svg_attributes.c gf_mx2d_add_rotation(&tmp, gf_mulfix(((SVG_Point_Angle *)b->far_ptr)->x, beta), gf_mulfix(((SVG_Point_Angle *)b->far_ptr)->y, beta), gf_mulfix(((SVG_Point_Angle *)b->far_ptr)->angle, beta)); gf_mulfix 5762 src/scenegraph/svg_attributes.c gf_mx2d_add_skew_x(&tmp, gf_mulfix(*(Fixed*)b->far_ptr, beta)); gf_mulfix 5765 src/scenegraph/svg_attributes.c gf_mx2d_add_skew_y(&tmp, gf_mulfix(*(Fixed*)b->far_ptr, beta)); gf_mulfix 5790 src/scenegraph/svg_attributes.c ((SVG_Point*)c->far_ptr)->x = gf_mulfix(((SVG_Point*)a->far_ptr)->x,((SVG_Point*)b->far_ptr)->x); gf_mulfix 5791 src/scenegraph/svg_attributes.c ((SVG_Point*)c->far_ptr)->y = gf_mulfix(((SVG_Point*)a->far_ptr)->y,((SVG_Point*)b->far_ptr)->y); gf_mulfix 5811 src/scenegraph/svg_attributes.c *(Fixed*)c->far_ptr = gf_mulfix(alpha, *(Fixed*)a->far_ptr) + gf_mulfix(beta, *(Fixed*)b->far_ptr); gf_mulfix 5820 src/scenegraph/svg_attributes.c *(Fixed*)c->far_ptr = gf_mulfix(alpha, *(Fixed*)a->far_ptr) + gf_mulfix(beta, *(Fixed*)b->far_ptr); gf_mulfix 590 src/scenegraph/svg_properties.c render_svg_props->computed_audio_level = gf_mulfix(val, par_val); gf_mulfix 2243 src/scenegraph/svg_smjs.c gf_mx2d_add_rotation(&mx2, 0, 0, gf_mulfix(FLT2FIX(angle/180), GF_PI)); gf_mulfix 39 src/scenegraph/vrml_interpolators.c Fixed testa = gf_mulfix(kv1.x, kv2.x) + gf_mulfix(kv1.y, kv2.y) + gf_mulfix(kv1.y, kv2.y); gf_mulfix 42 src/scenegraph/vrml_interpolators.c res.x = kv1.x + gf_mulfix(fraction, kv2.x-kv1.x); gf_mulfix 43 src/scenegraph/vrml_interpolators.c res.y = kv1.y + gf_mulfix(fraction, kv2.y-kv1.y); gf_mulfix 44 src/scenegraph/vrml_interpolators.c res.z = kv1.z + gf_mulfix(fraction, kv2.z-kv1.z); gf_mulfix 47 src/scenegraph/vrml_interpolators.c res.x = kv1.x + gf_mulfix(fraction, -kv2.x -kv1.x); gf_mulfix 48 src/scenegraph/vrml_interpolators.c res.y = kv1.y + gf_mulfix(fraction, -kv2.y-kv1.y); gf_mulfix 49 src/scenegraph/vrml_interpolators.c res.z = kv1.z + gf_mulfix(fraction, -kv2.z-kv1.z); gf_mulfix 58 src/scenegraph/vrml_interpolators.c res.q = olda + gf_mulfix(fraction, newa - olda); gf_mulfix 71 src/scenegraph/vrml_interpolators.c return gf_mulfix(keyValue2 - keyValue1, fraction) + keyValue1; gf_mulfix 499 src/scenegraph/vrml_smjs.c p = gf_mulfix(val, FIX_ONE - sat); gf_mulfix 500 src/scenegraph/vrml_smjs.c q = gf_mulfix(val, FIX_ONE - gf_mulfix(sat,f)); gf_mulfix 501 src/scenegraph/vrml_smjs.c t = gf_mulfix(val, FIX_ONE - gf_mulfix(sat, FIX_ONE - f)); gf_mulfix 2025 src/scenegraph/vrml_smjs.c SFVec2f_Create(c, pNew, gf_mulfix(v1->x , v), gf_mulfix(v1->y, v) ); gf_mulfix 2079 src/scenegraph/vrml_smjs.c SMJS_SET_RVAL( JS_MAKE_DOUBLE(c, FIX2FLT( gf_mulfix(v1->x, v2->x) + gf_mulfix(v1->y, v2->y) ) ) ); gf_mulfix 2233 src/scenegraph/vrml_smjs.c SFVec3f_Create(c, pNew, gf_mulfix(v1->x, v), gf_mulfix(v1->y, v), gf_mulfix(v1->z, v) ); gf_mulfix 2363 src/scenegraph/vrml_smjs.c dot = gf_divfix(gf_vec_dot(v1, v2), gf_mulfix(l1, l2) ); gf_mulfix 2364 src/scenegraph/vrml_smjs.c a = gf_atan2(gf_sqrt(FIX_ONE - gf_mulfix(dot, dot)), dot); gf_mulfix 2365 src/scenegraph/vrml_smjs.c SFRotation_Create(c, obj, gf_mulfix(v1.y, v2.z) - gf_mulfix(v2.y, v1.z), gf_mulfix 2366 src/scenegraph/vrml_smjs.c gf_mulfix(v1.z, v2.x) - gf_mulfix(v2.z, v1.x), gf_mulfix 2367 src/scenegraph/vrml_smjs.c gf_mulfix(v1.x, v2.y) - gf_mulfix(v2.x, v1.y), gf_mulfix 244 src/terminal/media_control.c if (in_scene->is_dynamic_scene && (gf_mulfix(ck->speed, speed) < 0)) { gf_mulfix 2188 src/terminal/terminal.c Fixed s = gf_mulfix(ck->speed, ratio); gf_mulfix 2228 src/terminal/terminal.c if ( gf_mulfix(ck->speed,speed) < 0) gf_mulfix 1762 src/utils/color.c res[0] = gf_mulfix(_this->m[0], w->m[0]) + gf_mulfix(_this->m[1], w->m[5]) + gf_mulfix(_this->m[2], w->m[10]) + gf_mulfix(_this->m[3], w->m[15]); gf_mulfix 1763 src/utils/color.c res[1] = gf_mulfix(_this->m[0], w->m[1]) + gf_mulfix(_this->m[1], w->m[6]) + gf_mulfix(_this->m[2], w->m[11]) + gf_mulfix(_this->m[3], w->m[16]); gf_mulfix 1764 src/utils/color.c res[2] = gf_mulfix(_this->m[0], w->m[2]) + gf_mulfix(_this->m[1], w->m[7]) + gf_mulfix(_this->m[2], w->m[12]) + gf_mulfix(_this->m[3], w->m[17]); gf_mulfix 1765 src/utils/color.c res[3] = gf_mulfix(_this->m[0], w->m[3]) + gf_mulfix(_this->m[1], w->m[8]) + gf_mulfix(_this->m[2], w->m[13]) + gf_mulfix(_this->m[3], w->m[18]); gf_mulfix 1766 src/utils/color.c res[4] = gf_mulfix(_this->m[0], w->m[4]) + gf_mulfix(_this->m[1], w->m[9]) + gf_mulfix(_this->m[2], w->m[14]) + gf_mulfix(_this->m[3], w->m[19]) + _this->m[4]; gf_mulfix 1768 src/utils/color.c res[5] = gf_mulfix(_this->m[5], w->m[0]) + gf_mulfix(_this->m[6], w->m[5]) + gf_mulfix(_this->m[7], w->m[10]) + gf_mulfix(_this->m[8], w->m[15]); gf_mulfix 1769 src/utils/color.c res[6] = gf_mulfix(_this->m[5], w->m[1]) + gf_mulfix(_this->m[6], w->m[6]) + gf_mulfix(_this->m[7], w->m[11]) + gf_mulfix(_this->m[8], w->m[16]); gf_mulfix 1770 src/utils/color.c res[7] = gf_mulfix(_this->m[5], w->m[2]) + gf_mulfix(_this->m[6], w->m[7]) + gf_mulfix(_this->m[7], w->m[12]) + gf_mulfix(_this->m[8], w->m[17]); gf_mulfix 1771 src/utils/color.c res[8] = gf_mulfix(_this->m[5], w->m[3]) + gf_mulfix(_this->m[6], w->m[8]) + gf_mulfix(_this->m[7], w->m[13]) + gf_mulfix(_this->m[8], w->m[18]); gf_mulfix 1772 src/utils/color.c res[9] = gf_mulfix(_this->m[5], w->m[4]) + gf_mulfix(_this->m[6], w->m[9]) + gf_mulfix(_this->m[7], w->m[14]) + gf_mulfix(_this->m[8], w->m[19]) + _this->m[9]; gf_mulfix 1774 src/utils/color.c res[10] = gf_mulfix(_this->m[10], w->m[0]) + gf_mulfix(_this->m[11], w->m[5]) + gf_mulfix(_this->m[12], w->m[10]) + gf_mulfix(_this->m[13], w->m[15]); gf_mulfix 1775 src/utils/color.c res[11] = gf_mulfix(_this->m[10], w->m[1]) + gf_mulfix(_this->m[11], w->m[6]) + gf_mulfix(_this->m[12], w->m[11]) + gf_mulfix(_this->m[13], w->m[16]); gf_mulfix 1776 src/utils/color.c res[12] = gf_mulfix(_this->m[10], w->m[2]) + gf_mulfix(_this->m[11], w->m[7]) + gf_mulfix(_this->m[12], w->m[12]) + gf_mulfix(_this->m[13], w->m[17]); gf_mulfix 1777 src/utils/color.c res[13] = gf_mulfix(_this->m[10], w->m[3]) + gf_mulfix(_this->m[11], w->m[8]) + gf_mulfix(_this->m[12], w->m[13]) + gf_mulfix(_this->m[13], w->m[18]); gf_mulfix 1778 src/utils/color.c res[14] = gf_mulfix(_this->m[10], w->m[4]) + gf_mulfix(_this->m[11], w->m[9]) + gf_mulfix(_this->m[12], w->m[14]) + gf_mulfix(_this->m[13], w->m[19]) + _this->m[14]; gf_mulfix 1780 src/utils/color.c res[15] = gf_mulfix(_this->m[15], w->m[0]) + gf_mulfix(_this->m[16], w->m[5]) + gf_mulfix(_this->m[17], w->m[10]) + gf_mulfix(_this->m[18], w->m[15]); gf_mulfix 1781 src/utils/color.c res[16] = gf_mulfix(_this->m[15], w->m[1]) + gf_mulfix(_this->m[16], w->m[6]) + gf_mulfix(_this->m[17], w->m[11]) + gf_mulfix(_this->m[18], w->m[16]); gf_mulfix 1782 src/utils/color.c res[17] = gf_mulfix(_this->m[15], w->m[2]) + gf_mulfix(_this->m[16], w->m[7]) + gf_mulfix(_this->m[17], w->m[12]) + gf_mulfix(_this->m[18], w->m[17]); gf_mulfix 1783 src/utils/color.c res[18] = gf_mulfix(_this->m[15], w->m[3]) + gf_mulfix(_this->m[16], w->m[8]) + gf_mulfix(_this->m[17], w->m[13]) + gf_mulfix(_this->m[18], w->m[18]); gf_mulfix 1784 src/utils/color.c res[19] = gf_mulfix(_this->m[15], w->m[4]) + gf_mulfix(_this->m[16], w->m[9]) + gf_mulfix(_this->m[17], w->m[14]) + gf_mulfix(_this->m[18], w->m[19]) + _this->m[19]; gf_mulfix 1800 src/utils/color.c _r = gf_mulfix(r, _this->m[0]) + gf_mulfix(g, _this->m[1]) + gf_mulfix(b, _this->m[2]) + gf_mulfix(a, _this->m[3]) + _this->m[4]; gf_mulfix 1801 src/utils/color.c _g = gf_mulfix(r, _this->m[5]) + gf_mulfix(g, _this->m[6]) + gf_mulfix(b, _this->m[7]) + gf_mulfix(a, _this->m[8]) + _this->m[9]; gf_mulfix 1802 src/utils/color.c _b = gf_mulfix(r, _this->m[10]) + gf_mulfix(g, _this->m[11]) + gf_mulfix(b, _this->m[12]) + gf_mulfix(a, _this->m[13]) + _this->m[14]; gf_mulfix 1803 src/utils/color.c _a = gf_mulfix(r, _this->m[15]) + gf_mulfix(g, _this->m[16]) + gf_mulfix(b, _this->m[17]) + gf_mulfix(a, _this->m[18]) + _this->m[19]; gf_mulfix 1830 src/utils/color.c _r = gf_mulfix(r, _this->m[0]) + gf_mulfix(g, _this->m[1]) + gf_mulfix(b, _this->m[2]) + gf_mulfix(a, _this->m[3]) + _this->m[4]; gf_mulfix 1831 src/utils/color.c _g = gf_mulfix(r, _this->m[5]) + gf_mulfix(g, _this->m[6]) + gf_mulfix(b, _this->m[7]) + gf_mulfix(a, _this->m[8]) + _this->m[9]; gf_mulfix 1832 src/utils/color.c _b = gf_mulfix(r, _this->m[10]) + gf_mulfix(g, _this->m[11]) + gf_mulfix(b, _this->m[12]) + gf_mulfix(a, _this->m[13]) + _this->m[14]; gf_mulfix 1833 src/utils/color.c _a = gf_mulfix(r, _this->m[15]) + gf_mulfix(g, _this->m[16]) + gf_mulfix(b, _this->m[17]) + gf_mulfix(a, _this->m[18]) + _this->m[19]; gf_mulfix 290 src/utils/math.c vec.x = gf_mulfix(length, cosa); gf_mulfix 291 src/utils/math.c vec.y = gf_mulfix(length, sina); gf_mulfix 715 src/utils/math.c _this->m[0] = gf_mulfix(from->m[0], bck.m[0]) + gf_mulfix(from->m[1], bck.m[3]); gf_mulfix 716 src/utils/math.c _this->m[1] = gf_mulfix(from->m[0], bck.m[1]) + gf_mulfix(from->m[1], bck.m[4]); gf_mulfix 717 src/utils/math.c _this->m[2] = gf_mulfix(from->m[0], bck.m[2]) + gf_mulfix(from->m[1], bck.m[5]) + from->m[2]; gf_mulfix 718 src/utils/math.c _this->m[3] = gf_mulfix(from->m[3], bck.m[0]) + gf_mulfix(from->m[4], bck.m[3]); gf_mulfix 719 src/utils/math.c _this->m[4] = gf_mulfix(from->m[3], bck.m[1]) + gf_mulfix(from->m[4], bck.m[4]); gf_mulfix 720 src/utils/math.c _this->m[5] = gf_mulfix(from->m[3], bck.m[2]) + gf_mulfix(from->m[4], bck.m[5]) + from->m[5]; gf_mulfix 736 src/utils/math.c _this->m[0] = gf_mulfix(bck.m[0], with->m[0]) + gf_mulfix(bck.m[1], with->m[3]); gf_mulfix 737 src/utils/math.c _this->m[1] = gf_mulfix(bck.m[0], with->m[1]) + gf_mulfix(bck.m[1], with->m[4]); gf_mulfix 738 src/utils/math.c _this->m[2] = gf_mulfix(bck.m[0], with->m[2]) + gf_mulfix(bck.m[1], with->m[5]) + bck.m[2]; gf_mulfix 739 src/utils/math.c _this->m[3] = gf_mulfix(bck.m[3], with->m[0]) + gf_mulfix(bck.m[4], with->m[3]); gf_mulfix 740 src/utils/math.c _this->m[4] = gf_mulfix(bck.m[3], with->m[1]) + gf_mulfix(bck.m[4], with->m[4]); gf_mulfix 741 src/utils/math.c _this->m[5] = gf_mulfix(bck.m[3], with->m[2]) + gf_mulfix(bck.m[4], with->m[5]) + bck.m[5]; gf_mulfix 862 src/utils/math.c det = gf_mulfix(_this->m[0], _this->m[4]) - gf_mulfix(_this->m[1], _this->m[3]); gf_mulfix 871 src/utils/math.c tmp.m[2] = gf_mulfix(gf_divfix(_this->m[1], det), _this->m[5]) - gf_mulfix(gf_divfix(_this->m[4], det), _this->m[2]); gf_mulfix 875 src/utils/math.c tmp.m[5] = gf_mulfix( gf_divfix(_this->m[3], det), _this->m[2]) - gf_mulfix( gf_divfix(_this->m[5], det), _this->m[0]); gf_mulfix 902 src/utils/math.c det = gf_mulfix(tmp[0], tmp[3]) + gf_mulfix(tmp[1], tmp[4]); gf_mulfix 926 src/utils/math.c _x = gf_mulfix(*x, _this->m[0]) + gf_mulfix(*y, _this->m[1]) + _this->m[2]; gf_mulfix 927 src/utils/math.c _y = gf_mulfix(*x, _this->m[3]) + gf_mulfix(*y, _this->m[4]) + _this->m[5]; gf_mulfix 1056 src/utils/math.c return gf_sqrt( gf_mulfix(v.x, v.x) + gf_mulfix(v.y, v.y) + gf_mulfix(v.z, v.z) ) << 8; gf_mulfix 1059 src/utils/math.c return gf_sqrt( gf_mulfix(v.x, v.x) + gf_mulfix(v.y, v.y) + gf_mulfix(v.z, v.z) ); gf_mulfix 1081 src/utils/math.c return ( gf_mulfix(v.x, v.x) + gf_mulfix(v.y, v.y) + gf_mulfix(v.z, v.z) ) << 16; gf_mulfix 1083 src/utils/math.c return gf_mulfix(v.x, v.x) + gf_mulfix(v.y, v.y) + gf_mulfix(v.z, v.z); gf_mulfix 1110 src/utils/math.c return ( gf_mulfix(v1.x, v2.x) + gf_mulfix(v1.y, v2.y) + gf_mulfix(v1.z, v2.z) ) << 8; gf_mulfix 1112 src/utils/math.c return gf_mulfix(v1.x, v2.x) + gf_mulfix(v1.y, v2.y) + gf_mulfix(v1.z, v2.z); gf_mulfix 1136 src/utils/math.c res.x = gf_mulfix(v.x, f); gf_mulfix 1137 src/utils/math.c res.y = gf_mulfix(v.y, f); gf_mulfix 1138 src/utils/math.c res.z = gf_mulfix(v.z, f); gf_mulfix 1167 src/utils/math.c res.x = gf_mulfix(v1.y, v2.z) - gf_mulfix(v2.y, v1.z); gf_mulfix 1168 src/utils/math.c res.y = gf_mulfix(v2.x, v1.z) - gf_mulfix(v1.x, v2.z); gf_mulfix 1169 src/utils/math.c res.z = gf_mulfix(v1.x, v2.y) - gf_mulfix(v2.x, v1.y); gf_mulfix 1175 src/utils/math.c res.x = gf_mulfix(v1.y, v2.z) - gf_mulfix(v2.y, v1.z); gf_mulfix 1176 src/utils/math.c res.y = gf_mulfix(v2.x, v1.z) - gf_mulfix(v1.x, v2.z); gf_mulfix 1177 src/utils/math.c res.z = gf_mulfix(v1.x, v2.y) - gf_mulfix(v2.x, v1.y); gf_mulfix 1258 src/utils/math.c tmp.m[0] = gf_mulfix(mat->m[0],mul->m[0]) + gf_mulfix(mat->m[4],mul->m[1]) + gf_mulfix(mat->m[8],mul->m[2]); gf_mulfix 1259 src/utils/math.c tmp.m[4] = gf_mulfix(mat->m[0],mul->m[4]) + gf_mulfix(mat->m[4],mul->m[5]) + gf_mulfix(mat->m[8],mul->m[6]); gf_mulfix 1260 src/utils/math.c tmp.m[8] = gf_mulfix(mat->m[0],mul->m[8]) + gf_mulfix(mat->m[4],mul->m[9]) + gf_mulfix(mat->m[8],mul->m[10]); gf_mulfix 1261 src/utils/math.c tmp.m[12]= gf_mulfix(mat->m[0],mul->m[12]) + gf_mulfix(mat->m[4],mul->m[13]) + gf_mulfix(mat->m[8],mul->m[14]) + mat->m[12]; gf_mulfix 1262 src/utils/math.c tmp.m[1] = gf_mulfix(mat->m[1],mul->m[0]) + gf_mulfix(mat->m[5],mul->m[1]) + gf_mulfix(mat->m[9],mul->m[2]); gf_mulfix 1263 src/utils/math.c tmp.m[5] = gf_mulfix(mat->m[1],mul->m[4]) + gf_mulfix(mat->m[5],mul->m[5]) + gf_mulfix(mat->m[9],mul->m[6]); gf_mulfix 1264 src/utils/math.c tmp.m[9] = gf_mulfix(mat->m[1],mul->m[8]) + gf_mulfix(mat->m[5],mul->m[9]) + gf_mulfix(mat->m[9],mul->m[10]); gf_mulfix 1265 src/utils/math.c tmp.m[13]= gf_mulfix(mat->m[1],mul->m[12]) + gf_mulfix(mat->m[5],mul->m[13]) + gf_mulfix(mat->m[9],mul->m[14]) + mat->m[13]; gf_mulfix 1266 src/utils/math.c tmp.m[2] = gf_mulfix(mat->m[2],mul->m[0]) + gf_mulfix(mat->m[6],mul->m[1]) + gf_mulfix(mat->m[10],mul->m[2]); gf_mulfix 1267 src/utils/math.c tmp.m[6] = gf_mulfix(mat->m[2],mul->m[4]) + gf_mulfix(mat->m[6],mul->m[5]) + gf_mulfix(mat->m[10],mul->m[6]); gf_mulfix 1268 src/utils/math.c tmp.m[10]= gf_mulfix(mat->m[2],mul->m[8]) + gf_mulfix(mat->m[6],mul->m[9]) + gf_mulfix(mat->m[10],mul->m[10]); gf_mulfix 1269 src/utils/math.c tmp.m[14]= gf_mulfix(mat->m[2],mul->m[12]) + gf_mulfix(mat->m[6],mul->m[13]) + gf_mulfix(mat->m[10],mul->m[14]) + mat->m[14]; gf_mulfix 1279 src/utils/math.c tmp.m[0] = gf_mulfix(mat->m[0],mat2D->m[0]) + gf_mulfix(mat->m[4],mat2D->m[3]); gf_mulfix 1280 src/utils/math.c tmp.m[4] = gf_mulfix(mat->m[0],mat2D->m[1]) + gf_mulfix(mat->m[4],mat2D->m[4]); gf_mulfix 1282 src/utils/math.c tmp.m[12]= gf_mulfix(mat->m[0],mat2D->m[2]) + gf_mulfix(mat->m[4],mat2D->m[5]) + mat->m[12]; gf_mulfix 1283 src/utils/math.c tmp.m[1] = gf_mulfix(mat->m[1],mat2D->m[0]) + gf_mulfix(mat->m[5],mat2D->m[3]); gf_mulfix 1284 src/utils/math.c tmp.m[5] = gf_mulfix(mat->m[1],mat2D->m[1]) + gf_mulfix(mat->m[5],mat2D->m[4]); gf_mulfix 1286 src/utils/math.c tmp.m[13]= gf_mulfix(mat->m[1],mat2D->m[2]) + gf_mulfix(mat->m[5],mat2D->m[5]) + mat->m[13]; gf_mulfix 1287 src/utils/math.c tmp.m[2] = gf_mulfix(mat->m[2],mat2D->m[0]) + gf_mulfix(mat->m[6],mat2D->m[3]); gf_mulfix 1288 src/utils/math.c tmp.m[6] = gf_mulfix(mat->m[2],mat2D->m[1]) + gf_mulfix(mat->m[6],mat2D->m[4]); gf_mulfix 1290 src/utils/math.c tmp.m[14]= gf_mulfix(mat->m[2],mat2D->m[2]) + gf_mulfix(mat->m[6],mat2D->m[5]) + mat->m[14]; gf_mulfix 1305 src/utils/math.c tmp[i] += (gf_mulfix(tx,mat->m[i]) + gf_mulfix(ty,mat->m[i+4]) + gf_mulfix(tz, mat->m[i + 8])); gf_mulfix 1323 src/utils/math.c mat->m[i*4 + j] = gf_mulfix(mat->m[j+4 * i], tmp[i]); gf_mulfix 1333 src/utils/math.c Fixed nor = gf_sqrt(gf_mulfix(x,x) + gf_mulfix(y,y) + gf_mulfix(z,z)); gf_mulfix 1343 src/utils/math.c xx = gf_mulfix(x,x); gf_mulfix 1344 src/utils/math.c yy = gf_mulfix(y,y); gf_mulfix 1345 src/utils/math.c zz = gf_mulfix(z,z); gf_mulfix 1346 src/utils/math.c xy = gf_mulfix(x,y); gf_mulfix 1347 src/utils/math.c xz = gf_mulfix(x,z); gf_mulfix 1348 src/utils/math.c yz = gf_mulfix(y,z); gf_mulfix 1350 src/utils/math.c tmp.m[0] = gf_mulfix(icos_a,xx) + cos_a; gf_mulfix 1351 src/utils/math.c tmp.m[1] = gf_mulfix(xy,icos_a) + gf_mulfix(z,sin_a); gf_mulfix 1352 src/utils/math.c tmp.m[2] = gf_mulfix(xz,icos_a) - gf_mulfix(y,sin_a); gf_mulfix 1354 src/utils/math.c tmp.m[4] = gf_mulfix(xy,icos_a) - gf_mulfix(z,sin_a); gf_mulfix 1355 src/utils/math.c tmp.m[5] = gf_mulfix(icos_a,yy) + cos_a; gf_mulfix 1356 src/utils/math.c tmp.m[6] = gf_mulfix(yz,icos_a) + gf_mulfix(x,sin_a); gf_mulfix 1358 src/utils/math.c tmp.m[8] = gf_mulfix(xz,icos_a) + gf_mulfix(y,sin_a); gf_mulfix 1359 src/utils/math.c tmp.m[9] = gf_mulfix(yz,icos_a) - gf_mulfix(x,sin_a); gf_mulfix 1360 src/utils/math.c tmp.m[10]= gf_mulfix(icos_a,zz) + cos_a; gf_mulfix 1432 src/utils/math.c det = gf_mulfix(gf_mulfix(mx->m[0], mx->m[5]) , mx->m[10]); gf_mulfix 1433 src/utils/math.c det += gf_mulfix(gf_mulfix(mx->m[1], mx->m[6]) , mx->m[8]); gf_mulfix 1434 src/utils/math.c det += gf_mulfix(gf_mulfix(mx->m[2], mx->m[4]) , mx->m[9]); gf_mulfix 1435 src/utils/math.c det -= gf_mulfix(gf_mulfix(mx->m[2], mx->m[5]) , mx->m[8]); gf_mulfix 1436 src/utils/math.c det -= gf_mulfix(gf_mulfix(mx->m[1], mx->m[4]) , mx->m[10]); gf_mulfix 1437 src/utils/math.c det -= gf_mulfix(gf_mulfix(mx->m[0], mx->m[6]) , mx->m[9]); gf_mulfix 1471 src/utils/math.c rev.m[12] = -( gf_mulfix(mx->m[12], rev.m[0]) + gf_mulfix(mx->m[13], rev.m[4]) + gf_mulfix(mx->m[14], rev.m[8]) ); gf_mulfix 1472 src/utils/math.c rev.m[13] = -( gf_mulfix(mx->m[12], rev.m[1]) + gf_mulfix(mx->m[13], rev.m[5]) + gf_mulfix(mx->m[14], rev.m[9]) ); gf_mulfix 1473 src/utils/math.c rev.m[14] = -( gf_mulfix(mx->m[12], rev.m[2]) + gf_mulfix(mx->m[13], rev.m[6]) + gf_mulfix(mx->m[14], rev.m[10]) ); gf_mulfix 1501 src/utils/math.c res.x = gf_mulfix(pt->x, mx->m[0]) + gf_mulfix(pt->y, mx->m[4]) + gf_mulfix(pt->z, mx->m[8]) + mx->m[12]; gf_mulfix 1502 src/utils/math.c res.y = gf_mulfix(pt->x, mx->m[1]) + gf_mulfix(pt->y, mx->m[5]) + gf_mulfix(pt->z, mx->m[9]) + mx->m[13]; gf_mulfix 1503 src/utils/math.c res.z = gf_mulfix(pt->x, mx->m[2]) + gf_mulfix(pt->y, mx->m[6]) + gf_mulfix(pt->z, mx->m[10]) + mx->m[14]; gf_mulfix 1600 src/utils/math.c row1.x -= gf_mulfix(row0.x, shear_xy); gf_mulfix 1601 src/utils/math.c row1.y -= gf_mulfix(row0.y, shear_xy); gf_mulfix 1602 src/utils/math.c row1.z -= gf_mulfix(row0.z, shear_xy); gf_mulfix 1609 src/utils/math.c row2.x -= gf_mulfix(row0.x, shear_xz); gf_mulfix 1610 src/utils/math.c row2.y -= gf_mulfix(row0.y, shear_xz); gf_mulfix 1611 src/utils/math.c row2.z -= gf_mulfix(row0.z, shear_xz); gf_mulfix 1613 src/utils/math.c row2.x -= gf_mulfix(row1.x, shear_yz); gf_mulfix 1614 src/utils/math.c row2.y -= gf_mulfix(row1.y, shear_yz); gf_mulfix 1615 src/utils/math.c row2.z -= gf_mulfix(row1.z, shear_yz); gf_mulfix 1697 src/utils/math.c res.x = gf_mulfix(pt->x, mx->m[0]) + gf_mulfix(pt->y, mx->m[4]) + gf_mulfix(pt->z, mx->m[8]); gf_mulfix 1698 src/utils/math.c res.y = gf_mulfix(pt->x, mx->m[1]) + gf_mulfix(pt->y, mx->m[5]) + gf_mulfix(pt->z, mx->m[9]); gf_mulfix 1699 src/utils/math.c res.z = gf_mulfix(pt->x, mx->m[2]) + gf_mulfix(pt->y, mx->m[6]) + gf_mulfix(pt->z, mx->m[10]); gf_mulfix 1700 src/utils/math.c den = gf_mulfix(pt->x, mx->m[3]) + gf_mulfix(pt->y, mx->m[7]) + gf_mulfix(pt->z, mx->m[11]) + mx->m[15]; gf_mulfix 1736 src/utils/math.c tmp.m[0] = gf_mulfix(mat->m[0],mul->m[0]) + gf_mulfix(mat->m[4],mul->m[1]) + gf_mulfix(mat->m[8],mul->m[2]) + gf_mulfix(mat->m[12],mul->m[3]); gf_mulfix 1737 src/utils/math.c tmp.m[1] = gf_mulfix(mat->m[1],mul->m[0]) + gf_mulfix(mat->m[5],mul->m[1]) + gf_mulfix(mat->m[9],mul->m[2]) + gf_mulfix(mat->m[13],mul->m[3]); gf_mulfix 1738 src/utils/math.c tmp.m[2] = gf_mulfix(mat->m[2],mul->m[0]) + gf_mulfix(mat->m[6],mul->m[1]) + gf_mulfix(mat->m[10],mul->m[2]) + gf_mulfix(mat->m[14],mul->m[3]); gf_mulfix 1739 src/utils/math.c tmp.m[3] = gf_mulfix(mat->m[3],mul->m[0]) + gf_mulfix(mat->m[7],mul->m[1]) + gf_mulfix(mat->m[11],mul->m[2]) + gf_mulfix(mat->m[15],mul->m[3]); gf_mulfix 1740 src/utils/math.c tmp.m[4] = gf_mulfix(mat->m[0],mul->m[4]) + gf_mulfix(mat->m[4],mul->m[5]) + gf_mulfix(mat->m[8],mul->m[6]) + gf_mulfix(mat->m[12],mul->m[7]); gf_mulfix 1741 src/utils/math.c tmp.m[5] = gf_mulfix(mat->m[1],mul->m[4]) + gf_mulfix(mat->m[5],mul->m[5]) + gf_mulfix(mat->m[9],mul->m[6]) + gf_mulfix(mat->m[13],mul->m[7]); gf_mulfix 1742 src/utils/math.c tmp.m[6] = gf_mulfix(mat->m[2],mul->m[4]) + gf_mulfix(mat->m[6],mul->m[5]) + gf_mulfix(mat->m[10],mul->m[6]) + gf_mulfix(mat->m[14],mul->m[7]); gf_mulfix 1743 src/utils/math.c tmp.m[7] = gf_mulfix(mat->m[3],mul->m[4]) + gf_mulfix(mat->m[7],mul->m[5]) + gf_mulfix(mat->m[11],mul->m[6]) + gf_mulfix(mat->m[15],mul->m[7]); gf_mulfix 1744 src/utils/math.c tmp.m[8] = gf_mulfix(mat->m[0],mul->m[8]) + gf_mulfix(mat->m[4],mul->m[9]) + gf_mulfix(mat->m[8],mul->m[10]) + gf_mulfix(mat->m[12],mul->m[11]); gf_mulfix 1745 src/utils/math.c tmp.m[9] = gf_mulfix(mat->m[1],mul->m[8]) + gf_mulfix(mat->m[5],mul->m[9]) + gf_mulfix(mat->m[9],mul->m[10]) + gf_mulfix(mat->m[13],mul->m[11]); gf_mulfix 1746 src/utils/math.c tmp.m[10] = gf_mulfix(mat->m[2],mul->m[8]) + gf_mulfix(mat->m[6],mul->m[9]) + gf_mulfix(mat->m[10],mul->m[10]) + gf_mulfix(mat->m[14],mul->m[11]); gf_mulfix 1747 src/utils/math.c tmp.m[11] = gf_mulfix(mat->m[3],mul->m[8]) + gf_mulfix(mat->m[7],mul->m[9]) + gf_mulfix(mat->m[11],mul->m[10]) + gf_mulfix(mat->m[15],mul->m[11]); gf_mulfix 1748 src/utils/math.c tmp.m[12] = gf_mulfix(mat->m[0],mul->m[12]) + gf_mulfix(mat->m[4],mul->m[13]) + gf_mulfix(mat->m[8],mul->m[14]) + gf_mulfix(mat->m[12],mul->m[15]); gf_mulfix 1749 src/utils/math.c tmp.m[13] = gf_mulfix(mat->m[1],mul->m[12]) + gf_mulfix(mat->m[5],mul->m[13]) + gf_mulfix(mat->m[9],mul->m[14]) + gf_mulfix(mat->m[13],mul->m[15]); gf_mulfix 1750 src/utils/math.c tmp.m[14] = gf_mulfix(mat->m[2],mul->m[12]) + gf_mulfix(mat->m[6],mul->m[13]) + gf_mulfix(mat->m[10],mul->m[14]) + gf_mulfix(mat->m[14],mul->m[15]); gf_mulfix 1751 src/utils/math.c tmp.m[15] = gf_mulfix(mat->m[3],mul->m[12]) + gf_mulfix(mat->m[7],mul->m[13]) + gf_mulfix(mat->m[11],mul->m[14]) + gf_mulfix(mat->m[15],mul->m[15]); gf_mulfix 1760 src/utils/math.c res.x = gf_mulfix(mx->m[0], vec->x) + gf_mulfix(mx->m[4], vec->y) + gf_mulfix(mx->m[8], vec->z) + gf_mulfix(mx->m[12], vec->q); gf_mulfix 1761 src/utils/math.c res.y = gf_mulfix(mx->m[1], vec->x) + gf_mulfix(mx->m[5], vec->y) + gf_mulfix(mx->m[9], vec->z) + gf_mulfix(mx->m[13], vec->q); gf_mulfix 1762 src/utils/math.c res.z = gf_mulfix(mx->m[2], vec->x) + gf_mulfix(mx->m[6], vec->y) + gf_mulfix(mx->m[10], vec->z) + gf_mulfix(mx->m[14], vec->q); gf_mulfix 1763 src/utils/math.c res.q = gf_mulfix(mx->m[3], vec->x) + gf_mulfix(mx->m[7], vec->y) + gf_mulfix(mx->m[11], vec->z) + gf_mulfix(mx->m[15], vec->q); gf_mulfix 1821 src/utils/math.c r1[1] -= gf_mulfix(m1, s); gf_mulfix 1822 src/utils/math.c r2[1] -= gf_mulfix(m2, s); gf_mulfix 1823 src/utils/math.c r3[1] -= gf_mulfix(m3, s); gf_mulfix 1825 src/utils/math.c r1[2] -= gf_mulfix(m1, s); gf_mulfix 1826 src/utils/math.c r2[2] -= gf_mulfix(m2, s); gf_mulfix 1827 src/utils/math.c r3[2] -= gf_mulfix(m3, s); gf_mulfix 1829 src/utils/math.c r1[3] -= gf_mulfix(m1, s); gf_mulfix 1830 src/utils/math.c r2[3] -= gf_mulfix(m2, s); gf_mulfix 1831 src/utils/math.c r3[3] -= gf_mulfix(m3, s); gf_mulfix 1834 src/utils/math.c r1[4] -= gf_mulfix(m1, s); gf_mulfix 1835 src/utils/math.c r2[4] -= gf_mulfix(m2, s); gf_mulfix 1836 src/utils/math.c r3[4] -= gf_mulfix(m3, s); gf_mulfix 1840 src/utils/math.c r1[5] -= gf_mulfix(m1, s); gf_mulfix 1841 src/utils/math.c r2[5] -= gf_mulfix(m2, s); gf_mulfix 1842 src/utils/math.c r3[5] -= gf_mulfix(m3, s); gf_mulfix 1846 src/utils/math.c r1[6] -= gf_mulfix(m1, s); gf_mulfix 1847 src/utils/math.c r2[6] -= gf_mulfix(m2, s); gf_mulfix 1848 src/utils/math.c r3[6] -= gf_mulfix(m3, s); gf_mulfix 1852 src/utils/math.c r1[7] -= gf_mulfix(m1, s); gf_mulfix 1853 src/utils/math.c r2[7] -= gf_mulfix(m2, s); gf_mulfix 1854 src/utils/math.c r3[7] -= gf_mulfix(m3, s); gf_mulfix 1865 src/utils/math.c r2[2] -= gf_mulfix(m2, r1[2]); gf_mulfix 1866 src/utils/math.c r3[2] -= gf_mulfix(m3, r1[2]); gf_mulfix 1867 src/utils/math.c r2[3] -= gf_mulfix(m2, r1[3]); gf_mulfix 1868 src/utils/math.c r3[3] -= gf_mulfix(m3, r1[3]); gf_mulfix 1871 src/utils/math.c r2[4] -= gf_mulfix(m2, s); gf_mulfix 1872 src/utils/math.c r3[4] -= gf_mulfix(m3, s); gf_mulfix 1876 src/utils/math.c r2[5] -= gf_mulfix(m2, s); gf_mulfix 1877 src/utils/math.c r3[5] -= gf_mulfix(m3, s); gf_mulfix 1881 src/utils/math.c r2[6] -= gf_mulfix(m2, s); gf_mulfix 1882 src/utils/math.c r3[6] -= gf_mulfix(m3, s); gf_mulfix 1886 src/utils/math.c r2[7] -= gf_mulfix(m2, s); gf_mulfix 1887 src/utils/math.c r3[7] -= gf_mulfix(m3, s); gf_mulfix 1896 src/utils/math.c r3[3] -= gf_mulfix(m3, r2[3]); gf_mulfix 1897 src/utils/math.c r3[4] -= gf_mulfix(m3, r2[4]); gf_mulfix 1898 src/utils/math.c r3[5] -= gf_mulfix(m3, r2[5]); gf_mulfix 1899 src/utils/math.c r3[6] -= gf_mulfix(m3, r2[6]); gf_mulfix 1900 src/utils/math.c r3[7] -= gf_mulfix(m3, r2[7]); gf_mulfix 1905 src/utils/math.c r3[4] = gf_mulfix(r3[4], s); gf_mulfix 1906 src/utils/math.c r3[5] = gf_mulfix(r3[5], s); gf_mulfix 1907 src/utils/math.c r3[6] = gf_mulfix(r3[6], s); gf_mulfix 1908 src/utils/math.c r3[7] = gf_mulfix(r3[7], s); gf_mulfix 1912 src/utils/math.c r2[4] = gf_mulfix(s, r2[4] - gf_mulfix(r3[4], m2)); gf_mulfix 1913 src/utils/math.c r2[5] = gf_mulfix(s, r2[5] - gf_mulfix(r3[5], m2)); gf_mulfix 1914 src/utils/math.c r2[6] = gf_mulfix(s, r2[6] - gf_mulfix(r3[6], m2)); gf_mulfix 1915 src/utils/math.c r2[7] = gf_mulfix(s, r2[7] - gf_mulfix(r3[7], m2)); gf_mulfix 1917 src/utils/math.c r1[4] -= gf_mulfix(r3[4], m1); gf_mulfix 1918 src/utils/math.c r1[5] -= gf_mulfix(r3[5], m1); gf_mulfix 1919 src/utils/math.c r1[6] -= gf_mulfix(r3[6], m1); gf_mulfix 1920 src/utils/math.c r1[7] -= gf_mulfix(r3[7], m1); gf_mulfix 1922 src/utils/math.c r0[4] -= gf_mulfix(r3[4], m0); gf_mulfix 1923 src/utils/math.c r0[5] -= gf_mulfix(r3[5], m0); gf_mulfix 1924 src/utils/math.c r0[6] -= gf_mulfix(r3[6], m0); gf_mulfix 1925 src/utils/math.c r0[7] -= gf_mulfix(r3[7], m0); gf_mulfix 1929 src/utils/math.c r1[4] = gf_mulfix(s, r1[4] - gf_mulfix(r2[4], m1)); gf_mulfix 1930 src/utils/math.c r1[5] = gf_mulfix(s, r1[5] - gf_mulfix(r2[5], m1)); gf_mulfix 1931 src/utils/math.c r1[6] = gf_mulfix(s, r1[6] - gf_mulfix(r2[6], m1)); gf_mulfix 1932 src/utils/math.c r1[7] = gf_mulfix(s, r1[7] - gf_mulfix(r2[7], m1)); gf_mulfix 1934 src/utils/math.c r0[4] -= gf_mulfix(r2[4], m0); gf_mulfix 1935 src/utils/math.c r0[5] -= gf_mulfix(r2[5], m0); gf_mulfix 1936 src/utils/math.c r0[6] -= gf_mulfix(r2[6], m0); gf_mulfix 1937 src/utils/math.c r0[7] -= gf_mulfix(r2[7], m0); gf_mulfix 1941 src/utils/math.c r0[4] = gf_mulfix(s, r0[4] - gf_mulfix(r1[4], m0)); gf_mulfix 1942 src/utils/math.c r0[5] = gf_mulfix(s, r0[5] - gf_mulfix(r1[5], m0)); gf_mulfix 1943 src/utils/math.c r0[6] = gf_mulfix(s, r0[6] - gf_mulfix(r1[6], m0)); gf_mulfix 1944 src/utils/math.c r0[7] = gf_mulfix(s, r0[7] - gf_mulfix(r1[7], m0)); gf_mulfix 1996 src/utils/math.c Fixed det = gf_mulfix(fn00,fn11) - gf_mulfix(fn01,fn01); gf_mulfix 2000 src/utils/math.c fc0 = gf_divfix( gf_mulfix(fn11, -plane->d) + gf_mulfix(fn01, with->d) , det); gf_mulfix 2001 src/utils/math.c fc1 = gf_divfix( gf_mulfix(fn00, -with->d) + gf_mulfix(fn01, plane->d) , det); gf_mulfix 2144 src/utils/math.c center_proj_sq = gf_mulfix(center_proj, center_proj); gf_mulfix 2145 src/utils/math.c hcord = center_proj_sq - gf_mulfix(dist, dist) + gf_mulfix(radius , radius); gf_mulfix 2250 src/utils/math.c res.x = gf_mulfix(mx->m[6] - mx->m[9], s); gf_mulfix 2251 src/utils/math.c res.y = gf_mulfix(mx->m[8] - mx->m[2], s); gf_mulfix 2252 src/utils/math.c res.z = gf_mulfix(mx->m[1] - mx->m[4], s); gf_mulfix 2271 src/utils/math.c q[3] = gf_mulfix(mx->m[4*j+k] - mx->m[4*k+j], s); gf_mulfix 2272 src/utils/math.c q[j] = gf_mulfix(mx->m[4*i+j] + mx->m[4*j+i], s); gf_mulfix 2273 src/utils/math.c q[k] = gf_mulfix(mx->m[4*i+k] + mx->m[4*k+i], s); gf_mulfix 2311 src/utils/math.c Fixed scale = gf_sqrt( gf_mulfix(rot.x, rot.x) + gf_mulfix(rot.y, rot.y) + gf_mulfix(rot.z, rot.z)); gf_mulfix 2364 src/utils/math.c ret.q = gf_mulfix(q1->q, q2->q) - gf_mulfix(q1->x, q2->x) - gf_mulfix(q1->y, q2->y) - gf_mulfix(q1->z, q2->z); gf_mulfix 2365 src/utils/math.c ret.x = gf_mulfix(q1->q, q2->x) + gf_mulfix(q1->x, q2->q) + gf_mulfix(q1->y, q2->z) - gf_mulfix(q1->z, q2->y); gf_mulfix 2366 src/utils/math.c ret.y = gf_mulfix(q1->q, q2->y) + gf_mulfix(q1->y, q2->q) - gf_mulfix(q1->x, q2->z) + gf_mulfix(q1->z, q2->x); gf_mulfix 2367 src/utils/math.c ret.z = gf_mulfix(q1->q, q2->z) + gf_mulfix(q1->z, q2->q) + gf_mulfix(q1->x, q2->y) - gf_mulfix(q1->y, q2->x); gf_mulfix 2403 src/utils/math.c cosom = gf_mulfix(q1.x, q2.x) + gf_mulfix(q1.y, q2.y) + gf_mulfix(q1.z, q2.z) + gf_mulfix(q1.q, q2.q); gf_mulfix 2421 src/utils/math.c scale0 = gf_divfix(gf_sin( gf_mulfix(FIX_ONE - frac, omega)), sinom); gf_mulfix 2422 src/utils/math.c scale1 = gf_divfix(gf_sin( gf_mulfix(frac, omega)), sinom); gf_mulfix 2428 src/utils/math.c res.x = gf_mulfix(scale0, q1.x) + gf_mulfix(scale1, q2_array[0]); gf_mulfix 2429 src/utils/math.c res.y = gf_mulfix(scale0, q1.y) + gf_mulfix(scale1, q2_array[1]); gf_mulfix 2430 src/utils/math.c res.z = gf_mulfix(scale0, q1.z) + gf_mulfix(scale1, q2_array[2]); gf_mulfix 2431 src/utils/math.c res.q = gf_mulfix(scale0, q1.q) + gf_mulfix(scale1, q2_array[3]); gf_mulfix 176 src/utils/path2d.c diff = gf_mulfix(end.x, end.x) + gf_mulfix(end.y, end.y); gf_mulfix 284 src/utils/path2d.c _vx = gf_mulfix(a_axis, gf_cos(cur) ); gf_mulfix 285 src/utils/path2d.c _vy = gf_mulfix(b_axis, gf_sin(cur) ); gf_mulfix 349 src/utils/path2d.c pt_out->x += gf_mulfix(pts[k].x, FLT2FIX(blend)); gf_mulfix 350 src/utils/path2d.c pt_out->y += gf_mulfix(pts[k].y, FLT2FIX(blend)); gf_mulfix 415 src/utils/path2d.c tmp = gf_mulfix((start_x - fa_x), (start_x - fa_x)) + gf_mulfix((start_y - fa_y), (start_y - fa_y)); gf_mulfix 417 src/utils/path2d.c tmp = gf_mulfix((start_x - fb_x) , (start_x - fb_x)) + gf_mulfix((start_y - fb_y), (start_y - fb_y)); gf_mulfix 420 src/utils/path2d.c axis_h = gf_sqrt(gf_mulfix(axis_w, axis_w) - gf_mulfix(fa_x,fa_x)); gf_mulfix 431 src/utils/path2d.c _vx = gf_mulfix(axis_w, gf_cos(angle)); gf_mulfix 432 src/utils/path2d.c _vy = gf_mulfix(axis_h, gf_sin(angle)); gf_mulfix 474 src/utils/path2d.c phi = gf_mulfix(x_axis_rotation/180, GF_PI); gf_mulfix 484 src/utils/path2d.c xmidp = gf_mulfix(cos_phi, xmid) + gf_mulfix(sin_phi, ymid); gf_mulfix 485 src/utils/path2d.c ymidp = gf_mulfix(-sin_phi, xmid) + gf_mulfix(cos_phi, ymid); gf_mulfix 486 src/utils/path2d.c xmidpsq = gf_mulfix(xmidp, xmidp); gf_mulfix 487 src/utils/path2d.c ymidpsq = gf_mulfix(ymidp, ymidp); gf_mulfix 489 src/utils/path2d.c rxsq = gf_mulfix(r_x, r_x); gf_mulfix 490 src/utils/path2d.c rysq = gf_mulfix(r_y, r_y); gf_mulfix 495 src/utils/path2d.c r_x = gf_mulfix(gf_sqrt(radius_scale), r_x); gf_mulfix 496 src/utils/path2d.c r_y = gf_mulfix(gf_sqrt(radius_scale), r_y); gf_mulfix 497 src/utils/path2d.c rxsq = gf_mulfix(r_x, r_x); gf_mulfix 498 src/utils/path2d.c rysq = gf_mulfix(r_y, r_y); gf_mulfix 505 src/utils/path2d.c sign = gf_mulfix(rxsq,ymidpsq) + gf_mulfix(rysq, xmidpsq); gf_mulfix 509 src/utils/path2d.c (gf_mulfix(rxsq,rysq) - gf_mulfix(rxsq, ymidpsq) - gf_mulfix(rysq,xmidpsq)), gf_mulfix 523 src/utils/path2d.c tmp = gf_mulfix(gf_divfix(rysq, rxsq), xmidpsq); gf_mulfix 531 src/utils/path2d.c cxp = gf_mulfix(scale, gf_divfix(gf_mulfix(r_x, ymidp),r_y)); gf_mulfix 532 src/utils/path2d.c cyp = gf_mulfix(scale, -gf_divfix(gf_mulfix(r_y, xmidp),r_x)); gf_mulfix 536 src/utils/path2d.c c_x = gf_mulfix(cos_phi, cxp) - gf_mulfix(sin_phi, cyp) + (start_x + end_x)/2; gf_mulfix 537 src/utils/path2d.c c_y = gf_mulfix(sin_phi, cxp) + gf_mulfix(cos_phi, cyp) + (start_y + end_y)/2; gf_mulfix 541 src/utils/path2d.c normv = gf_sqrt(gf_mulfix(vx, vx) + gf_mulfix(vy,vy)); gf_mulfix 552 src/utils/path2d.c normu = gf_sqrt(gf_mulfix(ux, ux) + gf_mulfix(uy,uy)); gf_mulfix 554 src/utils/path2d.c sign = gf_mulfix(ux, vy) - gf_mulfix(uy, vx); gf_mulfix 555 src/utils/path2d.c sweep_angle = gf_divfix( gf_mulfix(ux,vx) + gf_mulfix(uy, vy), gf_mulfix(normu, normv) ); gf_mulfix 571 src/utils/path2d.c _vx = gf_mulfix(r_x, gf_cos(angle)); gf_mulfix 572 src/utils/path2d.c _vy = gf_mulfix(r_y, gf_sin(angle)); gf_mulfix 573 src/utils/path2d.c _vxp = gf_mulfix(cos_phi, _vx) - gf_mulfix(sin_phi, _vy) + c_x; gf_mulfix 574 src/utils/path2d.c _vyp = gf_mulfix(sin_phi, _vx) + gf_mulfix(cos_phi, _vy) + c_y; gf_mulfix 603 src/utils/path2d.c _vx = gf_mulfix(radius, gf_cos(cur)); gf_mulfix 604 src/utils/path2d.c _vy = gf_mulfix(radius, gf_sin(cur)); gf_mulfix 885 src/utils/path2d.c max_perp = gf_mulfix(fineness, z3_0); gf_mulfix 887 src/utils/path2d.c z1_perp = gf_mulfix((y1 - y0), x3_0) - gf_mulfix((x1 - x0), y3_0); gf_mulfix 891 src/utils/path2d.c z2_perp = gf_mulfix((y3 - y2), x3_0) - gf_mulfix((x3 - x2), y3_0); gf_mulfix 895 src/utils/path2d.c z1_dot = gf_mulfix((x1 - x0), x3_0) + gf_mulfix((y1 - y0), y3_0); gf_mulfix 899 src/utils/path2d.c z2_dot = gf_mulfix((x3 - x2), x3_0) + gf_mulfix((y3 - y2), y3_0); gf_mulfix 1013 src/utils/path2d.c ( gf_mulfix((P1.x - P0.x), (P2.y - P0.y)) - gf_mulfix((P2.x - P0.x), (P1.y - P0.y)) ) gf_mulfix 1195 src/utils/path2d.c it->seg[it->num_seg].len = gf_sqrt(gf_mulfix(dx, dx) + gf_mulfix(dy, dy)); gf_mulfix 1237 src/utils/path2d.c gf_mx2d_add_translation(&final, path->seg[i].start_x + gf_mulfix(path->seg[i].dx, res), path->seg[i].start_y + gf_mulfix(path->seg[i].dy, res)); gf_mulfix 1258 src/utils/path2d.c angle = gf_mulfix(FIX_ONE-ratio, angleNext) - gf_mulfix(ratio, angle); gf_mulfix 1260 src/utils/path2d.c angle = gf_mulfix(ratio, angle) + gf_mulfix(FIX_ONE-ratio, angleNext); gf_mulfix 1307 src/utils/path2d.c #define ConvexCross(p, q) gf_mulfix(p.x,q.y) - gf_mulfix(p.y,q.x); gf_mulfix 585 src/utils/path2d_stroker.c sigma = gf_mulfix( stroker->miter_limit, thcos ); gf_mulfix 654 src/utils/path2d_stroker.c sigma = gf_mulfix( stroker->miter_limit, thcos ); gf_mulfix 666 src/utils/path2d_stroker.c middle = gf_v2d_from_polar(gf_mulfix(radius, stroker->miter_limit), phi); gf_mulfix 671 src/utils/path2d_stroker.c length = gf_mulfix(radius, gf_divfix( FIX_ONE - sigma, ABS( gf_sin( theta ) ) ) ); gf_mulfix 1409 src/utils/path2d_stroker.c return gf_mulfix(ret, pen->width); gf_mulfix 1482 src/utils/path2d_stroker.c if (length_scale) dash = gf_mulfix(dash, length_scale); gf_mulfix 1501 src/utils/path2d_stroker.c if (length_scale) dash = gf_mulfix(dash, length_scale); gf_mulfix 1506 src/utils/path2d_stroker.c if (length_scale) dash = gf_mulfix(dash, length_scale); gf_mulfix 1518 src/utils/path2d_stroker.c if (length_scale) dash = gf_mulfix(dash, length_scale); gf_mulfix 1541 src/utils/path2d_stroker.c x = pts[i].x + gf_mulfix(a, dx); gf_mulfix 1542 src/utils/path2d_stroker.c y = pts[i].y + gf_mulfix(a, dy); gf_mulfix 1586 src/utils/path2d_stroker.c x = pts[i].x + gf_mulfix(a, dx); gf_mulfix 1587 src/utils/path2d_stroker.c y = pts[i].y + gf_mulfix(a, dy); gf_mulfix 1605 src/utils/path2d_stroker.c if (length_scale) dash = gf_mulfix(dash, length_scale); gf_mulfix 1661 src/utils/path2d_stroker.c pen->dash_offset = gf_mulfix(pen->dash_offset, length_scale); gf_mulfix 1715 src/utils/path2d_stroker.c scaled->points[i].x = gf_mulfix(scaled->points[i].x, sx); gf_mulfix 1716 src/utils/path2d_stroker.c scaled->points[i].y = gf_mulfix(scaled->points[i].y, sy);