Home | History | Annotate | Download | only in lib

Lines Matching refs:look

59   vorbis_look_floor0 *look=(vorbis_look_floor0 *)i;
60 if(look){
62 if(look->linearmap){
64 if(look->linearmap[0])_ogg_free(look->linearmap[0]);
65 if(look->linearmap[1])_ogg_free(look->linearmap[1]);
67 _ogg_free(look->linearmap);
69 memset(look,0,sizeof(*look));
70 _ogg_free(look);
112 vorbis_look_floor0 *look){
113 if(!look->linearmap[vb->W]){
124 float scale=look->ln/toBARK(info->rate/2.f);
132 look->linearmap[W]=_ogg_malloc((n+1)*sizeof(**look->linearmap));
136 if(val>=look->ln)val=look->ln-1; /* guard against the approximation */
137 look->linearmap[W][j]=val;
139 look->linearmap[W][j]=-1;
140 look->n[W]=n;
147 vorbis_look_floor0 *look=_ogg_calloc(1,sizeof(*look));
148 look->m=info->order;
149 look->ln=info->barkmap;
150 look->vi=info;
152 look->linearmap=_ogg_calloc(2,sizeof(*look->linearmap));
154 return look;
158 vorbis_look_floor0 *look=(vorbis_look_floor0 *)i;
159 vorbis_info_floor0 *info=look->vi;
176 float *lsp=_vorbis_block_alloc(vb,sizeof(*lsp)*(look->m+b->dim+1));
178 for(j=0;j<look->m;j+=b->dim)
180 for(j=0;j<look->m;){
185 lsp[look->m]=amp;
195 vorbis_look_floor0 *look=(vorbis_look_floor0 *)i;
196 vorbis_info_floor0 *info=look->vi;
198 floor0_map_lazy_init(vb,info,look);
202 float amp=lsp[look->m];
206 look->linearmap[vb->W],
207 look->n[vb->W],
208 look->ln,
209 lsp,look->m,amp,(float)info->ampdB);
212 memset(out,0,sizeof(*out)*look->n[vb->W]);