INT2FIX 391 applications/testapps/svg2bifs/main.c vp->size.x = INT2FIX(converter->bifs_sg->width); INT2FIX 392 applications/testapps/svg2bifs/main.c vp->size.y = INT2FIX(converter->bifs_sg->height); INT2FIX 393 applications/testapps/svg2bifs/main.c vp->position.x = INT2FIX(converter->bifs_sg->width)/2; INT2FIX 394 applications/testapps/svg2bifs/main.c vp->position.y = -INT2FIX(converter->bifs_sg->height)/2; INT2FIX 43 include/gpac/internal/mesh.h #define MESH_GET_COLOR(_argb, _vertex) { _argb.alpha = INT2FIX(GF_COL_A((_vertex).color))/255; _argb.red = INT2FIX(GF_COL_R((_vertex).color))/255; _argb.green = INT2FIX(GF_COL_G((_vertex).color))/255; _argb.blue = INT2FIX(GF_COL_B((_vertex).color))/255; } INT2FIX 66 include/gpac/internal/mesh.h #define MESH_GET_NORMAL(_nor, _vertex) { (_nor).x = INT2FIX(_vertex.normal.x); (_nor).y = INT2FIX(_vertex.normal.y); (_nor).z = INT2FIX(_vertex.normal.z); gf_vec_norm(&(_nor)); } INT2FIX 391 modules/droid_out/droid_vout.c glOrthox(0, INT2FIX(rc->width), 0, INT2FIX(rc->height), INT2FIX(-1), INT2FIX(1)); INT2FIX 401 modules/droid_out/droid_vout.c calculate_ortho(0, INT2FIX(rc->width), 0, INT2FIX(rc->height), INT2FIX(-1), INT2FIX(1), rc); INT2FIX 772 modules/droid_out/droid_vout.c calculate_ortho(0, INT2FIX(rc->width), 0, INT2FIX(rc->height), INT2FIX(-1), INT2FIX(1), rc); INT2FIX 782 modules/droid_out/droid_vout.c glOrthox(0, INT2FIX(rc->width), 0, INT2FIX(rc->height), INT2FIX(-1), INT2FIX(1)); INT2FIX 587 modules/ft_font/ft_font.c gf_path_add_move_to(ftol->path, INT2FIX(to->x), INT2FIX(to->y) ); INT2FIX 599 modules/ft_font/ft_font.c gf_path_add_line_to(ftol->path, INT2FIX(to->x), INT2FIX(to->y) ); INT2FIX 607 modules/ft_font/ft_font.c gf_path_add_quadratic_to(ftol->path, INT2FIX(control->x), INT2FIX(control->y), INT2FIX(to->x), INT2FIX(to->y) ); INT2FIX 615 modules/ft_font/ft_font.c gf_path_add_cubic_to(ftol->path, INT2FIX(c1->x), INT2FIX(c1->y), INT2FIX(c2->x), INT2FIX(c2->y), INT2FIX(to->x), INT2FIX(to->y) ); INT2FIX 130 modules/osd/osd.c osd->transform->translation.y = INT2FIX( (FIX2INT(event->screen_rect.height) - osd->ct2d->pixelHeight) / 2 ) ; INT2FIX 1119 modules/sdl_out/video.c gpac_evt.mouse.wheel_pos = INT2FIX(sdl_evt.wheel.x); INT2FIX 61 modules/soft_raster/stencil.c Fixed maxPos = INT2FIX(EVGGRADIENTMAXINTPOS); INT2FIX 318 modules/soft_raster/stencil.c x = INT2FIX(_x); INT2FIX 319 modules/soft_raster/stencil.c y = INT2FIX(_y); INT2FIX 441 modules/soft_raster/stencil.c x = INT2FIX(_x); INT2FIX 442 modules/soft_raster/stencil.c y = INT2FIX(_y); INT2FIX 452 modules/soft_raster/stencil.c tx = INT2FIX(_x+1); INT2FIX 453 modules/soft_raster/stencil.c ty = INT2FIX(_y+1); INT2FIX 457 modules/soft_raster/stencil.c if (tx<0) x = INT2FIX(_this->width - 1); INT2FIX 461 modules/soft_raster/stencil.c if (ty<0) y = INT2FIX(_this->height - 1); INT2FIX 466 modules/soft_raster/stencil.c dim = INT2FIX(_this->width); INT2FIX 482 modules/soft_raster/stencil.c dim = INT2FIX(_this->height); INT2FIX 521 modules/soft_raster/stencil.c _fd = INT2FIX(_this->width); INT2FIX 526 modules/soft_raster/stencil.c _fd = INT2FIX(_this->height); INT2FIX 558 modules/soft_raster/stencil.c if (x<0) x+=INT2FIX(_this->width); INT2FIX 559 modules/soft_raster/stencil.c if (y<0) y+=INT2FIX(_this->height); INT2FIX 644 modules/soft_raster/stencil.c if (test<0) x = INT2FIX(_this->width - 1); INT2FIX 649 modules/soft_raster/stencil.c if (test<0) y = INT2FIX(_this->height - 1); INT2FIX 654 modules/soft_raster/stencil.c _fdim = INT2FIX(_this->width); INT2FIX 659 modules/soft_raster/stencil.c _fdim = INT2FIX(_this->height); INT2FIX 35 modules/soft_raster/surface.c gf_mx2d_add_translation(mat, INT2FIX(_this->width / 2), INT2FIX(_this->height / 2)); INT2FIX 615 modules/soft_raster/surface.c gf_mx2d_add_scale(&sten->smat, INT2FIX(1<<EVGGRADIENTBITS), INT2FIX(1<<EVGGRADIENTBITS)); INT2FIX 163 modules/timedtext/timedtext_dec.c priv->tr_track->translation.x = INT2FIX(offset); INT2FIX 170 modules/timedtext/timedtext_dec.c priv->tr_track->translation.y = INT2FIX(offset); INT2FIX 528 modules/timedtext/timedtext_dec.c ((M_Material2D *)txt_material)->transparency = FIX_ONE - INT2FIX((color>>24) & 0xFF) / 255; INT2FIX 529 modules/timedtext/timedtext_dec.c ((M_Material2D *)txt_material)->emissiveColor.red = INT2FIX((color>>16) & 0xFF) / 255; INT2FIX 530 modules/timedtext/timedtext_dec.c ((M_Material2D *)txt_material)->emissiveColor.green = INT2FIX((color>>8) & 0xFF) / 255; INT2FIX 531 modules/timedtext/timedtext_dec.c ((M_Material2D *)txt_material)->emissiveColor.blue = INT2FIX((color) & 0xFF) / 255; INT2FIX 552 modules/timedtext/timedtext_dec.c fs->size = INT2FIX(fontSize); INT2FIX 772 modules/timedtext/timedtext_dec.c n->transparency = FIX_ONE - INT2FIX((td->back_color>>24) & 0xFF) / 255; INT2FIX 773 modules/timedtext/timedtext_dec.c n->emissiveColor.red = INT2FIX((td->back_color>>16) & 0xFF) / 255; INT2FIX 774 modules/timedtext/timedtext_dec.c n->emissiveColor.green = INT2FIX((td->back_color>>8) & 0xFF) / 255; INT2FIX 775 modules/timedtext/timedtext_dec.c n->emissiveColor.blue = INT2FIX((td->back_color) & 0xFF) / 255; INT2FIX 796 modules/timedtext/timedtext_dec.c priv->dlist->size.x = INT2FIX(thw); INT2FIX 797 modules/timedtext/timedtext_dec.c priv->dlist->size.y = INT2FIX(thh); INT2FIX 823 modules/timedtext/timedtext_dec.c form->size.x = INT2FIX(thw); INT2FIX 824 modules/timedtext/timedtext_dec.c form->size.y = INT2FIX(thh); INT2FIX 835 modules/timedtext/timedtext_dec.c priv->tr_box->translation.x = INT2FIX(offset); INT2FIX 840 modules/timedtext/timedtext_dec.c priv->tr_box->translation.y = INT2FIX(offset); INT2FIX 869 modules/timedtext/timedtext_dec.c priv->tr_scroll->translation.x = priv->tr_scroll->translation.y = (priv->scroll_mode & GF_TXT_SCROLL_IN) ? -INT2FIX(1000) : 0; INT2FIX 875 modules/timedtext/timedtext_dec.c priv->scroll_delay = gf_divfix(INT2FIX(txt->scroll_delay->scroll_delay), INT2FIX(sample_duration)); INT2FIX 833 modules/widgetman/widgetman.c else if (JSVAL_IS_INT(argv[1])) *((SFFloat *)info.far_ptr) = INT2FIX( JSVAL_TO_INT(argv[1]) ); INT2FIX 71 src/bifs/predictive_mffield.c scale = gf_divfix(width , INT2FIX( (1<<NbBits) - 1) ); INT2FIX 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])); INT2FIX 230 src/bifs/unquantize.c return Min + gf_muldiv(Max - Min, INT2FIX(value), INT2FIX( (1 << NbBits) - 1) ); INT2FIX 306 src/bifs/unquantize.c delta = gf_divfix(INT2FIX(dir), gf_sqrt(delta) ); INT2FIX 199 src/compositor/camera.c cam->position.z = INT2FIX(NEAR_PLANE_2D); INT2FIX 208 src/compositor/camera.c cam->vp_dist = INT2FIX(NEAR_PLANE_2D); INT2FIX 300 src/compositor/camera.c cam->z_near = INT2FIX(NEAR_PLANE_2D); INT2FIX 301 src/compositor/camera.c cam->z_far = INT2FIX(FAR_PLANE_2D); INT2FIX 1924 src/compositor/compositor.c *bifsX = INT2FIX(X); INT2FIX 1925 src/compositor/compositor.c *bifsY = INT2FIX(Y); INT2FIX 2148 src/compositor/compositor.c compositor->traverse_state->min_hsize = INT2FIX(MIN(compositor->scene_width, compositor->scene_height)) / 2; INT2FIX 2945 src/compositor/compositor.c Fixed scale = INT2FIX( MIN(w, h) / 2); INT2FIX 143 src/compositor/compositor_2d.c Fixed alpha = INT2FIX( GF_COL_A(BackColor) )/255; INT2FIX 160 src/compositor/compositor_2d.c rgb.red = INT2FIX( GF_COL_R(BackColor) ) / 255; INT2FIX 161 src/compositor/compositor_2d.c rgb.green = INT2FIX( GF_COL_G(BackColor) )/255; INT2FIX 162 src/compositor/compositor_2d.c rgb.blue = INT2FIX( GF_COL_B(BackColor) )/255; INT2FIX 208 src/compositor/compositor_2d.c size.x = INT2FIX(area->width); INT2FIX 209 src/compositor/compositor_2d.c size.y = INT2FIX(area->height); INT2FIX 211 src/compositor/compositor_2d.c orig.x = INT2FIX(area->x); INT2FIX 212 src/compositor/compositor_2d.c orig.y = INT2FIX(area->y); INT2FIX 215 src/compositor/compositor_2d.c orig.x = INT2FIX(area->x) + INT2FIX(compositor->vp_width)/2; INT2FIX 216 src/compositor/compositor_2d.c orig.y = INT2FIX(compositor->vp_height)/2 - INT2FIX(area->y) + INT2FIX(area->height); INT2FIX 218 src/compositor/compositor_2d.c umin = gf_divfix(orig.x, INT2FIX(compositor->vp_width)); INT2FIX 219 src/compositor/compositor_2d.c umax = gf_divfix(orig.x+size.x, INT2FIX(compositor->vp_width)); INT2FIX 220 src/compositor/compositor_2d.c vmin = gf_divfix(orig.y-size.y, INT2FIX(compositor->vp_height)); INT2FIX 221 src/compositor/compositor_2d.c vmax = gf_divfix(orig.y, INT2FIX(compositor->vp_height)); INT2FIX 242 src/compositor/compositor_2d.c size.x = INT2FIX(compositor->vp_width); INT2FIX 243 src/compositor/compositor_2d.c size.y = INT2FIX(compositor->vp_height); INT2FIX 289 src/compositor/compositor_2d.c orig.x = ctx->bi->unclip.x + INT2FIX(visual->compositor->vp_width)/2; INT2FIX 290 src/compositor/compositor_2d.c orig.y = INT2FIX(visual->compositor->vp_height)/2 - ctx->bi->unclip.y + ctx->bi->unclip.height; INT2FIX 370 src/compositor/compositor_2d.c visual->camera.vp.width = visual->camera.width = INT2FIX(compositor->vp_width); INT2FIX 371 src/compositor/compositor_2d.c visual->camera.vp.height = visual->camera.height = INT2FIX(compositor->vp_height); INT2FIX 374 src/compositor/compositor_2d.c visual->camera.position.z = INT2FIX(1000); INT2FIX 449 src/compositor/compositor_2d.c size.x = INT2FIX(compositor->vp_width); INT2FIX 450 src/compositor/compositor_2d.c size.y = INT2FIX(compositor->vp_height); INT2FIX 695 src/compositor/compositor_2d.c final.x += INT2FIX( output_width / 2 ); INT2FIX 698 src/compositor/compositor_2d.c final.y = INT2FIX( output_height / 2) - final.y; INT2FIX 744 src/compositor/compositor_2d.c if (INT2FIX(_v)!=tmp) _v++; INT2FIX 748 src/compositor/compositor_2d.c tmp -= INT2FIX(_v); \ INT2FIX 753 src/compositor/compositor_2d.c tmp -= INT2FIX(_v); \ INT2FIX 766 src/compositor/compositor_2d.c tmp = gf_divfix(INT2FIX(clipped_final.x) - final.x, w_scale); INT2FIX 770 src/compositor/compositor_2d.c tmp = gf_divfix(INT2FIX(clipped_final.y) - final.y, h_scale); INT2FIX 774 src/compositor/compositor_2d.c tmp = gf_divfix(INT2FIX(clip->width), w_scale); INT2FIX 777 src/compositor/compositor_2d.c tmp = gf_divfix(INT2FIX(clip->height), h_scale); INT2FIX 1264 src/compositor/compositor_2d.c scaleX = gf_divfix(INT2FIX(compositor->vp_width), INT2FIX(compositor->scene_width)); INT2FIX 1266 src/compositor/compositor_2d.c scaleY = gf_divfix(INT2FIX(compositor->vp_height), INT2FIX(compositor->scene_height)); INT2FIX 1272 src/compositor/compositor_2d.c compositor->vp_width = FIX2INT(gf_divfix(INT2FIX(compositor->display_width), scaleX)); INT2FIX 1273 src/compositor/compositor_2d.c compositor->vp_height = FIX2INT(gf_divfix(INT2FIX(compositor->display_height), scaleY)); INT2FIX 1349 src/compositor/compositor_2d.c compositor->traverse_state->vp_size.x = INT2FIX(compositor->scene_width); INT2FIX 1350 src/compositor/compositor_2d.c compositor->traverse_state->vp_size.y = INT2FIX(compositor->scene_height); INT2FIX 1352 src/compositor/compositor_2d.c compositor->traverse_state->vp_size.x = INT2FIX(compositor->output_width); INT2FIX 1353 src/compositor/compositor_2d.c compositor->traverse_state->vp_size.y = INT2FIX(compositor->output_height); INT2FIX 1382 src/compositor/compositor_2d.c evt.screen_rect.width = INT2FIX(compositor->display_width); INT2FIX 1383 src/compositor/compositor_2d.c evt.screen_rect.height = INT2FIX(compositor->display_height); INT2FIX 1387 src/compositor/compositor_2d.c evt.screen_rect.width = INT2FIX(w); INT2FIX 1388 src/compositor/compositor_2d.c evt.screen_rect.height = INT2FIX(h); INT2FIX 1394 src/compositor/compositor_2d.c evt.screen_rect.x = INT2FIX(compositor->vp_x); INT2FIX 1395 src/compositor/compositor_2d.c evt.screen_rect.y = INT2FIX(compositor->vp_y); INT2FIX 1396 src/compositor/compositor_2d.c evt.screen_rect.width = INT2FIX(compositor->output_width); INT2FIX 1397 src/compositor/compositor_2d.c evt.screen_rect.height = INT2FIX(compositor->output_height); INT2FIX 1438 src/compositor/compositor_2d.c c_x = INT2FIX(compositor->display_width/2); INT2FIX 1439 src/compositor/compositor_2d.c c_y = INT2FIX(compositor->display_height/2); INT2FIX 1466 src/compositor/compositor_2d.c gf_mx2d_add_translation(&compositor->traverse_state->transform, INT2FIX(compositor->vp_x), INT2FIX(compositor->vp_y)); INT2FIX 90 src/compositor/compositor_3d.c scaleX = gf_divfix(INT2FIX(compositor->vp_width), INT2FIX(compositor->scene_width)); INT2FIX 91 src/compositor/compositor_3d.c scaleY = gf_divfix(INT2FIX(compositor->vp_height), INT2FIX(compositor->scene_height)); INT2FIX 95 src/compositor/compositor_3d.c compositor->traverse_state->vp_size.x = INT2FIX(compositor->scene_width); INT2FIX 96 src/compositor/compositor_3d.c compositor->traverse_state->vp_size.y = INT2FIX(compositor->scene_height); INT2FIX 98 src/compositor/compositor_3d.c compositor->traverse_state->vp_size.x = INT2FIX(compositor->output_width); INT2FIX 99 src/compositor/compositor_3d.c compositor->traverse_state->vp_size.y = INT2FIX(compositor->output_height); INT2FIX 235 src/compositor/compositor_3d.c Fixed disp_depth = (compositor->display_depth<0) ? INT2FIX(tr_state->visual->height) : INT2FIX(compositor->display_depth); INT2FIX 672 src/compositor/events.c X += INT2FIX(compositor->visual->width)/2; INT2FIX 673 src/compositor/events.c Y = INT2FIX(compositor->visual->height)/2 - Y; INT2FIX 353 src/compositor/font_engine.c gf_path_add_move_to(glyph->path, 0, INT2FIX(font->descent)); INT2FIX 354 src/compositor/font_engine.c gf_path_add_line_to(glyph->path, 0, INT2FIX(font->ascent)); INT2FIX 355 src/compositor/font_engine.c gf_path_add_line_to(glyph->path, 1, INT2FIX(font->ascent)); INT2FIX 356 src/compositor/font_engine.c gf_path_add_line_to(glyph->path, 1, INT2FIX(font->descent)); INT2FIX 390 src/compositor/font_engine.c glyph->path->bbox.width = INT2FIX(font->max_advance_h); INT2FIX 391 src/compositor/font_engine.c glyph->path->bbox.y = INT2FIX(font->ascent); INT2FIX 392 src/compositor/font_engine.c glyph->path->bbox.height = INT2FIX(font->ascent - font->descent); INT2FIX 603 src/compositor/font_engine.c dx += INT2FIX(span->font->max_advance_h); INT2FIX 605 src/compositor/font_engine.c dy -= INT2FIX(span->font->max_advance_v); INT2FIX 626 src/compositor/font_engine.c dx += INT2FIX(span->glyphs[i]->horiz_advance); INT2FIX 628 src/compositor/font_engine.c dy -= INT2FIX(span->glyphs[i]->vert_advance); INT2FIX 699 src/compositor/font_engine.c max = INT2FIX(MAX_TX_SIZE); INT2FIX 700 src/compositor/font_engine.c min = INT2FIX(MIN_TX_SIZE); INT2FIX 727 src/compositor/font_engine.c sx = gf_divfix( INT2FIX(width), bounds.width); INT2FIX 728 src/compositor/font_engine.c sy = gf_divfix( INT2FIX(height), bounds.height); INT2FIX 905 src/compositor/font_engine.c hl_color.red = INT2FIX( GF_COL_R(asp->fill_color) ) / 255; INT2FIX 906 src/compositor/font_engine.c hl_color.green = INT2FIX( GF_COL_G(asp->fill_color) ) / 255; INT2FIX 907 src/compositor/font_engine.c hl_color.blue = INT2FIX( GF_COL_B(asp->fill_color) ) / 255; INT2FIX 916 src/compositor/font_engine.c hl_color.red = INT2FIX(GF_COL_R(text_hl)) / 255; INT2FIX 917 src/compositor/font_engine.c hl_color.green = INT2FIX(GF_COL_G(text_hl)) / 255; INT2FIX 918 src/compositor/font_engine.c hl_color.blue = INT2FIX(GF_COL_B(text_hl)) / 255; INT2FIX 919 src/compositor/font_engine.c hl_color.alpha = INT2FIX(GF_COL_A(text_hl)) / 255; INT2FIX 1442 src/compositor/font_engine.c rc.height = INT2FIX(span->font->ascent + span->font->descent); INT2FIX 938 src/compositor/hardcoded_protos.c tr_state->ray.orig.x = INT2FIX(tr_state->pick_x); INT2FIX 939 src/compositor/hardcoded_protos.c tr_state->ray.orig.y = INT2FIX(tr_state->pick_y); INT2FIX 1332 src/compositor/hardcoded_protos.c mesh_new_sphere(stack->mesh, -1 * INT2FIX(radius), GF_FALSE, &sphere_angles); INT2FIX 1516 src/compositor/mesh.c vx.texcoords.x = INT2FIX(i) / (xDimension - 1); INT2FIX 1517 src/compositor/mesh.c vx.texcoords.y = INT2FIX(j) / (zDimension - 1); INT2FIX 1595 src/compositor/mesh.c vx.texcoords.x = INT2FIX(i+l) / (xDimension - 1); INT2FIX 1596 src/compositor/mesh.c vx.texcoords.y = INT2FIX(j+k) / (zDimension - 1); INT2FIX 152 src/compositor/mesh_collide.c res[0] = gf_divfix(INT2FIX(num_pos), INT2FIX(node->nb_idx)) - FIX_ONE/2; INT2FIX 155 src/compositor/mesh_collide.c res[1] = gf_divfix(INT2FIX(num_pos), INT2FIX(node->nb_idx)) - FIX_ONE/2; INT2FIX 158 src/compositor/mesh_collide.c res[2] = gf_divfix(INT2FIX(num_pos), INT2FIX(node->nb_idx)) - FIX_ONE/2; INT2FIX 340 src/compositor/mpeg4_background.c bcol.red = INT2FIX( GF_COL_R(tr_state->visual->compositor->back_color)) / 255; INT2FIX 341 src/compositor/mpeg4_background.c bcol.green = INT2FIX( GF_COL_G(tr_state->visual->compositor->back_color)) / 255; INT2FIX 342 src/compositor/mpeg4_background.c bcol.blue = INT2FIX( GF_COL_B(tr_state->visual->compositor->back_color)) / 255; INT2FIX 84 src/compositor/mpeg4_bitmap.c size.x = gf_mulfix(INT2FIX(txh->width),sx); INT2FIX 85 src/compositor/mpeg4_bitmap.c size.y = gf_mulfix(INT2FIX(txh->height),sy); INT2FIX 90 src/compositor/mpeg4_bitmap.c size.x = gf_mulfix(INT2FIX( (txh->width * n) / d),sx); INT2FIX 389 src/compositor/mpeg4_composite.c st->sx = INT2FIX(st->txh.width) / w; INT2FIX 390 src/compositor/mpeg4_composite.c st->sy = INT2FIX(st->txh.height) / h; INT2FIX 518 src/compositor/mpeg4_composite.c tr_state->min_hsize = INT2FIX( MIN(txh->width, txh->height) ) / 2; INT2FIX 519 src/compositor/mpeg4_composite.c tr_state->vp_size.x = INT2FIX(txh->width); INT2FIX 520 src/compositor/mpeg4_composite.c tr_state->vp_size.y = INT2FIX(txh->height); INT2FIX 750 src/compositor/mpeg4_composite.c tr_state->vp_size.x = INT2FIX(stack->txh.width); INT2FIX 751 src/compositor/mpeg4_composite.c tr_state->vp_size.y = INT2FIX(stack->txh.height); INT2FIX 630 src/compositor/mpeg4_geometry_2d.c alpha = INT2FIX(GF_COL_A(ctx->aspect.line_color)) / 255; INT2FIX 113 src/compositor/mpeg4_geometry_ifs2d.c alpha = INT2FIX(GF_COL_A(ctx->aspect.fill_color)) / 255; INT2FIX 115 src/compositor/mpeg4_geometry_ifs2d.c alpha = INT2FIX(GF_COL_A(ctx->aspect.line_color)) / 255; INT2FIX 148 src/compositor/mpeg4_geometry_ifs2d.c alpha = INT2FIX(GF_COL_A(ctx->aspect.fill_color)) / 255; INT2FIX 150 src/compositor/mpeg4_geometry_ifs2d.c alpha = INT2FIX(GF_COL_A(ctx->aspect.line_color)) / 255; INT2FIX 202 src/compositor/mpeg4_geometry_ifs2d.c alpha = INT2FIX(GF_COL_A(ctx->aspect.fill_color) ) / 255; INT2FIX 99 src/compositor/mpeg4_geometry_ils2d.c alpha = INT2FIX(GF_COL_A(ctx->aspect.line_color)) / 255; INT2FIX 278 src/compositor/mpeg4_gradients.c gf_path_add_move_to(path, -INT2FIX(GRAD_TEXTURE_HSIZE), -INT2FIX(GRAD_TEXTURE_HSIZE)); INT2FIX 279 src/compositor/mpeg4_gradients.c gf_path_add_line_to(path, INT2FIX(GRAD_TEXTURE_HSIZE), -INT2FIX(GRAD_TEXTURE_HSIZE)); INT2FIX 280 src/compositor/mpeg4_gradients.c gf_path_add_line_to(path, INT2FIX(GRAD_TEXTURE_HSIZE), INT2FIX(GRAD_TEXTURE_HSIZE)); INT2FIX 281 src/compositor/mpeg4_gradients.c gf_path_add_line_to(path, -INT2FIX(GRAD_TEXTURE_HSIZE), INT2FIX(GRAD_TEXTURE_HSIZE)); INT2FIX 291 src/compositor/mpeg4_gradients.c gf_mx2d_add_translation(&mat, -INT2FIX(GRAD_TEXTURE_HSIZE), -INT2FIX(GRAD_TEXTURE_HSIZE)); INT2FIX 481 src/compositor/mpeg4_gradients.c gf_path_add_move_to(path, -INT2FIX(GRAD_TEXTURE_HSIZE), -INT2FIX(GRAD_TEXTURE_HSIZE)); INT2FIX 482 src/compositor/mpeg4_gradients.c gf_path_add_line_to(path, INT2FIX(GRAD_TEXTURE_HSIZE), -INT2FIX(GRAD_TEXTURE_HSIZE)); INT2FIX 483 src/compositor/mpeg4_gradients.c gf_path_add_line_to(path, INT2FIX(GRAD_TEXTURE_HSIZE), INT2FIX(GRAD_TEXTURE_HSIZE)); INT2FIX 484 src/compositor/mpeg4_gradients.c gf_path_add_line_to(path, -INT2FIX(GRAD_TEXTURE_HSIZE), INT2FIX(GRAD_TEXTURE_HSIZE)); INT2FIX 493 src/compositor/mpeg4_gradients.c gf_mx2d_add_translation(&mat, -INT2FIX(GRAD_TEXTURE_HSIZE), -INT2FIX(GRAD_TEXTURE_HSIZE)); INT2FIX 209 src/compositor/mpeg4_layer_3d.c st->vp = gf_rect_center(INT2FIX(w), INT2FIX(h) ); INT2FIX 275 src/compositor/mpeg4_layer_3d.c st->scale_x = INT2FIX(w) / tr_state->visual->compositor->offscreen_width; INT2FIX 276 src/compositor/mpeg4_layer_3d.c st->scale_y = INT2FIX(h) / tr_state->visual->compositor->offscreen_height; INT2FIX 299 src/compositor/mpeg4_layer_3d.c sw = INT2FIX(tr_state->visual->compositor->display_width); INT2FIX 300 src/compositor/mpeg4_layer_3d.c sh = INT2FIX(tr_state->visual->compositor->display_height); INT2FIX 302 src/compositor/mpeg4_layer_3d.c sw = INT2FIX(tr_state->visual->width); INT2FIX 303 src/compositor/mpeg4_layer_3d.c sh = INT2FIX(tr_state->visual->height); INT2FIX 370 src/compositor/mpeg4_layer_3d.c st->clip.width = INT2FIX(tr_state->visual->compositor->vp_width); INT2FIX 371 src/compositor/mpeg4_layer_3d.c st->clip.height = INT2FIX(tr_state->visual->compositor->vp_height); INT2FIX 482 src/compositor/mpeg4_layout.c scrolled = st->last_scroll + INT2FIX(st->key_scroll); INT2FIX 477 src/compositor/mpeg4_sensors.c diff = gf_divfix(diff, INT2FIX(compositor->vp_width/2)); INT2FIX 902 src/compositor/mpeg4_sensors.c diff = gf_divfix(diff, INT2FIX(compositor->vp_width/2)); INT2FIX 88 src/compositor/mpeg4_text.c fontSize = INT2FIX(12); INT2FIX 215 src/compositor/mpeg4_text.c fontSize = INT2FIX(12); INT2FIX 232 src/compositor/mpeg4_text.c st->ascent = gf_muldiv(fontSize, INT2FIX(font->ascent), INT2FIX(font->em_size)); INT2FIX 233 src/compositor/mpeg4_text.c st->descent = -gf_muldiv(fontSize, INT2FIX(font->descent), INT2FIX(font->em_size)); INT2FIX 573 src/compositor/mpeg4_text.c if (!stack->bounds.width) stack->bounds.width = INT2FIX(1)/100; INT2FIX 574 src/compositor/mpeg4_text.c if (!stack->bounds.height) stack->bounds.height = INT2FIX(1)/100; INT2FIX 324 src/compositor/navigate.c x = gf_divfix( INT2FIX(ev->mouse.x - (s32) compositor->visual->width/2), INT2FIX(compositor->visual->width)); INT2FIX 325 src/compositor/navigate.c y = gf_divfix( INT2FIX(ev->mouse.y - (s32) compositor->visual->height/2), INT2FIX(compositor->visual->height)); INT2FIX 332 src/compositor/navigate.c trans_scale = is_pixel_metrics ? cam->width/2 : INT2FIX(10); INT2FIX 333 src/compositor/navigate.c key_trans = is_pixel_metrics ? INT2FIX(10) : cam->avatar_size.x; INT2FIX 469 src/compositor/navigate.c nav_set_zoom_trans_2d(compositor->visual, zoom + INT2FIX(ev->mouse.wheel_pos)/10, 0, 0); INT2FIX 517 src/compositor/navigate.c compositor->focus_distance += INT2FIX(key_inv); INT2FIX 680 src/compositor/navigate.c x = INT2FIX(ev->mouse.x); INT2FIX 681 src/compositor/navigate.c y = INT2FIX(ev->mouse.y); INT2FIX 695 src/compositor/navigate.c key_trans = INT2FIX(2); INT2FIX 718 src/compositor/navigate.c visual->compositor->trans_x -= visual->compositor->grab_x - INT2FIX(visual->width)/2; INT2FIX 719 src/compositor/navigate.c visual->compositor->trans_y += INT2FIX(visual->height)/2 - visual->compositor->grab_y; INT2FIX 736 src/compositor/navigate.c new_zoom = zoom + INT2FIX(ev->mouse.wheel_pos)/10; INT2FIX 270 src/compositor/offscreen_cache.c scale_x = gf_divfix(INT2FIX(rc1.width), tr_state->bounds.width); INT2FIX 271 src/compositor/offscreen_cache.c scale_y = gf_divfix(INT2FIX(rc1.height), tr_state->bounds.height); INT2FIX 744 src/compositor/offscreen_cache.c group->priority = INT2FIX(nb_objects*1024*group->traverse_time) / cache_size / group->nb_stats_frame; INT2FIX 855 src/compositor/offscreen_cache.c priority = INT2FIX (group->nb_objects*1024*1024*avg_time) / group->cached_size; INT2FIX 121 src/compositor/svg_filters.c Fixed p = 255 * gf_mulfix(amplitude, FLT2FIX( pow( INT2FIX(*ptr)/255, FIX2FLT(exponent) ) ) ) + offset; INT2FIX 133 src/compositor/svg_filters.c Fixed p = INT2FIX(ptr[0]) / 255; INT2FIX 139 src/compositor/svg_filters.c p = 255 * ( vk->value + gf_mulfix( pN - INT2FIX(k), (vk1->value - vk->value)) ); INT2FIX 150 src/compositor/svg_filters.c Fixed p = INT2FIX(ptr[0]) / 255; INT2FIX 367 src/compositor/svg_filters.c v = all_atts.x ? all_atts.x->value : INT2FIX(-10); INT2FIX 369 src/compositor/svg_filters.c v = all_atts.y ? all_atts.y->value : INT2FIX(-10); INT2FIX 371 src/compositor/svg_filters.c v = all_atts.width ? all_atts.width->value : INT2FIX(120); INT2FIX 373 src/compositor/svg_filters.c v = all_atts.height ? all_atts.height->value : INT2FIX(120); INT2FIX 116 src/compositor/svg_media.c txheight = INT2FIX(stack->txh.height); INT2FIX 117 src/compositor/svg_media.c txwidth = INT2FIX(stack->txh.width); INT2FIX 325 src/compositor/svg_media.c tr_state->bounds.width = INT2FIX(stack->txh.width); INT2FIX 326 src/compositor/svg_media.c tr_state->bounds.height = INT2FIX(stack->txh.height); INT2FIX 350 src/compositor/svg_media.c gf_path_add_rect_center(stack->drawable->path, cx, cy, INT2FIX(stack->txh.width), INT2FIX(stack->txh.height)); INT2FIX 419 src/compositor/svg_paint_servers.c size = INT2FIX(GRAD_TEXTURE_HSIZE); INT2FIX 869 src/compositor/texturing_gl.c txh->tx_io->conv_wscale = INT2FIX(txh->width) / txh->tx_io->conv_w; INT2FIX 870 src/compositor/texturing_gl.c txh->tx_io->conv_hscale = INT2FIX(txh->height) / txh->tx_io->conv_h; INT2FIX 1521 src/compositor/texturing_gl.c gf_mx_add_scale(mx, INT2FIX(txh->width), INT2FIX(txh->height), FIX_ONE); INT2FIX 121 src/compositor/visual_manager.c w = INT2FIX(tr_state->visual->compositor->vp_width); INT2FIX 122 src/compositor/visual_manager.c h = INT2FIX(tr_state->visual->compositor->vp_height); INT2FIX 70 src/compositor/visual_manager_2d.c rcft.x = INT2FIX(rc->x); INT2FIX 71 src/compositor/visual_manager_2d.c rcft.y = INT2FIX(rc->y); INT2FIX 72 src/compositor/visual_manager_2d.c rcft.width = INT2FIX(rc->width); INT2FIX 73 src/compositor/visual_manager_2d.c rcft.height = INT2FIX(rc->height); INT2FIX 197 src/compositor/visual_manager_2d.c rc = gf_rect_center(INT2FIX(visual->compositor->display_width), INT2FIX(visual->compositor->display_height)); INT2FIX 199 src/compositor/visual_manager_2d.c rc = gf_rect_center(INT2FIX(visual->compositor->output_width + 2*visual->compositor->vp_x), INT2FIX(visual->compositor->output_height + 2*visual->compositor->vp_y)); INT2FIX 201 src/compositor/visual_manager_2d.c rc = gf_rect_center(INT2FIX(visual->width), INT2FIX(visual->height)); INT2FIX 205 src/compositor/visual_manager_2d.c rc.width = INT2FIX(visual->width); INT2FIX 206 src/compositor/visual_manager_2d.c rc.y = rc.height = INT2FIX(visual->height); INT2FIX 217 src/compositor/visual_manager_2d.c rc = gf_rect_center(INT2FIX(visual->width), INT2FIX(visual->height)); INT2FIX 219 src/compositor/visual_manager_2d.c rc.width = INT2FIX(visual->width); INT2FIX 220 src/compositor/visual_manager_2d.c rc.height = INT2FIX(visual->height); INT2FIX 224 src/compositor/visual_manager_2d.c rc.x += INT2FIX(visual->compositor->vp_x); INT2FIX 225 src/compositor/visual_manager_2d.c rc.y += INT2FIX(visual->compositor->vp_y); INT2FIX 241 src/compositor/visual_manager_2d.c tr_state->camera->vp.width = INT2FIX(visual->compositor->output_width); INT2FIX 242 src/compositor/visual_manager_2d.c tr_state->camera->vp.height = INT2FIX(visual->compositor->output_height); INT2FIX 934 src/compositor/visual_manager_2d.c tr_state->ray.orig.x = INT2FIX(ev->mouse.x); INT2FIX 935 src/compositor/visual_manager_2d.c tr_state->ray.orig.y = INT2FIX(ev->mouse.y); INT2FIX 251 src/compositor/visual_manager_2d_draw.c visual_2d_get_texture_transform(ctx->appear, txh, &txt_mat, (txh == ctx->aspect.fill_texture) ? 0 : 1, INT2FIX(txh->width), INT2FIX(txh->height)); INT2FIX 306 src/compositor/visual_manager_2d_draw.c sS = gf_divfix(orig_rc.width, INT2FIX(txh->width)); INT2FIX 307 src/compositor/visual_manager_2d_draw.c sT = gf_divfix(orig_rc.height, INT2FIX(txh->height)); INT2FIX 332 src/compositor/visual_manager_2d_draw.c cmat.m[4] = INT2FIX(r)/255; INT2FIX 333 src/compositor/visual_manager_2d_draw.c cmat.m[9] = INT2FIX(g)/255; INT2FIX 334 src/compositor/visual_manager_2d_draw.c cmat.m[14] = INT2FIX(b)/255; INT2FIX 335 src/compositor/visual_manager_2d_draw.c cmat.m[18] = INT2FIX(alpha)/255; INT2FIX 454 src/compositor/visual_manager_2d_draw.c clipper.x = INT2FIX(ctx->bi->clip.x); INT2FIX 455 src/compositor/visual_manager_2d_draw.c clipper.y = INT2FIX(ctx->bi->clip.y); INT2FIX 456 src/compositor/visual_manager_2d_draw.c clipper.width = INT2FIX(ctx->bi->clip.width); INT2FIX 457 src/compositor/visual_manager_2d_draw.c clipper.height = INT2FIX(ctx->bi->clip.height); INT2FIX 809 src/compositor/visual_manager_2d_draw.c gf_path_add_move_to(path, INT2FIX(rc->x-1), INT2FIX(rc->y+2-rc->height)); INT2FIX 810 src/compositor/visual_manager_2d_draw.c gf_path_add_line_to(path, INT2FIX(rc->x+rc->width-2), INT2FIX(rc->y+2-rc->height)); INT2FIX 811 src/compositor/visual_manager_2d_draw.c gf_path_add_line_to(path, INT2FIX(rc->x+rc->width), INT2FIX(rc->y)); INT2FIX 812 src/compositor/visual_manager_2d_draw.c gf_path_add_line_to(path, INT2FIX(rc->x), INT2FIX(rc->y)); INT2FIX 118 src/compositor/visual_manager_3d.c tr_state->min_hsize = INT2FIX(MIN(visual->width, visual->height) / 2); INT2FIX 125 src/compositor/visual_manager_3d.c tr_state->camera->vp.x = INT2FIX(tr_state->visual->compositor->vp_x); INT2FIX 126 src/compositor/visual_manager_3d.c tr_state->camera->vp.y = INT2FIX(tr_state->visual->compositor->vp_y); INT2FIX 127 src/compositor/visual_manager_3d.c tr_state->camera->vp.width = INT2FIX(tr_state->visual->compositor->vp_width); INT2FIX 128 src/compositor/visual_manager_3d.c tr_state->camera->vp.height = INT2FIX(tr_state->visual->compositor->vp_height); INT2FIX 132 src/compositor/visual_manager_3d.c tr_state->camera->width = INT2FIX(tr_state->visual->width); INT2FIX 133 src/compositor/visual_manager_3d.c tr_state->camera->height = INT2FIX(tr_state->visual->height); INT2FIX 135 src/compositor/visual_manager_3d.c tr_state->camera->width = INT2FIX(tr_state->visual->compositor->vp_width); INT2FIX 136 src/compositor/visual_manager_3d.c tr_state->camera->height = INT2FIX(tr_state->visual->compositor->vp_height); INT2FIX 140 src/compositor/visual_manager_3d.c sw = INT2FIX(tr_state->visual->compositor->vp_width); INT2FIX 141 src/compositor/visual_manager_3d.c sh = INT2FIX(tr_state->visual->compositor->vp_height); INT2FIX 147 src/compositor/visual_manager_3d.c tr_state->camera->width = tr_state->camera->vp.width = INT2FIX(tr_state->visual->compositor->vp_width); INT2FIX 148 src/compositor/visual_manager_3d.c tr_state->camera->height = tr_state->camera->vp.height = INT2FIX(tr_state->visual->compositor->vp_height); INT2FIX 155 src/compositor/visual_manager_3d.c tr_state->camera->vp.width = tr_state->camera->width = INT2FIX(visual->width); INT2FIX 156 src/compositor/visual_manager_3d.c tr_state->camera->vp.height = tr_state->camera->height = INT2FIX(visual->height); INT2FIX 249 src/compositor/visual_manager_3d.c disparity = INT2FIX(tr_state->visual->compositor->video_out->disparity); INT2FIX 269 src/compositor/visual_manager_3d.c Fixed dist = INT2FIX(tr_state->visual->compositor->display_depth); INT2FIX 270 src/compositor/visual_manager_3d.c if (dist<0) dist = INT2FIX(tr_state->visual->height); INT2FIX 339 src/compositor/visual_manager_3d.c fov = 2*gf_atan2( INT2FIX(tr_state->visual->compositor->video_out->max_screen_width)/2, view_distance); INT2FIX 345 src/compositor/visual_manager_3d.c pos.z = INT2FIX(10); INT2FIX 417 src/compositor/visual_manager_3d.c col.red = INT2FIX((tr_state->visual->compositor->back_color>>16)&0xFF) / 255; INT2FIX 418 src/compositor/visual_manager_3d.c col.green = INT2FIX((tr_state->visual->compositor->back_color>>8)&0xFF) / 255; INT2FIX 419 src/compositor/visual_manager_3d.c col.blue = INT2FIX((tr_state->visual->compositor->back_color)&0xFF) / 255; INT2FIX 434 src/compositor/visual_manager_3d.c col.red = INT2FIX((tr_state->visual->compositor->back_color>>16)&0xFF) / 255; INT2FIX 435 src/compositor/visual_manager_3d.c col.green = INT2FIX((tr_state->visual->compositor->back_color>>8)&0xFF) / 255; INT2FIX 436 src/compositor/visual_manager_3d.c col.blue = INT2FIX((tr_state->visual->compositor->back_color)&0xFF) / 255; INT2FIX 554 src/compositor/visual_manager_3d.c Fixed max_width = INT2FIX(tr_state->visual->compositor->display_width) / tr_state->visual->nb_views; INT2FIX 555 src/compositor/visual_manager_3d.c Fixed max_height = INT2FIX(tr_state->visual->compositor->display_height); INT2FIX 574 src/compositor/visual_manager_3d.c tr_state->camera->vp.x = (INT2FIX(tr_state->visual->compositor->display_width) - tr_state->visual->nb_views*tr_state->camera->vp.width)/2 + tr_state->visual->current_view * tr_state->camera->vp.width; INT2FIX 575 src/compositor/visual_manager_3d.c tr_state->camera->vp.y = (INT2FIX(tr_state->visual->compositor->display_height) - tr_state->camera->vp.height)/2; INT2FIX 584 src/compositor/visual_manager_3d.c col.red = INT2FIX((tr_state->visual->compositor->back_color>>16)&0xFF) / 255; INT2FIX 585 src/compositor/visual_manager_3d.c col.green = INT2FIX((tr_state->visual->compositor->back_color>>8)&0xFF) / 255; INT2FIX 586 src/compositor/visual_manager_3d.c col.blue = INT2FIX((tr_state->visual->compositor->back_color)&0xFF) / 255; INT2FIX 613 src/compositor/visual_manager_3d.c Fixed remain = INT2FIX(tr_state->visual->compositor->output_height - orig_vp.height) / tr_state->visual->nb_views; INT2FIX 916 src/compositor/visual_manager_3d.c rc = gf_rect_center(INT2FIX(visual->width), INT2FIX(visual->height)); INT2FIX 918 src/compositor/visual_manager_3d.c rc.width = INT2FIX(visual->width); INT2FIX 919 src/compositor/visual_manager_3d.c rc.height = INT2FIX(visual->height); INT2FIX 923 src/compositor/visual_manager_3d.c rc.x += INT2FIX(visual->compositor->vp_x); INT2FIX 924 src/compositor/visual_manager_3d.c rc.y += INT2FIX(visual->compositor->vp_y); INT2FIX 1255 src/compositor/visual_manager_3d.c x = INT2FIX(ev->mouse.x); INT2FIX 1256 src/compositor/visual_manager_3d.c y = INT2FIX(ev->mouse.y); INT2FIX 1261 src/compositor/visual_manager_3d.c x = x - INT2FIX(tr_state->camera->width)/2; INT2FIX 1262 src/compositor/visual_manager_3d.c y = INT2FIX(tr_state->camera->height)/2 - y; INT2FIX 1268 src/compositor/visual_manager_3d.c Fixed scale = gf_divfix(INT2FIX(visual->width), INT2FIX(visual->compositor->vp_width)); INT2FIX 1270 src/compositor/visual_manager_3d.c scale = gf_divfix(INT2FIX(visual->height), INT2FIX(visual->compositor->vp_height)); INT2FIX 1997 src/compositor/visual_manager_3d.c visual->mat_2d.red = INT2FIX( GF_COL_R(col) ) / 255; INT2FIX 1998 src/compositor/visual_manager_3d.c visual->mat_2d.green = INT2FIX( GF_COL_G(col) ) / 255; INT2FIX 1999 src/compositor/visual_manager_3d.c visual->mat_2d.blue = INT2FIX( GF_COL_B(col) ) / 255; INT2FIX 2000 src/compositor/visual_manager_3d.c visual->mat_2d.alpha = INT2FIX( a ) / 255;; INT2FIX 1232 src/compositor/visual_manager_3d_gl.c s.x = INT2FIX(bw); INT2FIX 1233 src/compositor/visual_manager_3d_gl.c s.y = INT2FIX(bh); INT2FIX 1238 src/compositor/visual_manager_3d_gl.c Fixed max_u = INT2FIX(bw) / visual->auto_stereo_width; INT2FIX 1239 src/compositor/visual_manager_3d_gl.c Fixed max_v = INT2FIX(bh) / visual->auto_stereo_height; INT2FIX 1304 src/compositor/visual_manager_3d_gl.c hw = INT2FIX(visual->width); INT2FIX 1305 src/compositor/visual_manager_3d_gl.c hh = INT2FIX(visual->height); INT2FIX 1308 src/compositor/visual_manager_3d_gl.c hw = INT2FIX(visual->compositor->output_width); INT2FIX 1309 src/compositor/visual_manager_3d_gl.c hh = INT2FIX(visual->compositor->output_height); INT2FIX 1822 src/compositor/visual_manager_3d_gl.c glLightx(iLight, GL_SPOT_CUTOFF, INT2FIX(180) ); INT2FIX 1958 src/compositor/visual_manager_3d_gl.c glLightx(iLight, GL_SPOT_CUTOFF, INT2FIX(180) ); INT2FIX 3902 src/compositor/visual_manager_3d_gl.c y = gf_mulfix(y, INT2FIX(txh->height/2)); INT2FIX 3908 src/compositor/visual_manager_3d_gl.c x = gf_mulfix(x, INT2FIX(txh->width/2)); INT2FIX 3958 src/compositor/visual_manager_3d_gl.c y = gf_mulfix(y, INT2FIX(txh->height/2));; INT2FIX 3965 src/compositor/visual_manager_3d_gl.c x = gf_mulfix(x, INT2FIX(txh->width/2)); INT2FIX 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)) ); INT2FIX 4089 src/compositor/visual_manager_3d_gl.c Fixed z = INT2FIX(d); INT2FIX 182 src/laser/lsr_dec.c codec->res_factor = INT2FIX(1<<codec->info->cfg.resolution); INT2FIX 184 src/laser/lsr_dec.c codec->res_factor = gf_divfix(FIX_ONE, INT2FIX(1 << (-codec->info->cfg.resolution)) ); INT2FIX 208 src/laser/lsr_dec.c codec->res_factor = INT2FIX(1<<codec->info->cfg.resolution); INT2FIX 210 src/laser/lsr_dec.c codec->res_factor = gf_divfix(FIX_ONE, INT2FIX(1 << (-codec->info->cfg.resolution)) ); INT2FIX 434 src/laser/lsr_dec.c return INT2FIX(res) / 256; INT2FIX 440 src/laser/lsr_dec.c return INT2FIX(val) / 256; INT2FIX 464 src/laser/lsr_dec.c color->red = INT2FIX(c->r) / lsr->color_scale; INT2FIX 465 src/laser/lsr_dec.c color->green = INT2FIX(c->g) / lsr->color_scale; INT2FIX 466 src/laser/lsr_dec.c color->blue = INT2FIX(c->b) / lsr->color_scale; INT2FIX 783 src/laser/lsr_dec.c return 2 * gf_divfix(INT2FIX(neg/2), lsr->res_factor); INT2FIX 784 src/laser/lsr_dec.c return gf_divfix(INT2FIX(neg), lsr->res_factor); INT2FIX 787 src/laser/lsr_dec.c return 2 * gf_divfix(INT2FIX(val/2), lsr->res_factor); INT2FIX 788 src/laser/lsr_dec.c return gf_divfix(INT2FIX(val), lsr->res_factor); INT2FIX 793 src/laser/lsr_dec.c return gf_divfix(INT2FIX(neg), lsr->res_factor); INT2FIX 795 src/laser/lsr_dec.c return gf_divfix(INT2FIX(val), lsr->res_factor); INT2FIX 804 src/laser/lsr_dec.c return INT2FIX(v) / 256 ; INT2FIX 806 src/laser/lsr_dec.c return INT2FIX(val) / 256; INT2FIX 860 src/laser/lsr_dec.c return INT2FIX(val) / 255; INT2FIX 2299 src/laser/lsr_dec.c p->angle = gf_muldiv(p->angle, GF_PI, INT2FIX(180) ); INT2FIX 2396 src/laser/lsr_dec.c p->angle = gf_muldiv(p->angle, GF_PI, INT2FIX(180) ); INT2FIX 2494 src/laser/lsr_dec.c *f = INT2FIX(v) / 4096/*(1<<12)*/; INT2FIX 2794 src/laser/lsr_dec.c ((SMIL_SyncTolerance *)info.far_ptr)->value = INT2FIX(v); INT2FIX 2922 src/laser/lsr_dec.c n->value = INT2FIX(val) / (1<<8); INT2FIX 5374 src/laser/lsr_dec.c codec->res_factor = INT2FIX(1<<codec->info->cfg.resolution); INT2FIX 5376 src/laser/lsr_dec.c codec->res_factor = gf_divfix(FIX_ONE, INT2FIX(1 << (-codec->info->cfg.resolution)) ); INT2FIX 161 src/laser/lsr_enc.c codec->res_factor = gf_divfix(FIX_ONE, INT2FIX(1<<codec->info->cfg.resolution) ); INT2FIX 163 src/laser/lsr_enc.c codec->res_factor = INT2FIX(1 << (-codec->info->cfg.resolution)); INT2FIX 185 src/laser/lsr_enc.c codec->res_factor = gf_divfix(FIX_ONE, INT2FIX(1<<codec->info->cfg.resolution) ); INT2FIX 187 src/laser/lsr_enc.c codec->res_factor = INT2FIX(1 << (-codec->info->cfg.resolution)); INT2FIX 1804 src/laser/lsr_enc.c angle = gf_muldiv(angle, INT2FIX(180), GF_PI); INT2FIX 1880 src/laser/lsr_enc.c Fixed angle = gf_muldiv(p->angle, INT2FIX(180), GF_PI); INT2FIX 4075 src/laser/lsr_enc.c lsr_write_coordinate(lsr, INT2FIX(com->send_event_x), 0, "x"); INT2FIX 4076 src/laser/lsr_enc.c lsr_write_coordinate(lsr, INT2FIX(com->send_event_y), 0, "y"); INT2FIX 632 src/scene_manager/loader_bt.c *val = INT2FIX(var); INT2FIX 703 src/scene_manager/loader_bt.c col->red = INT2FIX((val>>16) & 0xFF) / 255; INT2FIX 704 src/scene_manager/loader_bt.c col->green = INT2FIX((val>>8) & 0xFF) / 255; INT2FIX 705 src/scene_manager/loader_bt.c col->blue = INT2FIX(val & 0xFF) / 255; INT2FIX 720 src/scene_manager/loader_bt.c col->red = INT2FIX((val>>24) & 0xFF) / 255; INT2FIX 721 src/scene_manager/loader_bt.c col->green = INT2FIX((val>>16) & 0xFF) / 255; INT2FIX 722 src/scene_manager/loader_bt.c col->blue = INT2FIX((val>>8) & 0xFF) / 255; INT2FIX 723 src/scene_manager/loader_bt.c col->alpha = INT2FIX(val & 0xFF) / 255; INT2FIX 138 src/scene_manager/swf_bifs.c val.red = INT2FIX((ARGB>>16)&0xFF) / 255; INT2FIX 139 src/scene_manager/swf_bifs.c val.green = INT2FIX((ARGB>>8)&0xFF) / 255; INT2FIX 140 src/scene_manager/swf_bifs.c val.blue = INT2FIX((ARGB)&0xFF) / 255; INT2FIX 146 src/scene_manager/swf_bifs.c return INT2FIX((ARGB>>24)&0xFF) / 255; INT2FIX 291 src/scene_manager/swf_bifs.c keys->vals[i] = INT2FIX(srec->grad_ratio[i])/255; INT2FIX 1601 src/scene_manager/swf_bifs.c rgb.red = INT2FIX((xrgb>>16) & 0xFF) / 255; INT2FIX 1602 src/scene_manager/swf_bifs.c rgb.green = INT2FIX((xrgb>>8) & 0xFF) / 255; INT2FIX 1603 src/scene_manager/swf_bifs.c rgb.blue = INT2FIX((xrgb) & 0xFF) / 255; INT2FIX 74 src/scene_manager/swf_svg.c val.red = INT2FIX((ARGB>>16)&0xFF) / 255*100; INT2FIX 75 src/scene_manager/swf_svg.c val.green = INT2FIX((ARGB>>8)&0xFF) / 255*100; INT2FIX 76 src/scene_manager/swf_svg.c val.blue = INT2FIX((ARGB)&0xFF) / 255*100; INT2FIX 83 src/scene_manager/swf_svg.c alpha = INT2FIX((ARGB>>24)&0xFF)/255; INT2FIX 391 src/scenegraph/mpeg4_animators.c frac = (frac - INT2FIX(i) / (nbVals-1) ) * (nbVals-1); INT2FIX 413 src/scenegraph/mpeg4_animators.c frac = (frac - INT2FIX(i) / (nbVals-1) ) * (nbVals-1); INT2FIX 432 src/scenegraph/mpeg4_animators.c frac = INT2FIX(i) / nbVals; INT2FIX 436 src/scenegraph/mpeg4_animators.c frac = (frac - INT2FIX(i) / (nbVals-1) ) * (nbVals-1); INT2FIX 560 src/scenegraph/mpeg4_animators.c frac = (frac - INT2FIX(i)/ (nbVals-1) ) * (nbVals-1); INT2FIX 581 src/scenegraph/mpeg4_animators.c frac = (frac - INT2FIX(i) / (nbVals-1) ) * (nbVals-1); INT2FIX 599 src/scenegraph/mpeg4_animators.c frac = INT2FIX(i) / nbVals; INT2FIX 603 src/scenegraph/mpeg4_animators.c frac = (frac - INT2FIX(i) / (nbVals-1) ) * (nbVals-1); INT2FIX 726 src/scenegraph/mpeg4_animators.c frac = (frac - INT2FIX(i)/ (nbVals-1) ) * (nbVals-1); INT2FIX 746 src/scenegraph/mpeg4_animators.c frac = (frac - INT2FIX(i) / (nbVals-1) ) * (nbVals-1); INT2FIX 761 src/scenegraph/mpeg4_animators.c frac = INT2FIX(i) / nbVals; INT2FIX 765 src/scenegraph/mpeg4_animators.c frac = (frac - INT2FIX(i) / (nbVals-1) ) * (nbVals-1); INT2FIX 56 src/scenegraph/mpeg4_valuator.c Fixed vi = INT2FIX(sfi); INT2FIX 120 src/scenegraph/mpeg4_valuator.c output->x = INT2FIX( atoi(((MFString *)inMFField)->vals[i]) ); INT2FIX 365 src/scenegraph/mpeg4_valuator.c val.x = val.y = val.z = val.q = INT2FIX(_this->inSFInt32); INT2FIX 427 src/scenegraph/mpeg4_valuator.c val.x = INT2FIX( atoi(_this->inSFString.buffer) ); INT2FIX 299 src/scenegraph/smil_anim.c interpolation_coefficient = tmp - INT2FIX(keyValueIndex); INT2FIX 308 src/scenegraph/smil_anim.c interpolation_coefficient = tmp - INT2FIX(keyValueIndex); INT2FIX 755 src/scenegraph/smil_anim.c INT2FIX(nb_iterations), &rai->last_specified_value, INT2FIX 766 src/scenegraph/smil_anim.c INT2FIX(nb_iterations), &from_info, INT2FIX 611 src/scenegraph/svg_attributes.c col->red = INT2FIX((val>>16) & 0xFF) / 255; INT2FIX 612 src/scenegraph/svg_attributes.c col->green = INT2FIX((val>>8) & 0xFF) / 255; INT2FIX 613 src/scenegraph/svg_attributes.c col->blue = INT2FIX(val & 0xFF) / 255; INT2FIX 670 src/scenegraph/svg_attributes.c col->red = INT2FIX((val>>16) & 0xFF) / 255; INT2FIX 671 src/scenegraph/svg_attributes.c col->green = INT2FIX((val>>8) & 0xFF) / 255; INT2FIX 672 src/scenegraph/svg_attributes.c col->blue = INT2FIX(val & 0xFF) / 255; INT2FIX 674 src/scenegraph/svg_attributes.c col->red = INT2FIX((val>>8) & 0xF) / 15; INT2FIX 675 src/scenegraph/svg_attributes.c col->green = INT2FIX((val>>4) & 0xF) / 15; INT2FIX 676 src/scenegraph/svg_attributes.c col->blue = INT2FIX(val & 0xF) / 15; INT2FIX 791 src/scenegraph/xml_ns.c len->value = INT2FIX(100); INT2FIX 315 src/terminal/media_object.c back->backColor.red = INT2FIX(r)/255; INT2FIX 316 src/terminal/media_object.c back->backColor.green = INT2FIX(g)/255; INT2FIX 317 src/terminal/media_object.c back->backColor.blue = INT2FIX(b)/255; INT2FIX 584 src/terminal/scene.c evt.screen_rect.width = INT2FIX(w); INT2FIX 585 src/terminal/scene.c evt.screen_rect.height = INT2FIX(h); INT2FIX 1073 src/terminal/scene.c tr->scale.x = gf_divfix(INT2FIX(w), INT2FIX(v_w)); INT2FIX 1074 src/terminal/scene.c tr->scale.y = gf_divfix(INT2FIX(h), INT2FIX(v_h)); INT2FIX 1079 src/terminal/scene.c tr->translation.x = INT2FIX((s32) (w - v_w)) / 2; INT2FIX 1080 src/terminal/scene.c tr->translation.y = INT2FIX((s32) (h - v_h)) / 2; INT2FIX 1556 src/terminal/scene.c tw = INT2FIX( sw * a_odm->mo->srd_w) / (max_x - min_x); INT2FIX 1557 src/terminal/scene.c th = INT2FIX(sh * a_odm->mo->srd_h) / (max_y - min_y); INT2FIX 1564 src/terminal/scene.c tx = INT2FIX(a_odm->mo->srd_x * sw) / (max_x - min_x); INT2FIX 1565 src/terminal/scene.c tx = tx - INT2FIX(sw) / 2 + INT2FIX(tw) / 2; INT2FIX 1567 src/terminal/scene.c ty = INT2FIX(a_odm->mo->srd_y * sh) / (max_y - min_y); INT2FIX 1568 src/terminal/scene.c ty = INT2FIX(sh) / 2 - ty - INT2FIX(th) / 2; INT2FIX 1908 src/terminal/scene.c layer->size.x = INT2FIX(v_w); INT2FIX 1909 src/terminal/scene.c layer->size.y = INT2FIX(v_h); INT2FIX 1916 src/terminal/scene.c tr->translation.x = INT2FIX(w - v_w) / 2; INT2FIX 1917 src/terminal/scene.c tr->translation.y = INT2FIX(v_h - h) / 2; INT2FIX 1920 src/terminal/scene.c tr->translation.x = INT2FIX(w - v_w) / 2; INT2FIX 1921 src/terminal/scene.c tr->translation.y = INT2FIX(h - v_h) / 2; INT2FIX 1924 src/terminal/scene.c tr->translation.x = INT2FIX(v_w - w) / 2; INT2FIX 1925 src/terminal/scene.c tr->translation.y = INT2FIX(v_h - h) / 2; INT2FIX 1928 src/terminal/scene.c tr->translation.x = INT2FIX(v_w - w) / 2; INT2FIX 1929 src/terminal/scene.c tr->translation.y = INT2FIX(h - v_h) / 2; INT2FIX 2091 src/terminal/scene.c ((M_Sphere *)node)->radius = - INT2FIX(radius); INT2FIX 2143 src/terminal/scene.c devt.screen_rect.width = INT2FIX(width); INT2FIX 2144 src/terminal/scene.c devt.screen_rect.height = INT2FIX(height); INT2FIX 1478 src/terminal/terminal.c evt.media_event.remaining_time = INT2FIX(min_time) / 60; INT2FIX 2387 src/terminal/terminal.c term->speed_ratio = INT2FIX(4); INT2FIX 2390 src/terminal/terminal.c term->speed_ratio = INT2FIX(2); INT2FIX 2393 src/terminal/terminal.c term->speed_ratio = INT2FIX(1)/4; INT2FIX 1796 src/utils/color.c a = INT2FIX(*a_)/255; INT2FIX 1797 src/utils/color.c r = INT2FIX(*r_)/255; INT2FIX 1798 src/utils/color.c g = INT2FIX(*g_)/255; INT2FIX 1799 src/utils/color.c b = INT2FIX(*b_)/255; INT2FIX 1822 src/utils/color.c a = INT2FIX(col>>24); INT2FIX 1824 src/utils/color.c r = INT2FIX((col>>16)&0xFF); INT2FIX 1826 src/utils/color.c g = INT2FIX((col>>8)&0xFF); INT2FIX 1828 src/utils/color.c b = INT2FIX((col)&0xFF); INT2FIX 1846 src/utils/color.c *a = INT2FIX(GF_COL_A(col)) / 255; INT2FIX 1847 src/utils/color.c *r = INT2FIX(GF_COL_R(col)) / 255; INT2FIX 1848 src/utils/color.c *g = INT2FIX(GF_COL_G(col)) / 255; INT2FIX 1849 src/utils/color.c *b = INT2FIX(GF_COL_B(col)) / 255;