Displaying 1 result from an estimated 1 matches for "floor0_map_lazy_init".
2002 Sep 11
1
floor0.c and lsp.c optimisations
Hi,
I think that the introduction of the lsp_look lookup array
isn't ideal and found a better change that can be applied.
in floor0_map_lazy_init() you can replace
look->linearmap[W][j]=val;
by
look->linearmap[W][j]=vorbis_coslook(M_PI*val/look->ln);
and in vorbis_lsp_to_curve you then replace
float w=vorbis_coslook(wdel*k);
...
}while(map[i]==k);
by
float w=map[i];
...
}while(map[i]==w);
then get rid of the ln function para...