FIX_ONE 102 applications/mp4client/main.c static Fixed playback_speed = FIX_ONE; FIX_ONE 814 applications/mp4client/main.c if (playback_speed != FIX_ONE) FIX_ONE 1417 applications/mp4client/main.c if (playback_speed <= 0) playback_speed = FIX_ONE; FIX_ONE 111 applications/testapps/svg2bifs/main.c mat->transparency = FIX_ONE - svg_props->fill_opacity->value; FIX_ONE 139 applications/testapps/svg2bifs/main.c xlp->transparency = FIX_ONE - svg_props->stroke_opacity->value; FIX_ONE 403 applications/testapps/svg2bifs/main.c b->backColor.red = FIX_ONE; FIX_ONE 404 applications/testapps/svg2bifs/main.c b->backColor.green = FIX_ONE; FIX_ONE 405 applications/testapps/svg2bifs/main.c b->backColor.blue = FIX_ONE; FIX_ONE 415 applications/testapps/svg2bifs/main.c tr->scale.y = -FIX_ONE; FIX_ONE 675 applications/testapps/svg2bifs/main.c tr->scale.y = -FIX_ONE; FIX_ONE 53 include/gpac/internal/mesh.h #define MESH_NORMAL_UNIT FIX_ONE FIX_ONE 76 include/gpac/maths.h #define FLT2FIX(v) ((Fixed) ((v) * FIX_ONE)) FIX_ONE 77 include/gpac/maths.h #define FIX2INT(v) ((s32)(((v)+((FIX_ONE>>1)))>>16)) FIX_ONE 78 include/gpac/maths.h #define FIX2FLT(v) ((Float)( ((Float)(v)) / ((Float) FIX_ONE))) FIX_ONE 133 include/gpac/maths.h #define gf_invfix(_a) (FIX_ONE/(_a)) FIX_ONE 367 include/gpac/maths.h #define gf_mx2d_init(_obj) { memset((_obj).m, 0, sizeof(Fixed)*6); (_obj).m[0] = (_obj).m[4] = FIX_ONE; } FIX_ONE 379 include/gpac/maths.h #define gf_mx2d_is_identity(_obj) ((!(_obj).m[1] && !(_obj).m[2] && !(_obj).m[3] && !(_obj).m[5] && ((_obj).m[0]==FIX_ONE) && ((_obj).m[4]==FIX_ONE)) ? 1 : 0) FIX_ONE 713 include/gpac/maths.h #define gf_mx_init(_obj) { memset((_obj).m, 0, sizeof(Fixed)*16); (_obj).m[0] = (_obj).m[5] = (_obj).m[10] = (_obj).m[15] = FIX_ONE; } FIX_ONE 715 include/gpac/maths.h #define gf_mx_is_identity(_obj) ((!(_obj).m[1] && !(_obj).m[2] && !(_obj).m[3] && !(_obj).m[4] && !(_obj).m[6] && !(_obj).m[7] && !(_obj).m[8] && !(_obj).m[9] && !(_obj).m[11] && !(_obj).m[12] && !(_obj).m[13] && !(_obj).m[14] && ((_obj).m[0]==FIX_ONE) && ((_obj).m[5]==FIX_ONE)&& ((_obj).m[10]==FIX_ONE)&& ((_obj).m[15]==FIX_ONE)) ? 1 : 0) FIX_ONE 295 modules/droid_out/droid_vout.c rc->ortho.m[15] = FIX_ONE; FIX_ONE 1108 modules/sdl_out/video.c gpac_evt.mouse.wheel_pos = (sdl_evt.button.button==SDL_BUTTON_WHEELUP) ? FIX_ONE : -FIX_ONE; FIX_ONE 120 modules/soft_raster/stencil.c _this->pos[count] = -FIX_ONE; FIX_ONE 300 modules/soft_raster/stencil.c evg_stencil_set_linear_gradient((EVGStencil *)tmp, 0, 0, FIX_ONE, 0); FIX_ONE 351 modules/soft_raster/stencil.c p1.x = FIX_ONE; FIX_ONE 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); FIX_ONE 377 modules/soft_raster/stencil.c tmp->center.x = tmp->center.y = FIX_ONE/2; FIX_ONE 446 modules/soft_raster/stencil.c if (ABS(x)< FIX_ONE/20) checkx = 1; FIX_ONE 447 modules/soft_raster/stencil.c if (ABS(y)< FIX_ONE/20) checky = 1; FIX_ONE 642 modules/soft_raster/stencil.c if (ABS(x)< FIX_ONE/10) { FIX_ONE 647 modules/soft_raster/stencil.c if (ABS(y)< FIX_ONE/10) { FIX_ONE 691 modules/soft_raster/stencil.c p1.x = FIX_ONE; FIX_ONE 34 modules/soft_raster/surface.c gf_mx2d_add_scale(mat, FIX_ONE, -FIX_ONE); FIX_ONE 592 modules/soft_raster/surface.c if (!surf->center_coords) gf_mx2d_add_scale(&sten->smat, FIX_ONE, -FIX_ONE); FIX_ONE 594 modules/soft_raster/surface.c if (surf->center_coords) gf_mx2d_add_scale(&sten->smat, FIX_ONE, -FIX_ONE); FIX_ONE 379 modules/timedtext/timedtext_dec.c if (priv->process_blink->set_fraction>FIX_ONE/2) blink_on = GF_FALSE; FIX_ONE 394 modules/timedtext/timedtext_dec.c if (frac==FIX_ONE) priv->is_active = GF_FALSE; FIX_ONE 409 modules/timedtext/timedtext_dec.c if (frac < FIX_ONE - priv->scroll_time) return; FIX_ONE 410 modules/timedtext/timedtext_dec.c frac -= FIX_ONE - priv->scroll_time; FIX_ONE 434 modules/timedtext/timedtext_dec.c if (frac < FIX_ONE - priv->scroll_time) return; FIX_ONE 435 modules/timedtext/timedtext_dec.c frac -= FIX_ONE - priv->scroll_time; FIX_ONE 528 modules/timedtext/timedtext_dec.c ((M_Material2D *)txt_material)->transparency = FIX_ONE - INT2FIX((color>>24) & 0xFF) / 255; FIX_ONE 765 modules/timedtext/timedtext_dec.c priv->mat_box->transparency = FIX_ONE; FIX_ONE 768 modules/timedtext/timedtext_dec.c priv->mat_track->transparency = FIX_ONE; FIX_ONE 772 modules/timedtext/timedtext_dec.c n->transparency = FIX_ONE - INT2FIX((td->back_color>>24) & 0xFF) / 255; FIX_ONE 800 modules/timedtext/timedtext_dec.c if (priv->mat_track->transparency<FIX_ONE) { FIX_ONE 811 modules/timedtext/timedtext_dec.c if (priv->mat_box->transparency<FIX_ONE) { FIX_ONE 871 modules/timedtext/timedtext_dec.c priv->scroll_time = FIX_ONE; FIX_ONE 876 modules/timedtext/timedtext_dec.c if (priv->scroll_delay>FIX_ONE) priv->scroll_delay = FIX_ONE; FIX_ONE 877 modules/timedtext/timedtext_dec.c priv->scroll_time = (FIX_ONE - priv->scroll_delay); FIX_ONE 876 modules/x11_out/x11_out.c evt.mouse.wheel_pos = FIX_ONE; FIX_ONE 881 modules/x11_out/x11_out.c evt.mouse.wheel_pos = -FIX_ONE; FIX_ONE 85 src/bifs/predictive_mffield.c Fixed delta=FIX_ONE; FIX_ONE 87 src/bifs/predictive_mffield.c Fixed v = PMF_UnquantizeFloat(pmf->current_val[i] - (1<< (pmf->QNbBits -1) ), 0 , FIX_ONE, pmf->QNbBits, 1); FIX_ONE 110 src/bifs/predictive_mffield.c Fixed sine, delta = FIX_ONE; FIX_ONE 113 src/bifs/predictive_mffield.c Fixed v = PMF_UnquantizeFloat(pmf->current_val[i] - (1<<(pmf->QNbBits - 1)), 0, FIX_ONE, pmf->QNbBits, 1); FIX_ONE 134 src/bifs/predictive_mffield.c ((SFRotation *)slot)->x = FIX_ONE; FIX_ONE 188 src/bifs/unquantize.c b_max->x = b_max->y = b_max->z = FIX_ONE; FIX_ONE 194 src/bifs/unquantize.c b_max->x = b_max->y = b_max->z = FIX_ONE; FIX_ONE 330 src/bifs/unquantize.c comp[3] = FIX_ONE; FIX_ONE 153 src/compositor/audio_input.c return (ai->intensity==FIX_ONE) ? GF_FALSE : GF_TRUE; FIX_ONE 201 src/compositor/audio_input.c ai->intensity = FIX_ONE; FIX_ONE 203 src/compositor/audio_input.c ai->speed = FIX_ONE; FIX_ONE 615 src/compositor/audio_mixer.c if (single_source->src->GetSpeed(single_source->src->callback)!=FIX_ONE) goto do_mix; FIX_ONE 710 src/compositor/audio_mixer.c && (in->src->chan == am->nb_channels) && (in->speed == FIX_ONE) FIX_ONE 135 src/compositor/camera.c norm.y = FIX_ONE; FIX_ONE 142 src/compositor/camera.c norm.q = FIX_ONE; FIX_ONE 155 src/compositor/camera.c y_quat.y = FIX_ONE; FIX_ONE 201 src/compositor/camera.c cam->up.y = FIX_ONE; FIX_ONE 206 src/compositor/camera.c cam->vp_orientation.y = FIX_ONE; FIX_ONE 209 src/compositor/camera.c cam->end_zoom = FIX_ONE; FIX_ONE 248 src/compositor/camera.c cam->projection.m[11] = -FIX_ONE; FIX_ONE 275 src/compositor/camera.c gf_mx_add_scale(&post_model_view, FIX_ONE, -FIX_ONE, FIX_ONE); FIX_ONE 314 src/compositor/camera.c gf_mx_add_scale(&post_model_view, FIX_ONE, -FIX_ONE, FIX_ONE); FIX_ONE 328 src/compositor/camera.c if (cam->end_zoom != FIX_ONE) gf_mx_add_scale(&post_model_view, cam->end_zoom, cam->end_zoom, cam->end_zoom); FIX_ONE 416 src/compositor/camera.c icos_a = FIX_ONE - cos_a; FIX_ONE 457 src/compositor/camera.c cam->start_zoom = FIX_ONE; FIX_ONE 522 src/compositor/camera.c if (frac>FIX_ONE / 2) frac = FIX_ONE - frac; FIX_ONE 542 src/compositor/camera.c cam->end_zoom = FIX_ONE; FIX_ONE 574 src/compositor/camera.c cam->end_zoom = frac + gf_mulfix((FIX_ONE-frac), cam->start_zoom); FIX_ONE 357 src/compositor/compositor.c compositor->traverse_state->depth_gain = FIX_ONE; FIX_ONE 362 src/compositor/compositor.c compositor->zoom = compositor->scale_x = compositor->scale_y = FIX_ONE; FIX_ONE 921 src/compositor/compositor.c compositor->traverse_state->depth_gain = FIX_ONE; FIX_ONE 936 src/compositor/compositor.c compositor->zoom = FIX_ONE; FIX_ONE 1238 src/compositor/compositor.c else compositor->highlight_stroke_width = FIX_ONE; FIX_ONE 1617 src/compositor/compositor.c compositor_2d_set_user_transform(compositor, FIX_ONE, 0, 0, 0); FIX_ONE 1678 src/compositor/compositor.c compositor_2d_set_user_transform(compositor, FIX_ONE, 0, 0, 0); FIX_ONE 2912 src/compositor/compositor.c vp_scale = FIX_ONE; FIX_ONE 2917 src/compositor/compositor.c gf_mx2d_add_scale(&transf, FIX_ONE, -FIX_ONE); FIX_ONE 224 src/compositor/compositor_2d.c if (compositor->hybgl_mesh->vertices[i].texcoords.x == FIX_ONE) { FIX_ONE 229 src/compositor/compositor_2d.c if (compositor->hybgl_mesh->vertices[i].texcoords.y == FIX_ONE) { FIX_ONE 372 src/compositor/compositor_2d.c visual->camera.up.y = FIX_ONE; FIX_ONE 373 src/compositor/compositor_2d.c visual->camera.end_zoom = FIX_ONE; FIX_ONE 383 src/compositor/compositor_2d.c gf_mx_add_scale(&visual->camera.modelview, FIX_ONE, -FIX_ONE, FIX_ONE); FIX_ONE 680 src/compositor/compositor_2d.c if ((w_scale != FIX_ONE) || (h_scale!=FIX_ONE)) { FIX_ONE 749 src/compositor/compositor_2d.c if (tmp>99*FIX_ONE/100) { _v++; tmp = 0; } \ FIX_ONE 1207 src/compositor/compositor_2d.c scaleX = scaleY = FIX_ONE; FIX_ONE 1265 src/compositor/compositor_2d.c if (!scaleX) scaleX = FIX_ONE; FIX_ONE 1267 src/compositor/compositor_2d.c if (!scaleY) scaleY = FIX_ONE; FIX_ONE 1278 src/compositor/compositor_2d.c scaleX = scaleY = FIX_ONE; FIX_ONE 1424 src/compositor/compositor_2d.c if (zoom <= 0) zoom = FIX_ONE/1000; FIX_ONE 54 src/compositor/compositor_3d.c scaleX = scaleY = FIX_ONE; FIX_ONE 96 src/compositor/drawable.c compositor->hit_normal.z = FIX_ONE; FIX_ONE 98 src/compositor/drawable.c compositor->hit_texcoords.y = FIX_ONE - gf_divfix(drawable->path->bbox.y - y, drawable->path->bbox.height); FIX_ONE 464 src/compositor/drawable.c ctx->aspect.pen_props.width = FIX_ONE; FIX_ONE 467 src/compositor/drawable.c ctx->aspect.pen_props.miterLimit = 4*FIX_ONE; FIX_ONE 532 src/compositor/drawable.c asp->pen_props.miterLimit = 4*FIX_ONE; FIX_ONE 558 src/compositor/drawable.c asp->fill_color = GF_COL_ARGB_FIXED(FIX_ONE, mat->diffuseColor.red, mat->diffuseColor.green, mat->diffuseColor.blue); FIX_ONE 567 src/compositor/drawable.c asp->fill_color = GF_COL_ARGB_FIXED(FIX_ONE-m->transparency, m->emissiveColor.red, m->emissiveColor.green, m->emissiveColor.blue); FIX_ONE 577 src/compositor/drawable.c asp->pen_props.width = FIX_ONE; FIX_ONE 579 src/compositor/drawable.c if (m && m->transparency==FIX_ONE) { FIX_ONE 587 src/compositor/drawable.c asp->fill_color |= FIX2INT(255 * (m ? (FIX_ONE - m->transparency) : FIX_ONE)) << 24; FIX_ONE 617 src/compositor/drawable.c asp->line_color = GF_COL_ARGB_FIXED(FIX_ONE-m->transparency, LP->lineColor.red, LP->lineColor.green, LP->lineColor.blue); FIX_ONE 626 src/compositor/drawable.c asp->line_color = GF_COL_ARGB_FIXED(FIX_ONE-XLP->transparency, XLP->lineColor.red, XLP->lineColor.green, XLP->lineColor.blue); FIX_ONE 632 src/compositor/drawable.c asp->line_scale = XLP->isScalable ? FIX_ONE : 0; FIX_ONE 881 src/compositor/drawable.c rc.width = rc.height = FIX_ONE; FIX_ONE 949 src/compositor/drawable.c pw = (tr_state->pixel_metrics) ? FIX_ONE : 2*FIX_ONE/tr_state->visual->width; FIX_ONE 1043 src/compositor/drawable.c hl_ctx->aspect.pen_props.width = 2*FIX_ONE; FIX_ONE 1297 src/compositor/drawable.c Fixed clamped_opacity = FIX_ONE; FIX_ONE 1298 src/compositor/drawable.c Fixed clamped_solid_opacity = FIX_ONE; FIX_ONE 1299 src/compositor/drawable.c Fixed clamped_fill_opacity = (props->fill_opacity->value < 0 ? 0 : (props->fill_opacity->value > FIX_ONE ? FIX_ONE : props->fill_opacity->value)); FIX_ONE 1300 src/compositor/drawable.c Fixed clamped_stroke_opacity = (props->stroke_opacity->value < 0 ? 0 : (props->stroke_opacity->value > FIX_ONE ? FIX_ONE : props->stroke_opacity->value)); FIX_ONE 1303 src/compositor/drawable.c clamped_opacity = (props->opacity->value < 0 ? 0 : (props->opacity->value > FIX_ONE ? FIX_ONE : props->opacity->value)); FIX_ONE 1304 src/compositor/drawable.c if (clamped_opacity!=FIX_ONE) { FIX_ONE 1341 src/compositor/drawable.c clamped_solid_opacity = MIN(FIX_ONE, MAX(0, val) ); FIX_ONE 1401 src/compositor/drawable.c clamped_solid_opacity = MIN(FIX_ONE, MAX(0, val) ); FIX_ONE 1433 src/compositor/drawable.c asp->line_scale = (props->vector_effect && (*props->vector_effect == SVG_VECTOREFFECT_NONSCALINGSTROKE)) ? 0 : FIX_ONE; FIX_ONE 93 src/compositor/font_engine.c gf_path_add_move_to(font_mgr->line_path, -FIX_ONE/2, FIX_ONE/2); FIX_ONE 94 src/compositor/font_engine.c gf_path_add_line_to(font_mgr->line_path, FIX_ONE/2, FIX_ONE/2); FIX_ONE 95 src/compositor/font_engine.c gf_path_add_line_to(font_mgr->line_path, FIX_ONE/2, -FIX_ONE/2); FIX_ONE 96 src/compositor/font_engine.c gf_path_add_line_to(font_mgr->line_path, -FIX_ONE/2, -FIX_ONE/2); FIX_ONE 431 src/compositor/font_engine.c span->x_scale = span->y_scale = FIX_ONE; FIX_ONE 595 src/compositor/font_engine.c if (span->flags & GF_TEXT_SPAN_FLIP) gf_mx2d_add_scale(&mat, FIX_ONE, -FIX_ONE); FIX_ONE 619 src/compositor/font_engine.c gf_mx2d_add_scale(&mx, mat.m[0], FIX_ONE); FIX_ONE 650 src/compositor/font_engine.c mesh_set_vertex(span->ext->tx_mesh, span->bounds.x, span->bounds.y-span->bounds.height, 0, 0, 0, FIX_ONE, 0, FIX_ONE); FIX_ONE 651 src/compositor/font_engine.c mesh_set_vertex(span->ext->tx_mesh, span->bounds.x+span->bounds.width, span->bounds.y-span->bounds.height, 0, 0, 0, FIX_ONE, FIX_ONE, FIX_ONE); FIX_ONE 652 src/compositor/font_engine.c mesh_set_vertex(span->ext->tx_mesh, span->bounds.x+span->bounds.width, span->bounds.y, 0, 0, 0, FIX_ONE, FIX_ONE, 0); FIX_ONE 653 src/compositor/font_engine.c mesh_set_vertex(span->ext->tx_mesh, span->bounds.x, span->bounds.y, 0, 0, 0, FIX_ONE, 0, 0); FIX_ONE 711 src/compositor/font_engine.c if (scale<FIX_ONE) scale = FIX_ONE; FIX_ONE 891 src/compositor/font_engine.c rc.red = FIX_ONE - c.red; FIX_ONE 892 src/compositor/font_engine.c rc.green = FIX_ONE - c.green; FIX_ONE 893 src/compositor/font_engine.c rc.blue = FIX_ONE - c.blue; FIX_ONE 901 src/compositor/font_engine.c hl_color.alpha = FIX_ONE; FIX_ONE 904 src/compositor/font_engine.c hl_color.alpha = FIX_ONE; FIX_ONE 925 src/compositor/font_engine.c visual_3d_setup_texture(tr_state, FIX_ONE); FIX_ONE 1030 src/compositor/font_engine.c ctx->transform.m[0] = FIX_ONE; FIX_ONE 1093 src/compositor/font_engine.c gf_mx2d_add_scale(&m, span->bounds.width, FIX_ONE); FIX_ONE 1152 src/compositor/font_engine.c if (!rc.height) rc.height = FIX_ONE; FIX_ONE 1504 src/compositor/font_engine.c compositor->hit_normal.z = FIX_ONE; FIX_ONE 1505 src/compositor/font_engine.c compositor->hit_texcoords.x = gf_divfix(x, node_bounds->width) + FIX_ONE/2; FIX_ONE 1506 src/compositor/font_engine.c compositor->hit_texcoords.y = gf_divfix(y, node_bounds->height) + FIX_ONE/2; FIX_ONE 308 src/compositor/hardcoded_protos.c if (!plane_ext.orientation->count) ori.vals[0].y = FIX_ONE; FIX_ONE 309 src/compositor/hardcoded_protos.c if (!plane_ext.scale->count) scale.vals[0].x = scale.vals[0].y = FIX_ONE; FIX_ONE 919 src/compositor/hardcoded_protos.c tr_state->camera->end_zoom = FIX_ONE; FIX_ONE 943 src/compositor/hardcoded_protos.c tr_state->ray.dir.z = -FIX_ONE; FIX_ONE 1361 src/compositor/hardcoded_protos.c r = gf_sqrt(FIX_ONE - gf_mulfix(center.y, center.y) ); FIX_ONE 82 src/compositor/hc_flash_shape.c #define SFCOL_MAKE_ARGB(c) GF_COL_ARGB_FIXED(FIX_ONE, c.red, c.green, c.blue); FIX_ONE 196 src/compositor/mesh.c res.color.blue = res.color.red = res.color.green = res.color.alpha = FIX_ONE; FIX_ONE 284 src/compositor/mesh.c vx->texcoords.x = (vx->normal.x+FIX_ONE) / 2; FIX_ONE 285 src/compositor/mesh.c vx->texcoords.y = (vx->normal.y+FIX_ONE) / 2; FIX_ONE 307 src/compositor/mesh.c mesh_set_vertex(mesh, hx, -hy, -hz, 0, 0, -FIX_ONE, 0, 0); FIX_ONE 308 src/compositor/mesh.c mesh_set_vertex(mesh, -hx, -hy, -hz, 0, 0, -FIX_ONE, FIX_ONE, 0); FIX_ONE 309 src/compositor/mesh.c mesh_set_vertex(mesh, -hx, hy, -hz, 0, 0, -FIX_ONE, FIX_ONE, FIX_ONE); FIX_ONE 310 src/compositor/mesh.c mesh_set_vertex(mesh, hx, hy, -hz, 0, 0, -FIX_ONE, 0, FIX_ONE); FIX_ONE 314 src/compositor/mesh.c mesh_set_vertex(mesh, -hx, hy, hz, 0, FIX_ONE, 0, 0, 0); FIX_ONE 315 src/compositor/mesh.c mesh_set_vertex(mesh, hx, hy, hz, 0, FIX_ONE, 0, FIX_ONE, 0); FIX_ONE 316 src/compositor/mesh.c mesh_set_vertex(mesh, hx, hy, -hz, 0, FIX_ONE, 0, FIX_ONE, FIX_ONE); FIX_ONE 317 src/compositor/mesh.c mesh_set_vertex(mesh, -hx, hy, -hz, 0, FIX_ONE, 0, 0, FIX_ONE); FIX_ONE 321 src/compositor/mesh.c mesh_set_vertex(mesh, -hx, -hy, hz, 0, 0, FIX_ONE, 0, 0); FIX_ONE 322 src/compositor/mesh.c mesh_set_vertex(mesh, hx, -hy, hz, 0, 0, FIX_ONE, FIX_ONE, 0); FIX_ONE 323 src/compositor/mesh.c mesh_set_vertex(mesh, hx, hy, hz, 0, 0, FIX_ONE, FIX_ONE, FIX_ONE); FIX_ONE 324 src/compositor/mesh.c mesh_set_vertex(mesh, -hx, hy, hz, 0, 0, FIX_ONE, 0, FIX_ONE); FIX_ONE 328 src/compositor/mesh.c mesh_set_vertex(mesh, -hx, -hy, -hz, -FIX_ONE, 0, 0, 0, 0); FIX_ONE 329 src/compositor/mesh.c mesh_set_vertex(mesh, -hx, -hy, hz, -FIX_ONE, 0, 0, FIX_ONE, 0); FIX_ONE 330 src/compositor/mesh.c mesh_set_vertex(mesh, -hx, hy, hz, -FIX_ONE, 0, 0, FIX_ONE, FIX_ONE); FIX_ONE 331 src/compositor/mesh.c mesh_set_vertex(mesh, -hx, hy, -hz, -FIX_ONE, 0, 0, 0, FIX_ONE); FIX_ONE 335 src/compositor/mesh.c mesh_set_vertex(mesh, -hx, -hy, -hz, 0, -FIX_ONE, 0, 0, 0); FIX_ONE 336 src/compositor/mesh.c mesh_set_vertex(mesh, hx, -hy, -hz, 0, -FIX_ONE, 0, FIX_ONE, 0); FIX_ONE 337 src/compositor/mesh.c mesh_set_vertex(mesh, hx, -hy, hz, 0, -FIX_ONE, 0, FIX_ONE, FIX_ONE); FIX_ONE 338 src/compositor/mesh.c mesh_set_vertex(mesh, -hx, -hy, hz, 0, -FIX_ONE, 0, 0, FIX_ONE); FIX_ONE 342 src/compositor/mesh.c mesh_set_vertex(mesh, hx, -hy, hz, FIX_ONE, 0, 0, 0, 0); FIX_ONE 343 src/compositor/mesh.c mesh_set_vertex(mesh, hx, -hy, -hz, FIX_ONE, 0, 0, FIX_ONE, 0); FIX_ONE 344 src/compositor/mesh.c mesh_set_vertex(mesh, hx, hy, -hz, FIX_ONE, 0, 0, FIX_ONE, FIX_ONE); FIX_ONE 345 src/compositor/mesh.c mesh_set_vertex(mesh, hx, hy, hz, FIX_ONE, 0, 0, 0, FIX_ONE); FIX_ONE 364 src/compositor/mesh.c Fixed s = FIX_ONE/2; FIX_ONE 405 src/compositor/mesh.c u = FIX_ONE - i*FIX_ONE/numFacets; FIX_ONE 407 src/compositor/mesh.c texcoords[i].y = FIX_ONE; FIX_ONE 433 src/compositor/mesh.c texcoords[i].x, FIX_ONE); FIX_ONE 451 src/compositor/mesh.c texcoords[0].x - FIX_ONE, FIX_ONE); FIX_ONE 456 src/compositor/mesh.c texcoords[0].x - FIX_ONE, 0); FIX_ONE 466 src/compositor/mesh.c mesh_set_vertex(mesh, 0, -height/2, 0, 0, -FIX_ONE, 0, FIX_ONE/2, FIX_ONE/2); FIX_ONE 470 src/compositor/mesh.c 0, -FIX_ONE, 0, FIX_ONE 471 src/compositor/mesh.c (FIX_ONE + gf_sin(angle))/2, FIX_ONE - (FIX_ONE + gf_cos(angle))/2); FIX_ONE 476 src/compositor/mesh.c 0, -FIX_ONE, 0, FIX_ONE 477 src/compositor/mesh.c (FIX_ONE + gf_sin(angle))/2, FIX_ONE - (FIX_ONE + gf_cos(angle))/2); FIX_ONE 485 src/compositor/mesh.c mesh_set_vertex(mesh, 0, height/2, 0, 0, FIX_ONE, 0, FIX_ONE/2, FIX_ONE/2); FIX_ONE 490 src/compositor/mesh.c 0, FIX_ONE, 0, FIX_ONE 491 src/compositor/mesh.c (FIX_ONE + gf_sin(angle))/2, FIX_ONE - (FIX_ONE + gf_cos(angle))/2); FIX_ONE 495 src/compositor/mesh.c 0, FIX_ONE, 0, FIX_ONE 496 src/compositor/mesh.c (FIX_ONE + gf_sin(angle))/2, FIX_ONE - (FIX_ONE + gf_cos(angle))/2); FIX_ONE 537 src/compositor/mesh.c texcoords[i].x, FIX_ONE); FIX_ONE 548 src/compositor/mesh.c mesh_set_vertex(mesh, 0, coords[0].y, 0, coords[0].x, Ny, coords[0].z, texcoords[0].x - FIX_ONE, FIX_ONE); FIX_ONE 552 src/compositor/mesh.c texcoords[0].x - FIX_ONE, 0); FIX_ONE 561 src/compositor/mesh.c mesh_set_vertex(mesh, 0, -height/2, 0, 0, -FIX_ONE, 0, FIX_ONE/2, FIX_ONE/2); FIX_ONE 565 src/compositor/mesh.c 0, -FIX_ONE, 0, FIX_ONE 566 src/compositor/mesh.c (FIX_ONE + gf_sin(angle))/2, FIX_ONE - (FIX_ONE + gf_cos(angle))/2); FIX_ONE 572 src/compositor/mesh.c 0, -FIX_ONE, 0, FIX_ONE 573 src/compositor/mesh.c (FIX_ONE + gf_sin(angle))/2, FIX_ONE - (FIX_ONE + gf_cos(angle))/2); FIX_ONE 603 src/compositor/mesh.c r = gf_sqrt(FIX_ONE - gf_mulfix(y, y)); FIX_ONE 617 src/compositor/mesh.c texcoords[i * num_steps + j].x = FIX_ONE - j*FIX_ONE/num_steps; FIX_ONE 618 src/compositor/mesh.c texcoords[i * num_steps + j].y = i*FIX_ONE/num_steps; FIX_ONE 620 src/compositor/mesh.c texcoords[i * num_steps + j].x = j*FIX_ONE/(num_steps-1); FIX_ONE 621 src/compositor/mesh.c texcoords[i * num_steps + j].y = FIX_ONE - i*FIX_ONE/(num_steps-1); FIX_ONE 626 src/compositor/mesh.c texcoords[i * num_steps + j].x = j*FIX_ONE/(num_steps); FIX_ONE 627 src/compositor/mesh.c texcoords[i * num_steps + j].y = FIX_ONE - i*FIX_ONE/(num_steps); FIX_ONE 629 src/compositor/mesh.c texcoords[i * num_steps + j].x = j*FIX_ONE/(num_steps-1); FIX_ONE 630 src/compositor/mesh.c texcoords[i * num_steps + j].y = FIX_ONE - i*FIX_ONE/(num_steps-1); FIX_ONE 674 src/compositor/mesh.c last_tx_coord = (radius>0) ? 0 : FIX_ONE; FIX_ONE 697 src/compositor/mesh.c if (radius != FIX_ONE) gf_mesh_build_aabbtree(mesh); FIX_ONE 711 src/compositor/mesh.c tmin = flip ? FIX_ONE : 0; FIX_ONE 712 src/compositor/mesh.c tmax = flip ? 0 : FIX_ONE; FIX_ONE 714 src/compositor/mesh.c mesh_set_vertex(mesh, x, y-size.y, 0, 0, 0, FIX_ONE, 0, tmin); FIX_ONE 715 src/compositor/mesh.c mesh_set_vertex(mesh, x+size.x, y-size.y, 0, 0, 0, FIX_ONE, FIX_ONE, tmin); FIX_ONE 716 src/compositor/mesh.c mesh_set_vertex(mesh, x+size.x, y, 0, 0, 0, FIX_ONE, FIX_ONE, tmax); FIX_ONE 717 src/compositor/mesh.c mesh_set_vertex(mesh, x, y, 0, 0, 0, FIX_ONE, 0, tmax); FIX_ONE 748 src/compositor/mesh.c mesh_set_vertex(mesh, 0, 0, 0, 0, 0, FIX_ONE, FIX_ONE/2, FIX_ONE/2); FIX_ONE 754 src/compositor/mesh.c 0, 0, FIX_ONE, FIX_ONE 755 src/compositor/mesh.c (FIX_ONE + cosa)/2, (FIX_ONE + sina)/2); FIX_ONE 759 src/compositor/mesh.c mesh_set_vertex(mesh, a_dia, 0, 0, 0, 0, FIX_ONE, FIX_ONE, FIX_ONE/2); FIX_ONE 798 src/compositor/mesh.c mesh_set_vertex(mesh, pt.x, pt.y, 0, 0, 0, FIX_ONE, gf_divfix(pt.x - bounds.x, w), gf_divfix(bounds.y - pt.y, h)); FIX_ONE 804 src/compositor/mesh.c mesh_set_vertex(mesh, pt.x, pt.y, 0, 0, 0, FIX_ONE, gf_divfix(pt.x - bounds.x, w), gf_divfix(bounds.y - pt.y, h)); FIX_ONE 855 src/compositor/mesh.c mesh_set_vertex(mesh, pt.x, pt.y, 0, 0, 0, FIX_ONE, 0, 0); FIX_ONE 866 src/compositor/mesh.c #define COL_TO_RGBA(res, col) { res.red = col.red; res.green = col.green; res.blue = col.blue; res.alpha = FIX_ONE; } FIX_ONE 1043 src/compositor/mesh.c colRGBA.red = colRGBA.green = colRGBA.blue = colRGBA.alpha = FIX_ONE; FIX_ONE 1193 src/compositor/mesh.c nor.z = FIX_ONE; FIX_ONE 1380 src/compositor/mesh.c if (creaseAngle>GF_PI) cosCrease = -FIX_ONE; FIX_ONE 1406 src/compositor/mesh.c if (!n.x && !n.y && !n.z) n.z = FIX_ONE; FIX_ONE 1656 src/compositor/mesh.c if (eg->creaseAngle>GF_PI) cosCrease = -FIX_ONE; FIX_ONE 1860 src/compositor/mesh.c SCPi[0].xaxis.x = FIX_ONE; FIX_ONE 1864 src/compositor/mesh.c SCPi[0].yaxis.y = FIX_ONE; FIX_ONE 1868 src/compositor/mesh.c SCPi[0].zaxis.z = FIX_ONE; FIX_ONE 1876 src/compositor/mesh.c if (spine_vec.x >= FIX_ONE-FIX_EPSILON) alpha = GF_PI2; FIX_ONE 1877 src/compositor/mesh.c else if (spine_vec.x <= -FIX_ONE+FIX_EPSILON) alpha = -GF_PI2; FIX_ONE 1893 src/compositor/mesh.c sin_g = FIX_ONE; FIX_ONE 1905 src/compositor/mesh.c if (spine_vec.z >= FIX_ONE-FIX_EPSILON) alpha = GF_PI2; FIX_ONE 1906 src/compositor/mesh.c else if (spine_vec.z <= -FIX_ONE+FIX_EPSILON) alpha = -GF_PI2; FIX_ONE 1987 src/compositor/mesh.c r.y = FIX_ONE; FIX_ONE 1988 src/compositor/mesh.c scale.x = scale.y = FIX_ONE; FIX_ONE 2124 src/compositor/mesh.c scale.x = scale.y = FIX_ONE; FIX_ONE 2186 src/compositor/mesh.c scale.x = scale.y = FIX_ONE; FIX_ONE 2246 src/compositor/mesh.c if (creaseAngle>GF_PI) cosCrease = -FIX_ONE; FIX_ONE 90 src/compositor/mesh_collide.c v = gf_vec_scale(v, FIX_ONE/3); FIX_ONE 101 src/compositor/mesh_collide.c v = gf_vec_scale(v, FIX_ONE/2); FIX_ONE 142 src/compositor/mesh_collide.c extend = gf_vec_scale(extend, FIX_ONE/2); FIX_ONE 152 src/compositor/mesh_collide.c res[0] = gf_divfix(INT2FIX(num_pos), INT2FIX(node->nb_idx)) - FIX_ONE/2; FIX_ONE 155 src/compositor/mesh_collide.c res[1] = gf_divfix(INT2FIX(num_pos), INT2FIX(node->nb_idx)) - FIX_ONE/2; FIX_ONE 158 src/compositor/mesh_collide.c res[2] = gf_divfix(INT2FIX(num_pos), INT2FIX(node->nb_idx)) - FIX_ONE/2; FIX_ONE 450 src/compositor/mesh_collide.c if ((u < 0) || (u > FIX_ONE)) return GF_FALSE; FIX_ONE 455 src/compositor/mesh_collide.c if ((v < 0) || (u + v > FIX_ONE)) return GF_FALSE; FIX_ONE 103 src/compositor/mesh_tesselate.c n.z = FIX_ONE; FIX_ONE 194 src/compositor/mesh_tesselate.c mesh_set_vertex(mesh, pt.x, pt.y, 0, 0, 0, FIX_ONE, u, v); FIX_ONE 337 src/compositor/mesh_tesselate.c nor.z = FIX_ONE; FIX_ONE 521 src/compositor/mpeg4_audio.c vol[0] = vol[1] = vol[2] = vol[3] = vol[4] = vol[5] = FIX_ONE; FIX_ONE 577 src/compositor/mpeg4_audio.c ai->speed = FIX_ONE; FIX_ONE 117 src/compositor/mpeg4_background.c #define COL_TO_RGBA(res, col) { res.red = col.red; res.green = col.green; res.blue = col.blue; res.alpha = FIX_ONE; } FIX_ONE 142 src/compositor/mpeg4_background.c start_col.alpha = end_col.alpha = FIX_ONE; FIX_ONE 146 src/compositor/mpeg4_background.c vx.pos.y = FIX_ONE; FIX_ONE 202 src/compositor/mpeg4_background.c fcol.alpha = FIX_ONE; FIX_ONE 207 src/compositor/mpeg4_background.c r = gf_sqrt(FIX_ONE - gf_mulfix(vx.pos.y, vx.pos.y)); FIX_ONE 215 src/compositor/mpeg4_background.c n = gf_vec_scale(vx.pos, FIX_ONE /*-FIX_ONE*/); FIX_ONE 241 src/compositor/mpeg4_background.c vx.pos.y = -FIX_ONE; FIX_ONE 319 src/compositor/mpeg4_background.c Fixed scale = gf_divfix(FIX_ONE, tr_state->min_hsize); FIX_ONE 344 src/compositor/mpeg4_background.c visual_3d_clear(tr_state->visual, bcol, FIX_ONE); FIX_ONE 352 src/compositor/mpeg4_background.c res.q = FIX_ONE; FIX_ONE 475 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->front_mesh, -PLANE_HSIZE, -PLANE_HSIZE, -PLANE_HSIZE_LOW, 0, 0, FIX_ONE, 0, 0); FIX_ONE 476 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->front_mesh, PLANE_HSIZE, -PLANE_HSIZE, -PLANE_HSIZE_LOW, 0, 0, FIX_ONE, FIX_ONE, 0); FIX_ONE 477 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->front_mesh, PLANE_HSIZE, PLANE_HSIZE, -PLANE_HSIZE_LOW, 0, 0, FIX_ONE, FIX_ONE, FIX_ONE); FIX_ONE 478 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->front_mesh, -PLANE_HSIZE, PLANE_HSIZE, -PLANE_HSIZE_LOW, 0, 0, FIX_ONE, 0, FIX_ONE); FIX_ONE 484 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->back_mesh, -PLANE_HSIZE, -PLANE_HSIZE, PLANE_HSIZE_LOW, 0, 0, -FIX_ONE, FIX_ONE, 0); FIX_ONE 485 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->back_mesh, PLANE_HSIZE, -PLANE_HSIZE, PLANE_HSIZE_LOW, 0, 0, -FIX_ONE, 0, 0); FIX_ONE 486 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->back_mesh, PLANE_HSIZE, PLANE_HSIZE, PLANE_HSIZE_LOW, 0, 0, -FIX_ONE, 0, FIX_ONE); FIX_ONE 487 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->back_mesh, -PLANE_HSIZE, PLANE_HSIZE, PLANE_HSIZE_LOW, 0, 0, -FIX_ONE, FIX_ONE, FIX_ONE); FIX_ONE 493 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->top_mesh, -PLANE_HSIZE, PLANE_HSIZE_LOW, PLANE_HSIZE, 0, -FIX_ONE, 0, 0, 0); FIX_ONE 494 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->top_mesh, PLANE_HSIZE, PLANE_HSIZE_LOW, PLANE_HSIZE, 0, -FIX_ONE, 0, 0, FIX_ONE); FIX_ONE 495 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->top_mesh, PLANE_HSIZE, PLANE_HSIZE_LOW, -PLANE_HSIZE, 0, -FIX_ONE, 0, FIX_ONE, FIX_ONE); FIX_ONE 496 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->top_mesh, -PLANE_HSIZE, PLANE_HSIZE_LOW, -PLANE_HSIZE, 0, -FIX_ONE, 0, FIX_ONE, 0); FIX_ONE 502 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->bottom_mesh, -PLANE_HSIZE, -PLANE_HSIZE_LOW, -PLANE_HSIZE, 0, FIX_ONE, 0, FIX_ONE, FIX_ONE); FIX_ONE 503 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->bottom_mesh, PLANE_HSIZE, -PLANE_HSIZE_LOW, -PLANE_HSIZE, 0, FIX_ONE, 0, FIX_ONE, 0); FIX_ONE 504 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->bottom_mesh, PLANE_HSIZE, -PLANE_HSIZE_LOW, PLANE_HSIZE, 0, FIX_ONE, 0, 0, 0); FIX_ONE 505 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->bottom_mesh, -PLANE_HSIZE, -PLANE_HSIZE_LOW, PLANE_HSIZE, 0, FIX_ONE, 0, 0, FIX_ONE); FIX_ONE 511 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->left_mesh, -PLANE_HSIZE_LOW, -PLANE_HSIZE, -PLANE_HSIZE, FIX_ONE, 0, 0, FIX_ONE, 0); FIX_ONE 512 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->left_mesh, -PLANE_HSIZE_LOW, -PLANE_HSIZE, PLANE_HSIZE, FIX_ONE, 0, 0, 0, 0); FIX_ONE 513 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->left_mesh, -PLANE_HSIZE_LOW, PLANE_HSIZE, PLANE_HSIZE, FIX_ONE, 0, 0, 0, FIX_ONE); FIX_ONE 514 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->left_mesh, -PLANE_HSIZE_LOW, PLANE_HSIZE, -PLANE_HSIZE, FIX_ONE, 0, 0, FIX_ONE, FIX_ONE); FIX_ONE 520 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->right_mesh, PLANE_HSIZE_LOW, -PLANE_HSIZE, PLANE_HSIZE, -FIX_ONE, 0, 0, FIX_ONE, 0); FIX_ONE 521 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->right_mesh, PLANE_HSIZE_LOW, -PLANE_HSIZE, -PLANE_HSIZE, -FIX_ONE, 0, 0, 0, 0); FIX_ONE 522 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->right_mesh, PLANE_HSIZE_LOW, PLANE_HSIZE, -PLANE_HSIZE, -FIX_ONE, 0, 0, 0, FIX_ONE); FIX_ONE 523 src/compositor/mpeg4_background.c mesh_set_vertex(ptr->right_mesh, PLANE_HSIZE_LOW, PLANE_HSIZE, PLANE_HSIZE, -FIX_ONE, 0, 0, FIX_ONE, FIX_ONE); FIX_ONE 78 src/compositor/mpeg4_background2d.c status->ctx.aspect.fill_color = GF_COL_ARGB_FIXED(FIX_ONE, back->backColor.red, back->backColor.green, back->backColor.blue); FIX_ONE 237 src/compositor/mpeg4_background2d.c visual_3d_clear(tr_state->visual, bck->backColor, FIX_ONE); FIX_ONE 247 src/compositor/mpeg4_background2d.c if (!use_texture || (!tr_state->is_layer && st->txh.transparent) ) visual_3d_set_material_2d(tr_state->visual, bck->backColor, FIX_ONE); FIX_ONE 251 src/compositor/mpeg4_background2d.c if (!tr_state->mesh_num_textures) visual_3d_set_material_2d(tr_state->visual, bck->backColor, FIX_ONE); FIX_ONE 257 src/compositor/mpeg4_background2d.c mesh_set_vertex(st->mesh, -B2D_PLANE_HSIZE, -B2D_PLANE_HSIZE, 0, 0, 0, FIX_ONE, 0, 0); FIX_ONE 258 src/compositor/mpeg4_background2d.c mesh_set_vertex(st->mesh, B2D_PLANE_HSIZE, -B2D_PLANE_HSIZE, 0, 0, 0, FIX_ONE, FIX_ONE, 0); FIX_ONE 259 src/compositor/mpeg4_background2d.c mesh_set_vertex(st->mesh, B2D_PLANE_HSIZE, B2D_PLANE_HSIZE, 0, 0, 0, FIX_ONE, FIX_ONE, FIX_ONE); FIX_ONE 260 src/compositor/mpeg4_background2d.c mesh_set_vertex(st->mesh, -B2D_PLANE_HSIZE, B2D_PLANE_HSIZE, 0, 0, 0, FIX_ONE, 0, FIX_ONE); FIX_ONE 277 src/compositor/mpeg4_background2d.c gf_mx_add_scale(&mx, sx, sy, FIX_ONE); FIX_ONE 286 src/compositor/mpeg4_background2d.c FIX_ONE); FIX_ONE 375 src/compositor/mpeg4_background2d.c col = GF_COL_ARGB_FIXED(FIX_ONE, bck->backColor.red, bck->backColor.green, bck->backColor.blue); FIX_ONE 76 src/compositor/mpeg4_bitmap.c if (sx<0) sx = FIX_ONE; FIX_ONE 78 src/compositor/mpeg4_bitmap.c if (sy<0) sy = FIX_ONE; FIX_ONE 139 src/compositor/mpeg4_bitmap.c keyColor.alpha = FIX2INT( (FIX_ONE - mk->transparency) * 255); FIX_ONE 172 src/compositor/mpeg4_bitmap.c keyColor.alpha = FIX2INT( (FIX_ONE - mk->transparency) * 255); FIX_ONE 266 src/compositor/mpeg4_bitmap.c if (((M_MaterialKey*)app->material)->transparency==FIX_ONE) { FIX_ONE 382 src/compositor/mpeg4_composite.c st->sx = st->sy = FIX_ONE; FIX_ONE 730 src/compositor/mpeg4_composite.c while (txcoord.x<0) txcoord.x += FIX_ONE; FIX_ONE 731 src/compositor/mpeg4_composite.c while (txcoord.x>FIX_ONE) txcoord.x -= FIX_ONE; FIX_ONE 732 src/compositor/mpeg4_composite.c while (txcoord.y<0) txcoord.y += FIX_ONE; FIX_ONE 733 src/compositor/mpeg4_composite.c while (txcoord.y>FIX_ONE) txcoord.y -= FIX_ONE; FIX_ONE 737 src/compositor/mpeg4_composite.c ev->mouse.x = FIX2INT( (txcoord.x - FIX_ONE/2) * stack->visual->width + FIX_ONE/2); FIX_ONE 738 src/compositor/mpeg4_composite.c ev->mouse.y = FIX2INT( (txcoord.y - FIX_ONE/2) * stack->visual->height + FIX_ONE/2); FIX_ONE 130 src/compositor/mpeg4_form.c sh_apply(st, -FIX_ONE, group_idx, count); FIX_ONE 144 src/compositor/mpeg4_form.c sv_apply(st, -FIX_ONE, group_idx, count); FIX_ONE 153 src/compositor/mpeg4_form.c al_apply(st, -FIX_ONE, group_idx, count); FIX_ONE 162 src/compositor/mpeg4_form.c ar_apply(st, -FIX_ONE, group_idx, count); FIX_ONE 171 src/compositor/mpeg4_form.c at_apply(st, -FIX_ONE, group_idx, count); FIX_ONE 180 src/compositor/mpeg4_form.c ab_apply(st, -FIX_ONE, group_idx, count); FIX_ONE 442 src/compositor/mpeg4_form.c if (space == -FIX_ONE) { FIX_ONE 502 src/compositor/mpeg4_form.c if(space > -FIX_ONE) { FIX_ONE 534 src/compositor/mpeg4_form.c if (space>-FIX_ONE) { FIX_ONE 564 src/compositor/mpeg4_form.c if(space>-FIX_ONE) { FIX_ONE 593 src/compositor/mpeg4_form.c if(space>-FIX_ONE) { FIX_ONE 623 src/compositor/mpeg4_form.c if(space>-FIX_ONE) { FIX_ONE 42 src/compositor/mpeg4_geometry_2d.c p.normal.z = FIX_ONE; FIX_ONE 90 src/compositor/mpeg4_geometry_2d.c asp.line_scale = FIX_ONE; FIX_ONE 135 src/compositor/mpeg4_geometry_3d.c ref.x = horizontal ? FIX_ONE : 0; FIX_ONE 136 src/compositor/mpeg4_geometry_3d.c ref.y = horizontal ? 0 : FIX_ONE; FIX_ONE 170 src/compositor/mpeg4_geometry_3d.c max_tx = FIX_ONE - (angle_start + GF_PI) / GF_2PI; FIX_ONE 171 src/compositor/mpeg4_geometry_3d.c min_tx = FIX_ONE - (angle_end + GF_PI) / GF_2PI; FIX_ONE 443 src/compositor/mpeg4_geometry_3d.c v2.z = FIX_ONE; FIX_ONE 453 src/compositor/mpeg4_geometry_3d.c r.q = gf_atan2(gf_sqrt(FIX_ONE - gf_mulfix(dot, dot)), dot); FIX_ONE 482 src/compositor/mpeg4_geometry_3d.c *f_max = FIX_ONE; FIX_ONE 194 src/compositor/mpeg4_geometry_ils2d.c pos[1] = FIX_ONE; FIX_ONE 125 src/compositor/mpeg4_gradients.c if (a != FIX_ONE) txh->transparent = 1; FIX_ONE 193 src/compositor/mpeg4_gradients.c transparent = (lg->opacity.count==1) ? (lg->opacity.vals[0]!=FIX_ONE) : 1; FIX_ONE 293 src/compositor/mpeg4_gradients.c gf_mx2d_add_scale(&mat, FIX_ONE, -FIX_ONE); FIX_ONE 387 src/compositor/mpeg4_gradients.c transparent = (rg->opacity.count==1) ? ((rg->opacity.vals[0]!=FIX_ONE) ? 1 : 0) : 1; FIX_ONE 495 src/compositor/mpeg4_gradients.c gf_mx2d_add_scale(&mat, FIX_ONE, -FIX_ONE); FIX_ONE 565 src/compositor/mpeg4_gradients.c if (rg->opacity.vals[i] != FIX_ONE) { FIX_ONE 477 src/compositor/mpeg4_grouping.c if (!tr_state->bbox.is_set) tr_state->bbox.radius=-FIX_ONE; FIX_ONE 189 src/compositor/mpeg4_grouping_2d.c if ((tr->scale.x != FIX_ONE) || (tr->scale.y != FIX_ONE)) { FIX_ONE 251 src/compositor/mpeg4_grouping_2d.c if ((tr->mxx==FIX_ONE) && (tr->mxy==0) && (tr->tx==0) FIX_ONE 252 src/compositor/mpeg4_grouping_2d.c && (tr->myx==0) && (tr->myy==FIX_ONE) && (tr->ty==0) ) FIX_ONE 202 src/compositor/mpeg4_grouping_3d.c if ((tr->scale.x != FIX_ONE) || (tr->scale.y != FIX_ONE) || (tr->scale.z != FIX_ONE)) FIX_ONE 209 src/compositor/mpeg4_grouping_3d.c st->has_scale = ((tr->scale.x != FIX_ONE) || (tr->scale.y != FIX_ONE) || (tr->scale.z != FIX_ONE)) ? 1 : 0; FIX_ONE 284 src/compositor/mpeg4_grouping_3d.c z.z = FIX_ONE; FIX_ONE 240 src/compositor/mpeg4_layer_2d.c rc.x -= FIX_ONE; FIX_ONE 241 src/compositor/mpeg4_layer_2d.c rc.width += 2*FIX_ONE; FIX_ONE 242 src/compositor/mpeg4_layer_2d.c rc.y += FIX_ONE; FIX_ONE 243 src/compositor/mpeg4_layer_2d.c rc.height += 2*FIX_ONE; FIX_ONE 273 src/compositor/mpeg4_layer_3d.c st->scale_x = st->scale_y = FIX_ONE; FIX_ONE 322 src/compositor/mpeg4_layer_3d.c tr_state->camera->width = 2*FIX_ONE; FIX_ONE 325 src/compositor/mpeg4_layer_3d.c tr_state->camera->height = 2*FIX_ONE; FIX_ONE 635 src/compositor/mpeg4_layer_3d.c res.z = -FIX_ONE; FIX_ONE 636 src/compositor/mpeg4_layer_3d.c res.q = FIX_ONE; FIX_ONE 648 src/compositor/mpeg4_layer_3d.c res.z = FIX_ONE; FIX_ONE 649 src/compositor/mpeg4_layer_3d.c res.q = FIX_ONE; FIX_ONE 722 src/compositor/mpeg4_layer_3d.c stack->visual->camera.speed = FIX_ONE; FIX_ONE 273 src/compositor/mpeg4_layout.c current_top += gf_mulfix(l->spacing - FIX_ONE, li->height); FIX_ONE 475 src/compositor/mpeg4_sensors.c Fixed diff = (ev->key.flags & GF_KEY_MOD_SHIFT) ? 5*FIX_ONE : FIX_ONE; FIX_ONE 861 src/compositor/mpeg4_sensors.c stack->tracker.normal.z = FIX_ONE; FIX_ONE 900 src/compositor/mpeg4_sensors.c Fixed diff = (ev->key.flags & GF_KEY_MOD_SHIFT) ? 5*FIX_ONE : FIX_ONE; FIX_ONE 1026 src/compositor/mpeg4_sensors.c yaxis.y = FIX_ONE; FIX_ONE 1028 src/compositor/mpeg4_sensors.c if (acute < -FIX_ONE) acute = -FIX_ONE; FIX_ONE 1029 src/compositor/mpeg4_sensors.c else if (acute > FIX_ONE) acute = FIX_ONE; FIX_ONE 1040 src/compositor/mpeg4_sensors.c st->xplane.normal.x = FIX_ONE; FIX_ONE 1041 src/compositor/mpeg4_sensors.c st->yplane.normal.y = FIX_ONE; FIX_ONE 1042 src/compositor/mpeg4_sensors.c st->zplane.normal.z = FIX_ONE; FIX_ONE 1045 src/compositor/mpeg4_sensors.c cs->rotation_changed.y = FIX_ONE; FIX_ONE 1081 src/compositor/mpeg4_sensors.c radius = FIX_ONE; FIX_ONE 1094 src/compositor/mpeg4_sensors.c if (fabs(cx.y + FIX_ONE) < FIX_EPSILON) rot = -rot; FIX_ONE 1110 src/compositor/mpeg4_sensors.c cs->rotation_changed.y = FIX_ONE; FIX_ONE 1219 src/compositor/mpeg4_sensors.c if (!st->radius) st->radius = FIX_ONE; FIX_ONE 1250 src/compositor/mpeg4_sensors.c if (cl < -FIX_ONE) cl = -FIX_ONE; FIX_ONE 1251 src/compositor/mpeg4_sensors.c else if (cl > FIX_ONE) cl = FIX_ONE; FIX_ONE 1285 src/compositor/mpeg4_sensors.c rot.y = FIX_ONE; FIX_ONE 1298 src/compositor/mpeg4_sensors.c rot.z = FIX_ONE; FIX_ONE 1300 src/compositor/mpeg4_sensors.c rot.x = FIX_ONE; FIX_ONE 1366 src/compositor/mpeg4_sensors.c s = gf_vec_scale(vs->size, FIX_ONE/2); FIX_ONE 74 src/compositor/mpeg4_sound.c return (volume==FIX_ONE) ? 0 : 1; FIX_ONE 125 src/compositor/mpeg4_sound.c else if (dist_from_foci_min <= d_min) return FIX_ONE; FIX_ONE 130 src/compositor/mpeg4_sound.c if (ABS(pos.z) > FIX_ONE/10000) { FIX_ONE 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)) ) ); FIX_ONE 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)) ) ); FIX_ONE 215 src/compositor/mpeg4_sound.c if (!mag) mag = FIX_ONE/10; FIX_ONE 226 src/compositor/mpeg4_sound.c st->identity = (st->intensity==FIX_ONE) ? 1 : 0; FIX_ONE 243 src/compositor/mpeg4_sound.c ang = (FIX_ONE + gf_sin(ang)) / 2; FIX_ONE 244 src/compositor/mpeg4_sound.c st->lgain = (FIX_ONE - gf_mulfix(ang, ang)); FIX_ONE 245 src/compositor/mpeg4_sound.c st->rgain = FIX_ONE - gf_mulfix(FIX_ONE - ang, FIX_ONE - ang); FIX_ONE 250 src/compositor/mpeg4_sound.c if (st->identity && ((st->lgain!=FIX_ONE) || (st->rgain!=FIX_ONE))) st->identity = 0; FIX_ONE 252 src/compositor/mpeg4_sound.c st->lgain = st->rgain = FIX_ONE; FIX_ONE 332 src/compositor/mpeg4_text.c max_scale = FIX_ONE; FIX_ONE 500 src/compositor/mpeg4_text.c asp->pen_props.width = FIX_ONE/2; FIX_ONE 502 src/compositor/mpeg4_text.c asp->line_scale=FIX_ONE; FIX_ONE 120 src/compositor/mpeg4_timesensor.c if (!newFraction && (currentTime > stack->start_time ) ) newFraction = FIX_ONE; FIX_ONE 127 src/compositor/mpeg4_timesensor.c if (TS->fraction_changed < FIX_EPSILON) TS->fraction_changed = FIX_ONE; FIX_ONE 134 src/compositor/mpeg4_timesensor.c TS->fraction_changed = FIX_ONE; FIX_ONE 509 src/compositor/mpeg4_viewport.c end.z = FIX_ONE; FIX_ONE 207 src/compositor/navigate.c if ((z>FIX_ONE) || (z<-FIX_ONE)) return; FIX_ONE 209 src/compositor/navigate.c if (oz<FIX_ONE) z/=4; FIX_ONE 345 src/compositor/navigate.c key_pan = FIX_ONE/25; FIX_ONE 346 src/compositor/navigate.c key_exam = FIX_ONE/20; FIX_ONE 496 src/compositor/navigate.c compositor->zoom = FIX_ONE; FIX_ONE 600 src/compositor/navigate.c view_zoom(compositor, cam, FIX_ONE/10); FIX_ONE 606 src/compositor/navigate.c view_zoom(compositor, cam, -FIX_ONE/10); FIX_ONE 640 src/compositor/navigate.c target.y = -FIX_ONE; FIX_ONE 643 src/compositor/navigate.c gf_mx_add_rotation(&mx, yaw, 0, FIX_ONE, 0); FIX_ONE 644 src/compositor/navigate.c gf_mx_add_rotation(&mx, -roll, FIX_ONE, 0, 0); FIX_ONE 757 src/compositor/navigate.c if (new_zoom > FIX_ONE) new_zoom += dy/20; FIX_ONE 769 src/compositor/navigate.c if (sin < -FIX_ONE) FIX_ONE 770 src/compositor/navigate.c sin = -FIX_ONE; FIX_ONE 771 src/compositor/navigate.c if (sin > FIX_ONE) FIX_ONE 772 src/compositor/navigate.c sin = FIX_ONE; FIX_ONE 790 src/compositor/navigate.c visual->compositor->zoom = FIX_ONE; FIX_ONE 791 src/compositor/navigate.c nav_set_zoom_trans_2d(visual, FIX_ONE, 0, 0); FIX_ONE 811 src/compositor/navigate.c if (new_zoom > FIX_ONE) new_zoom += key_inv*FIX_ONE/10; FIX_ONE 812 src/compositor/navigate.c else new_zoom += key_inv*FIX_ONE/20; FIX_ONE 76 src/compositor/offscreen_cache.c cache->opacity = FIX_ONE; FIX_ONE 364 src/compositor/offscreen_cache.c if (cache->opacity != FIX_ONE) FIX_ONE 365 src/compositor/offscreen_cache.c group_ctx->aspect.fill_color = GF_COL_ARGB_FIXED(cache->opacity, FIX_ONE, FIX_ONE, FIX_ONE); FIX_ONE 61 src/compositor/svg_base.c gf_mx_add_scale(&tr_state->model_matrix, FIX_ONE, -FIX_ONE, FIX_ONE); FIX_ONE 49 src/compositor/svg_filters.c Fixed slope = FIX_ONE; FIX_ONE 107 src/compositor/svg_filters.c if ((type==SVG_FILTER_TRANSFER_LINEAR) && (intercept || (slope!=FIX_ONE)) ) { FIX_ONE 211 src/compositor/svg_geometry.c hit_normal.z = FIX_ONE; FIX_ONE 212 src/compositor/svg_geometry.c text_coords.x = gf_divfix(local_pt.x, drawable->path->bbox.width) + FIX_ONE/2; FIX_ONE 213 src/compositor/svg_geometry.c text_coords.y = gf_divfix(local_pt.y, drawable->path->bbox.height) + FIX_ONE/2; FIX_ONE 317 src/compositor/svg_geometry.c compositor->hit_normal.z = FIX_ONE; FIX_ONE 318 src/compositor/svg_geometry.c compositor->hit_texcoords.x = gf_divfix(x, drawable->path->bbox.width) + FIX_ONE/2; FIX_ONE 319 src/compositor/svg_geometry.c compositor->hit_texcoords.y = gf_divfix(y, drawable->path->bbox.height) + FIX_ONE/2; FIX_ONE 366 src/compositor/svg_grouping.c vp_opacity = tr_state->parent_anim_atts->viewport_fill_opacity ? tr_state->parent_anim_atts->viewport_fill_opacity->value : FIX_ONE; FIX_ONE 369 src/compositor/svg_grouping.c vp_opacity = tr_state->svg_props->viewport_fill_opacity ? tr_state->svg_props->viewport_fill_opacity->value : FIX_ONE; FIX_ONE 581 src/compositor/svg_grouping.c Fixed opacity = FIX_ONE; FIX_ONE 604 src/compositor/svg_grouping.c dscale = FIX_ONE; FIX_ONE 616 src/compositor/svg_grouping.c if (!tr_state->override_appearance && (opacity < FIX_ONE)) { FIX_ONE 877 src/compositor/svg_grouping.c compositor->zoom = FIX_ONE; FIX_ONE 878 src/compositor/svg_grouping.c compositor_2d_set_user_transform(compositor, FIX_ONE, 0, 0, 0); FIX_ONE 280 src/compositor/svg_media.c compositor_3d_draw_bitmap(stack->drawable, &tr_state->ctx->aspect, tr_state, 0, 0, FIX_ONE, FIX_ONE); FIX_ONE 371 src/compositor/svg_media.c else if (tr_state->svg_props->opacity && (tr_state->svg_props->opacity->type==SVG_NUMBER_VALUE) && (tr_state->svg_props->opacity->value!=FIX_ONE)) { FIX_ONE 382 src/compositor/svg_media.c compositor_3d_draw_bitmap(stack->drawable, &ctx->aspect, tr_state, 0, 0, FIX_ONE, FIX_ONE); FIX_ONE 654 src/compositor/svg_media.c gf_mo_set_speed(stack->input.stream, FIX_ONE); FIX_ONE 745 src/compositor/svg_media.c gf_mo_set_speed(stack->input.stream, FIX_ONE); FIX_ONE 182 src/compositor/svg_paint_servers.c alpha = FIX_ONE; FIX_ONE 293 src/compositor/svg_paint_servers.c rc.x = rc.y = rc.width = FIX_ONE/2; FIX_ONE 311 src/compositor/svg_paint_servers.c rc.width = FIX_ONE; FIX_ONE 549 src/compositor/svg_paint_servers.c end.x = FIX_ONE; FIX_ONE 648 src/compositor/svg_paint_servers.c radius = FIX_ONE/2; FIX_ONE 654 src/compositor/svg_paint_servers.c center.x = FIX_ONE/2; FIX_ONE 660 src/compositor/svg_paint_servers.c center.y = FIX_ONE/2; FIX_ONE 1495 src/compositor/texturing_gl.c gf_mx_add_scale(mx, FIX_ONE, 0.5f, FIX_ONE); FIX_ONE 1503 src/compositor/texturing_gl.c gf_mx_add_scale(mx, FIX_ONE, 0.5f, FIX_ONE); FIX_ONE 1511 src/compositor/texturing_gl.c gf_mx_add_scale(mx, FIX_ONE, -FIX_ONE, FIX_ONE); FIX_ONE 1513 src/compositor/texturing_gl.c gf_mx_add_translation(mx, 0, -FIX_ONE, 0); FIX_ONE 1521 src/compositor/texturing_gl.c gf_mx_add_scale(mx, INT2FIX(txh->width), INT2FIX(txh->height), FIX_ONE); FIX_ONE 1528 src/compositor/texturing_gl.c gf_mx_add_scale(mx, txh->tx_io->conv_wscale, txh->tx_io->conv_hscale, FIX_ONE); FIX_ONE 1572 src/compositor/texturing_gl.c tmp.m[10] = tmp.m[15] = FIX_ONE; FIX_ONE 135 src/compositor/visual_manager.c *surf_width = 2*FIX_ONE; FIX_ONE 139 src/compositor/visual_manager.c *surf_height = 2*FIX_ONE; FIX_ONE 212 src/compositor/visual_manager.c size.x = size.y = -FIX_ONE; FIX_ONE 939 src/compositor/visual_manager_2d.c tr_state->ray.dir.z = -FIX_ONE; FIX_ONE 80 src/compositor/visual_manager_2d_draw.c clipset.width = 2*FIX_ONE; FIX_ONE 199 src/compositor/visual_manager_2d_draw.c final_width = final_height = FIX_ONE; FIX_ONE 206 src/compositor/visual_manager_2d_draw.c if (!scale.x) scale.x = FIX_ONE/100; FIX_ONE 207 src/compositor/visual_manager_2d_draw.c if (!scale.y) scale.y = FIX_ONE/100; FIX_ONE 447 src/compositor/visual_manager_2d_draw.c gf_mx_add_scale(&tr_state->model_matrix, FIX_ONE, -FIX_ONE, FIX_ONE); FIX_ONE 119 src/compositor/visual_manager_3d.c if (!tr_state->min_hsize) tr_state->min_hsize = FIX_ONE; FIX_ONE 162 src/compositor/visual_manager_3d.c tr_state->camera->width = 2*FIX_ONE; FIX_ONE 165 src/compositor/visual_manager_3d.c tr_state->camera->height = 2 * FIX_ONE; FIX_ONE 187 src/compositor/visual_manager_3d.c if (tr_state->camera->z_near<=0) tr_state->camera->z_near = FIX_ONE/2; FIX_ONE 189 src/compositor/visual_manager_3d.c else if (tr_state->camera->z_near>=FIX_ONE) tr_state->camera->z_near = FIX_ONE/2; FIX_ONE 208 src/compositor/visual_manager_3d.c if (ar>FIX_ONE) ar = FIX_ONE; FIX_ONE 348 src/compositor/visual_manager_3d.c r.y = FIX_ONE; FIX_ONE 396 src/compositor/visual_manager_3d.c tr_state->depth_gain = FIX_ONE; FIX_ONE 439 src/compositor/visual_manager_3d.c alpha = FIX_ONE; FIX_ONE 501 src/compositor/visual_manager_3d.c tr_state->camera->speed = FIX_ONE; FIX_ONE 1073 src/compositor/visual_manager_3d.c || (!tr_state->camera->jumping && (ABS(diff)>FIX_ONE/1000) )) { FIX_ONE 1290 src/compositor/visual_manager_3d.c res.z = -FIX_ONE; FIX_ONE 1291 src/compositor/visual_manager_3d.c res.q = FIX_ONE; FIX_ONE 1300 src/compositor/visual_manager_3d.c res.z = FIX_ONE; FIX_ONE 1301 src/compositor/visual_manager_3d.c res.q = FIX_ONE; FIX_ONE 1392 src/compositor/visual_manager_3d.c hit_normal.z = FIX_ONE; FIX_ONE 1393 src/compositor/visual_manager_3d.c text_coords.x = gf_divfix(local_pt.x, drawable->path->bbox.width) + FIX_ONE/2; FIX_ONE 1394 src/compositor/visual_manager_3d.c text_coords.y = gf_divfix(local_pt.y, drawable->path->bbox.height) + FIX_ONE/2; FIX_ONE 1403 src/compositor/visual_manager_3d.c hit_normal.z = FIX_ONE; FIX_ONE 1404 src/compositor/visual_manager_3d.c text_coords.x = gf_divfix(local_pt.x, si->outline->bbox.width) + FIX_ONE/2; FIX_ONE 1405 src/compositor/visual_manager_3d.c text_coords.y = gf_divfix(local_pt.y, si->outline->bbox.height) + FIX_ONE/2; FIX_ONE 1546 src/compositor/visual_manager_3d.c r.dir = gf_vec_scale(tr_state->camera->up, -FIX_ONE); FIX_ONE 1615 src/compositor/visual_manager_3d.c if (asp->line_alpha != FIX_ONE) { FIX_ONE 1718 src/compositor/visual_manager_3d.c def.red = def.green = def.blue = FIX_ONE; FIX_ONE 1720 src/compositor/visual_manager_3d.c if (diffuse_alpha) *diffuse_alpha = FIX_ONE; FIX_ONE 1724 src/compositor/visual_manager_3d.c visual_3d_set_material_2d(tr_state->visual, def, FIX_ONE); FIX_ONE 1739 src/compositor/visual_manager_3d.c visual_3d_set_material_2d(tr_state->visual, def, FIX_ONE); FIX_ONE 1757 src/compositor/visual_manager_3d.c diff_a = FIX_ONE - mat->transparency; FIX_ONE 1769 src/compositor/visual_manager_3d.c spec_a = emi_a = FIX_ONE - mat->transparency; FIX_ONE 1775 src/compositor/visual_manager_3d.c if ((diff_a+FIX_EPSILON<FIX_ONE) || (spec_a+FIX_EPSILON<FIX_ONE) || (emi_a+FIX_EPSILON<FIX_ONE )) { FIX_ONE 1783 src/compositor/visual_manager_3d.c if (mat->transparency+FIX_EPSILON>=FIX_ONE) return 0; FIX_ONE 1830 src/compositor/visual_manager_3d.c emi_a = FIX_ONE - mat->transparency; FIX_ONE 1834 src/compositor/visual_manager_3d.c else if (emi_a+FIX_EPSILON<FIX_ONE) visual_3d_set_state(tr_state->visual, V3D_STATE_BLEND, 1); FIX_ONE 1841 src/compositor/visual_manager_3d.c emi.red = emi.green = emi.blue = FIX_ONE; FIX_ONE 1886 src/compositor/visual_manager_3d.c c.red = c.green = c.blue = FIX_ONE; FIX_ONE 1889 src/compositor/visual_manager_3d.c v[0] = v[1] = v[2] = FIX_ONE; FIX_ONE 1897 src/compositor/visual_manager_3d.c v[0] = v[1] = v[2] = v[3] = FIX_ONE; FIX_ONE 1969 src/compositor/visual_manager_3d.c col.blue = col.red = col.green = FIX_ONE; FIX_ONE 1971 src/compositor/visual_manager_3d.c dir.z = -FIX_ONE; FIX_ONE 1975 src/compositor/visual_manager_3d.c visual_3d_add_directional_light(visual, 0, col, FIX_ONE, dir, NULL); FIX_ONE 2115 src/compositor/visual_manager_3d.c visual->lights[visual->num_lights].direction.z = -FIX_ONE; FIX_ONE 1241 src/compositor/visual_manager_3d_gl.c if (visual->autostereo_mesh->vertices[i].texcoords.x == FIX_ONE) { FIX_ONE 1244 src/compositor/visual_manager_3d_gl.c if (visual->autostereo_mesh->vertices[i].texcoords.y == FIX_ONE) { FIX_ONE 1463 src/compositor/visual_manager_3d_gl.c glClearDepthx(FIX_ONE); FIX_ONE 1810 src/compositor/visual_manager_3d_gl.c vals[3] = FIX_ONE; FIX_ONE 1816 src/compositor/visual_manager_3d_gl.c vals[3] = FIX_ONE; FIX_ONE 1819 src/compositor/visual_manager_3d_gl.c glLightx(iLight, GL_CONSTANT_ATTENUATION, FIX_ONE); FIX_ONE 1865 src/compositor/visual_manager_3d_gl.c vals[3] = FIX_ONE; FIX_ONE 1870 src/compositor/visual_manager_3d_gl.c vals[3] = FIX_ONE; FIX_ONE 1872 src/compositor/visual_manager_3d_gl.c glLightx(iLight, GL_CONSTANT_ATTENUATION, li->attenuation.x ? li->attenuation.x : FIX_ONE); FIX_ONE 1878 src/compositor/visual_manager_3d_gl.c vals[3] = FIX_ONE; FIX_ONE 1884 src/compositor/visual_manager_3d_gl.c vals[3] = FIX_ONE; FIX_ONE 1887 src/compositor/visual_manager_3d_gl.c if (!li->beamWidth) exp = FIX_ONE; FIX_ONE 1890 src/compositor/visual_manager_3d_gl.c exp = FIX_ONE - gf_cos(li->beamWidth); FIX_ONE 1891 src/compositor/visual_manager_3d_gl.c if (exp>FIX_ONE) exp = FIX_ONE; FIX_ONE 1940 src/compositor/visual_manager_3d_gl.c vals[3] = FIX_ONE; FIX_ONE 1942 src/compositor/visual_manager_3d_gl.c glLightx(iLight, GL_CONSTANT_ATTENUATION, li->attenuation.x ? li->attenuation.x : FIX_ONE); FIX_ONE 1948 src/compositor/visual_manager_3d_gl.c vals[3] = FIX_ONE; FIX_ONE 1954 src/compositor/visual_manager_3d_gl.c vals[3] = FIX_ONE; FIX_ONE 2011 src/compositor/visual_manager_3d_gl.c vals[3] = FIX_ONE; FIX_ONE 2503 src/compositor/visual_manager_3d_gl.c if (visual->mat_2d.alpha < FIX_ONE) { FIX_ONE 2828 src/compositor/visual_manager_3d_gl.c fix_scale /= FIX_ONE; FIX_ONE 2908 src/compositor/visual_manager_3d_gl.c if (visual->mat_2d.alpha != FIX_ONE) { FIX_ONE 3108 src/compositor/visual_manager_3d_gl.c glNormal3x(0, 0, FIX_ONE); FIX_ONE 3259 src/compositor/visual_manager_3d_gl.c pt = gf_vec_scale(pt, FIX_ONE/3); FIX_ONE 3297 src/compositor/visual_manager_3d_gl.c c = gf_vec_scale(s, FIX_ONE/2); FIX_ONE 3617 src/compositor/visual_manager_3d_gl.c glNormal3x(0, 0, FIX_ONE); FIX_ONE 3618 src/compositor/visual_manager_3d_gl.c if (color.alpha!=FIX_ONE) glEnable(GL_BLEND); FIX_ONE 3646 src/compositor/visual_manager_3d_gl.c if (color.alpha!=FIX_ONE) { FIX_ONE 4058 src/compositor/visual_manager_3d_gl.c mesh_set_vertex(stack->mesh, x, y, 0, 0, 0, -FIX_ONE, INT2FIX(w / (txh->width-1)), INT2FIX((txh->height - h -1) / (txh->height-1)) ); FIX_ONE 268 src/compositor/x3d_geometry.c col.alpha = FIX_ONE; FIX_ONE 335 src/compositor/x3d_geometry.c col.alpha = FIX_ONE; FIX_ONE 491 src/compositor/x3d_geometry.c vx.texcoords.x = FIX_ONE; FIX_ONE 495 src/compositor/x3d_geometry.c vx.texcoords.x = FIX_ONE/2; FIX_ONE 496 src/compositor/x3d_geometry.c vx.texcoords.y = FIX_ONE; FIX_ONE 649 src/compositor/x3d_geometry.c vx.texcoords.x = FIX_ONE; FIX_ONE 653 src/compositor/x3d_geometry.c vx.texcoords.x = FIX_ONE/2; FIX_ONE 654 src/compositor/x3d_geometry.c vx.texcoords.y = FIX_ONE; FIX_ONE 905 src/compositor/x3d_geometry.c vx.texcoords.x = FIX_ONE; FIX_ONE 909 src/compositor/x3d_geometry.c vx.texcoords.x = FIX_ONE/2; FIX_ONE 910 src/compositor/x3d_geometry.c vx.texcoords.y = FIX_ONE; FIX_ONE 184 src/laser/lsr_dec.c codec->res_factor = gf_divfix(FIX_ONE, INT2FIX(1 << (-codec->info->cfg.resolution)) ); FIX_ONE 210 src/laser/lsr_dec.c codec->res_factor = gf_divfix(FIX_ONE, INT2FIX(1 << (-codec->info->cfg.resolution)) ); FIX_ONE 782 src/laser/lsr_dec.c if (neg < -FIX_ONE / 2) FIX_ONE 786 src/laser/lsr_dec.c if (val > FIX_ONE / 2) FIX_ONE 835 src/laser/lsr_dec.c mx->mat.m[0] = mx->mat.m[4] = FIX_ONE; FIX_ONE 2490 src/laser/lsr_dec.c else *f = FIX_ONE; FIX_ONE 5376 src/laser/lsr_dec.c codec->res_factor = gf_divfix(FIX_ONE, INT2FIX(1 << (-codec->info->cfg.resolution)) ); FIX_ONE 161 src/laser/lsr_enc.c codec->res_factor = gf_divfix(FIX_ONE, INT2FIX(1<<codec->info->cfg.resolution) ); FIX_ONE 185 src/laser/lsr_enc.c codec->res_factor = gf_divfix(FIX_ONE, INT2FIX(1<<codec->info->cfg.resolution) ); FIX_ONE 643 src/laser/lsr_enc.c if ((mx->mat.m[0]!=FIX_ONE) || (mx->mat.m[4]!=FIX_ONE)) { FIX_ONE 1973 src/laser/lsr_enc.c if (!f || (f == FIX_ONE)) { FIX_ONE 3687 src/laser/lsr_enc.c if ((f==0) || (f==FIX_ONE)) { FIX_ONE 176 src/scene_manager/swf_bifs.c fill_transp = FIX_ONE - s2b_get_alpha(fill_col); FIX_ONE 179 src/scene_manager/swf_bifs.c line_transp = FIX_ONE - s2b_get_alpha(l_col); FIX_ONE 301 src/scene_manager/swf_bifs.c if (s2b_get_alpha(srec->grad_col[i]) != FIX_ONE) has_alpha = 1; FIX_ONE 324 src/scene_manager/swf_bifs.c mx.m[5] = FIX_ONE - gf_divfix(rc.y, rc.height); FIX_ONE 349 src/scene_manager/swf_bifs.c mx.m[5] = FIX_ONE - gf_divfix(rc.y, rc.height); FIX_ONE 380 src/scene_manager/swf_bifs.c gf_mx2d_add_scale(&mx, FIX_ONE, -FIX_ONE); FIX_ONE 467 src/scene_manager/swf_bifs.c curve->fineness = FIX_ONE; FIX_ONE 848 src/scene_manager/swf_bifs.c par->scale.y = -FIX_ONE; FIX_ONE 988 src/scene_manager/swf_bifs.c tr->scale.y = -FIX_ONE; FIX_ONE 1440 src/scene_manager/swf_bifs.c ((M_MediaControl *)n)->mediaSpeed = FIX_ONE; FIX_ONE 1647 src/scene_manager/swf_bifs.c t = stop ? 0 : FIX_ONE; FIX_ONE 1658 src/scene_manager/swf_bifs.c t = stop ? 0 : FIX_ONE; FIX_ONE 2110 src/scene_manager/swf_bifs.c ((M_Background2D *)n)->backColor.red = FIX_ONE; FIX_ONE 2111 src/scene_manager/swf_bifs.c ((M_Background2D *)n)->backColor.green = FIX_ONE; FIX_ONE 2112 src/scene_manager/swf_bifs.c ((M_Background2D *)n)->backColor.blue = FIX_ONE; FIX_ONE 2140 src/scene_manager/swf_bifs.c ((M_Transform2D *)n)->scale.y = -FIX_ONE; FIX_ONE 2171 src/scene_manager/swf_bifs.c *((SFFloat*)info.far_ptr) = FIX_ONE/2; FIX_ONE 2175 src/scene_manager/swf_bifs.c ftMax = 15*FIX_ONE; FIX_ONE 244 src/scene_manager/swf_parse.c mat->m[0] = mat->m[4] = FIX_ONE; FIX_ONE 295 src/scene_manager/swf_parse.c cmat->m[0] = cmat->m[6] = cmat->m[12] = cmat->m[18] = FIX_ONE; FIX_ONE 316 src/scene_manager/swf_parse.c && (cmat->m[0] == FIX_ONE) FIX_ONE 775 src/scene_manager/swf_parse.c if (angle + FIX_EPSILON >= FIX_ONE) angle = 0; FIX_ONE 776 src/scene_manager/swf_parse.c else if (angle - FIX_EPSILON <= -FIX_ONE) angle = GF_PI; FIX_ONE 1064 src/scene_manager/swf_parse.c tmp->mat.m[0] = tmp->mat.m[4] = FIX_ONE; FIX_ONE 1067 src/scene_manager/swf_parse.c tmp->cmat.m[0] = tmp->cmat.m[6] = tmp->cmat.m[12] = tmp->cmat.m[18] = FIX_ONE; FIX_ONE 1235 src/scene_manager/swf_parse.c if (mat->m[0] != FIX_ONE) return 0; FIX_ONE 1236 src/scene_manager/swf_parse.c if (mat->m[4] != FIX_ONE) return 0; FIX_ONE 180 src/scene_manager/swf_svg.c if (scale.x != FIX_ONE || scale.y != FIX_ONE) FIX_ONE 998 src/scenegraph/html5_media_smjs.c Fixed volume = FIX_ONE; FIX_ONE 73 src/scenegraph/mpeg4_animators.c right = FIX_ONE; FIX_ONE 74 src/scenegraph/mpeg4_animators.c limit = FIX_ONE/1000; FIX_ONE 96 src/scenegraph/mpeg4_animators.c static Fixed cubic_knots[] = {0,0,0,0,FIX_ONE,FIX_ONE,FIX_ONE,FIX_ONE}; FIX_ONE 97 src/scenegraph/mpeg4_animators.c static Fixed quadratic_knots[] = {0,0,0,FIX_ONE,FIX_ONE,FIX_ONE}; FIX_ONE 148 src/scenegraph/mpeg4_animators.c nurbs->n[0] = FIX_ONE; FIX_ONE 292 src/scenegraph/mpeg4_animators.c stack->a.x = (keySpline->vals[0].x - keySpline->vals[1].x)*3 + FIX_ONE; FIX_ONE 293 src/scenegraph/mpeg4_animators.c stack->a.y = (keySpline->vals[0].y - keySpline->vals[1].y)*3 + FIX_ONE; FIX_ONE 318 src/scenegraph/mpeg4_animators.c if (frac>FIX_ONE) return 0; FIX_ONE 376 src/scenegraph/mpeg4_animators.c frac = FIX_ONE; FIX_ONE 545 src/scenegraph/mpeg4_animators.c frac=FIX_ONE; FIX_ONE 711 src/scenegraph/mpeg4_animators.c frac=FIX_ONE; FIX_ONE 118 src/scenegraph/mpeg4_valuator.c output->x = output->y = output->z = output->q = FIX_ONE; FIX_ONE 351 src/scenegraph/mpeg4_valuator.c val.x = val.y = val.z = val.q = _this->inSFBool ? FIX_ONE : 0; FIX_ONE 425 src/scenegraph/mpeg4_valuator.c val.x = val.y = val.z = val.q = FIX_ONE; FIX_ONE 183 src/scenegraph/smil_anim.c rai->previous_coef = FIX_ONE; FIX_ONE 216 src/scenegraph/smil_anim.c *interpolation_coefficient = FIX_ONE; FIX_ONE 234 src/scenegraph/smil_anim.c *interpolation_coefficient = gf_mulfix(FIX_ONE - *interpolation_coefficient, *p1) FIX_ONE 288 src/scenegraph/smil_anim.c if (normalized_simple_time == FIX_ONE) { FIX_ONE 290 src/scenegraph/smil_anim.c interpolation_coefficient = FIX_ONE; FIX_ONE 303 src/scenegraph/smil_anim.c if (normalized_simple_time == FIX_ONE) { FIX_ONE 316 src/scenegraph/smil_anim.c if (real_calcMode == SMIL_CALCMODE_DISCRETE && rai->previous_key_index == (s32)keyValueIndex && rai->previous_coef != -FIX_ONE) { FIX_ONE 381 src/scenegraph/smil_anim.c s32 useFrom = (normalized_simple_time<=FIX_ONE/2); FIX_ONE 478 src/scenegraph/smil_anim.c s32 useFrom = (normalized_simple_time<=FIX_ONE/2); FIX_ONE 498 src/scenegraph/smil_anim.c from_coef = FIX_ONE; FIX_ONE 547 src/scenegraph/smil_anim.c gf_svg_attributes_muladd(from_coef, &from_info, FIX_ONE, &by_info, &rai->interpolated_value, 0); FIX_ONE 580 src/scenegraph/smil_anim.c m->m[0] = FIX_ONE; FIX_ONE 583 src/scenegraph/smil_anim.c m->m[4] = FIX_ONE; FIX_ONE 685 src/scenegraph/smil_anim.c gf_svg_compute_path_anim(rai, rai->last_specified_value.far_ptr, FIX_ONE); FIX_ONE 754 src/scenegraph/smil_anim.c gf_svg_attributes_muladd(FIX_ONE, &rai->interpolated_value, FIX_ONE 765 src/scenegraph/smil_anim.c gf_svg_attributes_muladd(FIX_ONE, &rai->interpolated_value, FIX_ONE 860 src/scenegraph/smil_anim.c rai->previous_coef = -FIX_ONE; FIX_ONE 847 src/scenegraph/smil_timing.c return FIX_ONE; FIX_ONE 858 src/scenegraph/smil_timing.c return FIX_ONE; FIX_ONE 879 src/scenegraph/smil_timing.c return FIX_ONE; FIX_ONE 892 src/scenegraph/smil_timing.c return FIX_ONE; FIX_ONE 1627 src/scenegraph/svg_attributes.c gf_path_add_svg_arc_to(path, end.x, end.y, orig.x, orig.y, x_axis_rotation , (large_arc_flag == FIX_ONE ? 1 : 0), (sweep_flag == FIX_ONE ? 1 : 0)); FIX_ONE 3619 src/scenegraph/svg_attributes.c path->fineness = FIX_ONE; FIX_ONE 3997 src/scenegraph/svg_attributes.c if ((matrix->m[0]!=FIX_ONE) || (matrix->m[4]!=FIX_ONE)) { FIX_ONE 3999 src/scenegraph/svg_attributes.c if ((matrix->m[0]==-FIX_ONE) && (matrix->m[4]==-FIX_ONE)) { FIX_ONE 4014 src/scenegraph/svg_attributes.c if ((sx==sy) && ( ABS(FIX_ONE - ABS(sx) ) < FIX_ONE/100)) { FIX_ONE 5322 src/scenegraph/svg_attributes.c a->red = MAX(0, MIN(FIX_ONE, a->red)); FIX_ONE 5323 src/scenegraph/svg_attributes.c a->green = MAX(0, MIN(FIX_ONE, a->green)); FIX_ONE 5324 src/scenegraph/svg_attributes.c a->blue = MAX(0, MIN(FIX_ONE, a->blue)); FIX_ONE 5633 src/scenegraph/svg_attributes.c if (alpha <= FIX_ONE) { FIX_ONE 5786 src/scenegraph/svg_attributes.c if (alpha == FIX_ONE && beta == FIX_ONE) { FIX_ONE 6160 src/scenegraph/svg_attributes.c return gf_svg_attributes_muladd(FIX_ONE, a, FIX_ONE, b, c, clamp); FIX_ONE 6219 src/scenegraph/svg_attributes.c return gf_svg_attributes_muladd(FIX_ONE-coef, a, coef, b, c, clamp); FIX_ONE 6271 src/scenegraph/svg_attributes.c if (coef < FIX_ONE/2) { FIX_ONE 45 src/scenegraph/svg_properties.c svg_props->audio_level->value = FIX_ONE; FIX_ONE 46 src/scenegraph/svg_properties.c svg_props->computed_audio_level = FIX_ONE; FIX_ONE 74 src/scenegraph/svg_properties.c svg_props->fill_opacity->value = FIX_ONE; FIX_ONE 87 src/scenegraph/svg_properties.c svg_props->font_size->value = 12*FIX_ONE; FIX_ONE 107 src/scenegraph/svg_properties.c svg_props->opacity->value = FIX_ONE; FIX_ONE 124 src/scenegraph/svg_properties.c svg_props->solid_opacity->value = FIX_ONE; FIX_ONE 135 src/scenegraph/svg_properties.c svg_props->stop_opacity->value = FIX_ONE; FIX_ONE 162 src/scenegraph/svg_properties.c svg_props->stroke_miterlimit->value = 4*FIX_ONE; FIX_ONE 167 src/scenegraph/svg_properties.c svg_props->stroke_opacity->value = FIX_ONE; FIX_ONE 172 src/scenegraph/svg_properties.c svg_props->stroke_width->value = FIX_ONE; FIX_ONE 192 src/scenegraph/svg_properties.c svg_props->viewport_fill_opacity->value = FIX_ONE; FIX_ONE 586 src/scenegraph/svg_properties.c val = FIX_ONE; FIX_ONE 588 src/scenegraph/svg_properties.c par_val = MIN(FIX_ONE, MAX( par_val, 0)); FIX_ONE 589 src/scenegraph/svg_properties.c val = MIN(FIX_ONE, MAX( val, 0)); FIX_ONE 495 src/scenegraph/vrml_smjs.c if (hue == FIX_ONE) hue = 0; FIX_ONE 499 src/scenegraph/vrml_smjs.c p = gf_mulfix(val, FIX_ONE - sat); FIX_ONE 500 src/scenegraph/vrml_smjs.c q = gf_mulfix(val, FIX_ONE - gf_mulfix(sat,f)); FIX_ONE 501 src/scenegraph/vrml_smjs.c t = gf_mulfix(val, FIX_ONE - gf_mulfix(sat, FIX_ONE - f)); FIX_ONE 2335 src/scenegraph/vrml_smjs.c SFRotation_Create(c, obj, FLT2FIX(x), FLT2FIX(y), FIX_ONE, FLT2FIX(a) ); FIX_ONE 2364 src/scenegraph/vrml_smjs.c a = gf_atan2(gf_sqrt(FIX_ONE - gf_mulfix(dot, dot)), dot); FIX_ONE 1533 src/scenegraph/vrml_tools.c res.alpha = FIX_ONE; FIX_ONE 796 src/scenegraph/xml_ns.c ((SVG_Number *)att->data)->value = FIX_ONE; FIX_ONE 805 src/scenegraph/xml_ns.c ((SVG_Number *)att->data)->value = FIX_ONE/2; FIX_ONE 845 src/scenegraph/xml_ns.c ((SVG_Number *)att->data)->value = FIX_ONE; FIX_ONE 35 src/terminal/clock.c tmp->speed = FIX_ONE; FIX_ONE 387 src/terminal/media_control.c if ((stack->control->mediaStartTime>0) || gf_list_count(stack->seg) || (stack->control->mediaSpeed != FIX_ONE) ) { FIX_ONE 471 src/terminal/media_control.c if (need_restart || (stack->media_start > 0) || (gf_list_count(stack->seg)>0 ) || (stack->media_speed!=FIX_ONE ) ) { FIX_ONE 208 src/terminal/media_object.c mo->speed = FIX_ONE; FIX_ONE 491 src/terminal/media_object.c if (! *eos && ((codec->ck->speed > FIX_ONE) || (codec->odm->term->bench_mode && !codec->CB->no_allocation) || (codec->type==GF_STREAM_AUDIO) ) ) { FIX_ONE 554 src/terminal/media_object.c if ((codec->ck->speed == FIX_ONE) && (mo->type==GF_MEDIA_OBJECT_VIDEO) && !(codec->flags & GF_ESM_CODEC_IS_LOW_LATENCY) ) { FIX_ONE 1156 src/terminal/media_object.c return (mo && mo->odm && mo->odm->codec && mo->odm->codec->ck) ? mo->odm->codec->ck->speed : FIX_ONE; FIX_ONE 204 src/terminal/media_sensor.c media_sens->sensor->mediaDuration = -FIX_ONE; FIX_ONE 890 src/terminal/scene.c if (odm->mo->speed != FIX_ONE) gf_odm_set_speed(odm, odm->mo->speed, GF_TRUE); FIX_ONE 1078 src/terminal/scene.c tr->scale.x = tr->scale.y = FIX_ONE; FIX_ONE 2088 src/terminal/scene.c if (node && (((M_Sphere *)node)->radius == FIX_ONE)) { FIX_ONE 791 src/terminal/terminal.c tmp->speed_ratio = FIX_ONE; FIX_ONE 2291 src/terminal/terminal.c } else if (term->speed_ratio != FIX_ONE) { FIX_ONE 2293 src/terminal/terminal.c term->speed_ratio = FIX_ONE; FIX_ONE 2380 src/terminal/terminal.c if (term->speed_ratio != FIX_ONE) { FIX_ONE 2382 src/terminal/terminal.c term->speed_ratio = FIX_ONE; FIX_ONE 1325 src/utils/color.c if (cmat && (cmat->m[15] || cmat->m[16] || cmat->m[17] || (cmat->m[18]!=FIX_ONE) || cmat->m[19] )) has_alpha = GF_TRUE; FIX_ONE 1694 src/utils/color.c _this->m[0] = _this->m[6] = _this->m[12] = _this->m[18] = FIX_ONE; FIX_ONE 1789 src/utils/color.c #define CLIP_COMP(val) { if (val<0) { val=0; } else if (val>FIX_ONE) { val=FIX_ONE;} } FIX_ONE 215 src/utils/math.c else if (a==FIX_ONE) gppInv_16_32s(b, &res); FIX_ONE 225 src/utils/math.c else if (b == FIX_ONE) return a; FIX_ONE 317 src/utils/math.c return gf_divfix(FIX_ONE, a); FIX_ONE 778 src/utils/math.c if (!_this || ((scale_x==FIX_ONE) && (scale_y==FIX_ONE)) ) return; FIX_ONE 1032 src/utils/math.c #define IS_HIGH_DIM(_v) ((_v > FIX_ONE) || (_v < (s32)0xFFFF0000)) FIX_ONE 1202 src/utils/math.c if (__res == FIX_ONE) return; FIX_ONE 1336 src/utils/math.c Fixed icos_a = FIX_ONE - cos_a; FIX_ONE 1338 src/utils/math.c if (nor && (nor!=FIX_ONE)) { FIX_ONE 1407 src/utils/math.c assert(! ((mx->m[3] != 0) || (mx->m[7] != 0) || (mx->m[11] != 0) || (mx->m[15] != FIX_ONE)) ); FIX_ONE 1511 src/utils/math.c mx->m[0] = gf_divfix(2*FIX_ONE, right-left); FIX_ONE 1512 src/utils/math.c mx->m[5] = gf_divfix(2*FIX_ONE, top-bottom); FIX_ONE 1513 src/utils/math.c mx->m[10] = gf_divfix(-2*FIX_ONE, z_far-z_near); FIX_ONE 1517 src/utils/math.c mx->m[15] = FIX_ONE; FIX_ONE 1529 src/utils/math.c mx->m[11] = -FIX_ONE; FIX_ONE 1726 src/utils/math.c mx->m[15] = FIX_ONE; FIX_ONE 1789 src/utils/math.c r0[4] = FIX_ONE; FIX_ONE 1795 src/utils/math.c r1[5] = FIX_ONE; FIX_ONE 1801 src/utils/math.c r2[6] = FIX_ONE; FIX_ONE 1807 src/utils/math.c r3[7] = FIX_ONE; FIX_ONE 2179 src/utils/math.c if ((u < 0) || (u > FIX_ONE)) return GF_FALSE; FIX_ONE 2184 src/utils/math.c if ((v < 0) || (u + v > FIX_ONE)) return GF_FALSE; FIX_ONE 2247 src/utils/math.c s = gf_sqrt(diagonal + FIX_ONE); FIX_ONE 2266 src/utils/math.c s = gf_sqrt(FIX_ONE + mx->m[4*i + i] - (mx->m[4*j+j] + mx->m[4*k+k]) ); FIX_ONE 2289 src/utils/math.c r.z = FIX_ONE; FIX_ONE 2315 src/utils/math.c res.q = FIX_ONE; FIX_ONE 2334 src/utils/math.c if (cos_a < -FIX_ONE) cos_a = -FIX_ONE; FIX_ONE 2335 src/utils/math.c else if (cos_a > FIX_ONE) cos_a = FIX_ONE; FIX_ONE 2418 src/utils/math.c if ((FIX_ONE - cosom) > FIX_EPSILON) { FIX_ONE 2421 src/utils/math.c scale0 = gf_divfix(gf_sin( gf_mulfix(FIX_ONE - frac, omega)), sinom); FIX_ONE 2425 src/utils/math.c scale0 = FIX_ONE - frac; FIX_ONE 2442 src/utils/math.c b->center = gf_vec_scale(v, FIX_ONE / 2); FIX_ONE 35 src/utils/path2d.c gp->fineness = FIX_ONE; FIX_ONE 48 src/utils/path2d.c fineness = gp->fineness ? gp->fineness : FIX_ONE; FIX_ONE 177 src/utils/path2d.c if (ABS(diff) > FIX_ONE/1000) { FIX_ONE 494 src/utils/path2d.c if (radius_scale > FIX_ONE) { FIX_ONE 506 src/utils/path2d.c scale = FIX_ONE; FIX_ONE 516 src/utils/path2d.c scale = FIX_ONE; FIX_ONE 518 src/utils/path2d.c scale = gf_divfix(rxsq,xmidpsq) - FIX_ONE; FIX_ONE 520 src/utils/path2d.c scale = gf_divfix(rysq,ymidpsq) - FIX_ONE; FIX_ONE 557 src/utils/path2d.c sweep_angle = MAX(-FIX_ONE, MIN(sweep_angle, FIX_ONE)); FIX_ONE 652 src/utils/path2d.c rc->width = 2*FIX_ONE; FIX_ONE 653 src/utils/path2d.c rc->x -= FIX_ONE; FIX_ONE 656 src/utils/path2d.c rc->height = 2*FIX_ONE; FIX_ONE 657 src/utils/path2d.c rc->y += FIX_ONE; FIX_ONE 881 src/utils/path2d.c if ((z3_0*100 < FIX_ONE) && (z1_0*100 < FIX_ONE)) FIX_ONE 947 src/utils/path2d.c fineness = MAX(FIX_ONE - gp->fineness, FIX_ONE / 100); FIX_ONE 1027 src/utils/path2d.c if (y_max - y_min > FIX_ONE) { FIX_ONE 1258 src/utils/path2d.c angle = gf_mulfix(FIX_ONE-ratio, angleNext) - gf_mulfix(ratio, angle); FIX_ONE 1260 src/utils/path2d.c angle = gf_mulfix(ratio, angle) + gf_mulfix(FIX_ONE-ratio, angleNext); FIX_ONE 322 src/utils/path2d_stroker.c length = gf_muldiv( radius, gf_sin( theta ) * 4, ( FIX_ONE + gf_cos( theta ) ) * 3 ); FIX_ONE 587 src/utils/path2d_stroker.c if ( sigma < FIX_ONE ) { FIX_ONE 656 src/utils/path2d_stroker.c if ( sigma >= FIX_ONE ) { FIX_ONE 671 src/utils/path2d_stroker.c length = gf_mulfix(radius, gf_divfix( FIX_ONE - sigma, ABS( gf_sin( theta ) ) ) );