Lines Matching refs:info
51 vorbis_info_floor0 *info=(vorbis_info_floor0 *)i;
52 if(info){
53 memset(info,0,sizeof(*info));
54 _ogg_free(info);
78 vorbis_info_floor0 *info=_ogg_malloc(sizeof(*info));
79 info->order=oggpack_read(opb,8);
80 info->rate=oggpack_read(opb,16);
81 info->barkmap=oggpack_read(opb,16);
82 info->ampbits=oggpack_read(opb,6);
83 info->ampdB=oggpack_read(opb,8);
84 info->numbooks=oggpack_read(opb,4)+1;
86 if(info->order<1)goto err_out;
87 if(info->rate<1)goto err_out;
88 if(info->barkmap<1)goto err_out;
89 if(info->numbooks<1)goto err_out;
91 for(j=0;j<info->numbooks;j++){
92 info->books[j]=oggpack_read(opb,8);
93 if(info->books[j]<0 || info->books[j]>=ci->books)goto err_out;
95 return(info);
98 floor0_free_info(info);
117 vorbis_info_floor0 *info=(vorbis_info_floor0 *)infoX;
124 float scale=look->ln/toBARK(info->rate/2.f);
134 int val=floor( toBARK((info->rate/2.f)/n*j)
146 vorbis_info_floor0 *info=(vorbis_info_floor0 *)i;
148 look->m=info->order;
149 look->ln=info->barkmap;
150 look->vi=info;
159 vorbis_info_floor0 *info=look->vi;
162 int ampraw=oggpack_read(&vb->opb,info->ampbits);
164 long maxval=(1<<info->ampbits)-1;
165 float amp=(float)ampraw/maxval*info->ampdB;
166 int booknum=oggpack_read(&vb->opb,_ilog(info->numbooks));
168 if(booknum!=-1 && booknum<info->numbooks){ /* be paranoid */
170 codebook *b=ci->fullbooks+info->books[booknum];
196 vorbis_info_floor0 *info=look->vi;
198 floor0_map_lazy_init(vb,info,look);
209 lsp,look->m,amp,(float)info->ampdB);