Home
last modified time | relevance | path

Searched refs:oggpack_read (Results 1 – 9 of 9) sorted by relevance

/external/tremor/Tremor/
Dinfo.c34 *buf++=oggpack_read(o,8); in _v_readstring()
163 vi->version=oggpack_read(opb,32); in _vorbis_unpack_info()
166 vi->channels=oggpack_read(opb,8); in _vorbis_unpack_info()
167 vi->rate=oggpack_read(opb,32); in _vorbis_unpack_info()
169 vi->bitrate_upper=oggpack_read(opb,32); in _vorbis_unpack_info()
170 vi->bitrate_nominal=oggpack_read(opb,32); in _vorbis_unpack_info()
171 vi->bitrate_lower=oggpack_read(opb,32); in _vorbis_unpack_info()
173 ci->blocksizes[0]=1<<oggpack_read(opb,4); in _vorbis_unpack_info()
174 ci->blocksizes[1]=1<<oggpack_read(opb,4); in _vorbis_unpack_info()
188 if(oggpack_read(opb,1)!=1)goto err_out; /* EOP check */ in _vorbis_unpack_info()
[all …]
Dmapping0.c56 if(oggpack_read(opb,1)) in mapping_info_unpack()
57 info->submaps=oggpack_read(opb,4)+1; in mapping_info_unpack()
61 if(oggpack_read(opb,1)){ in mapping_info_unpack()
62 info->coupling_steps=oggpack_read(opb,8)+1; in mapping_info_unpack()
67 int testM=info->coupling[i].mag=oggpack_read(opb,ilog(vi->channels)); in mapping_info_unpack()
68 int testA=info->coupling[i].ang=oggpack_read(opb,ilog(vi->channels)); in mapping_info_unpack()
79 if(oggpack_read(opb,2)>0)goto err_out; /* 2,3:reserved */ in mapping_info_unpack()
84 info->chmuxlist[i]=oggpack_read(opb,4); in mapping_info_unpack()
91 int temp=oggpack_read(opb,8); in mapping_info_unpack()
92 info->submaplist[i].floor=oggpack_read(opb,8); in mapping_info_unpack()
[all …]
Dres012.c44 info->type=oggpack_read(opb,16); in res_unpack()
46 info->begin=oggpack_read(opb,24); in res_unpack()
47 info->end=oggpack_read(opb,24); in res_unpack()
48 info->grouping=oggpack_read(opb,24)+1; in res_unpack()
49 info->partitions=oggpack_read(opb,6)+1; in res_unpack()
50 info->groupbook=oggpack_read(opb,8); in res_unpack()
57 int cascade=oggpack_read(opb,3); in res_unpack()
58 if(oggpack_read(opb,1)) in res_unpack()
59 cascade|=(oggpack_read(opb,5)<<3); in res_unpack()
66 unsigned char book=oggpack_read(opb,8); in res_unpack()
Dcodebook.c59 ret|=oggpack_read(opb,b->q_bits)<<(b->q_bits*j); in decpack()
369 if(oggpack_read(opb,24)!=0x564342)goto _eofout; in vorbis_book_unpack()
372 s->dim=oggpack_read(opb,16); in vorbis_book_unpack()
373 s->entries=oggpack_read(opb,24); in vorbis_book_unpack()
380 switch((int)oggpack_read(opb,1)){ in vorbis_book_unpack()
387 if(oggpack_read(opb,1)){ in vorbis_book_unpack()
391 if(oggpack_read(opb,1)){ in vorbis_book_unpack()
392 long num=oggpack_read(opb,5); in vorbis_book_unpack()
404 long num=oggpack_read(opb,5); in vorbis_book_unpack()
415 long length=oggpack_read(opb,5)+1; in vorbis_book_unpack()
[all …]
Dfloor1.c93 info->partitions=oggpack_read(opb,5); /* only 0 to 31 legal */ in floor1_info_unpack()
97 info->partitionclass[j]=oggpack_read(opb,4); /* only 0 to 15 legal */ in floor1_info_unpack()
105 info->class[j].class_dim=oggpack_read(opb,3)+1; /* 1 to 8 */ in floor1_info_unpack()
106 info->class[j].class_subs=oggpack_read(opb,2); /* 0,1,2,3 bits */ in floor1_info_unpack()
109 info->class[j].class_book=oggpack_read(opb,8); in floor1_info_unpack()
114 info->class[j].class_subbook[k]=oggpack_read(opb,8)-1; in floor1_info_unpack()
121 info->mult=oggpack_read(opb,2)+1; /* only 1,2,3,4 legal now */ in floor1_info_unpack()
122 rangebits=oggpack_read(opb,4); in floor1_info_unpack()
139 int t=info->postlist[k+2]=oggpack_read(opb,rangebits); in floor1_info_unpack()
243 if(oggpack_read(&vd->opb,1)==1){ in floor1_inverse1()
[all …]
Dfloor0.c351 info->order=oggpack_read(opb,8); in floor0_info_unpack()
352 info->rate=oggpack_read(opb,16); in floor0_info_unpack()
353 info->barkmap=oggpack_read(opb,16); in floor0_info_unpack()
354 info->ampbits=oggpack_read(opb,6); in floor0_info_unpack()
355 info->ampdB=oggpack_read(opb,8); in floor0_info_unpack()
356 info->numbooks=oggpack_read(opb,4)+1; in floor0_info_unpack()
363 info->books[j]=oggpack_read(opb,8); in floor0_info_unpack()
385 int ampraw=oggpack_read(&vd->opb,info->ampbits); in floor0_inverse1()
389 int booknum=oggpack_read(&vd->opb,_ilog(info->numbooks)); in floor0_inverse1()
Dbitwise.c162 long oggpack_read(oggpack_buffer *b,int bits){ in oggpack_read() function
242 if((test=oggpack_read(&r,tbit))==0xffffffff){ in cliptest()
270 if(oggpack_read(&o,leftover)==-1) in _end_verify()
276 if(oggpack_read(&o,1)!=-1) in _end_verify()
283 if(oggpack_read(&o,i)!=-1) in _end_verify()
466 if(oggpack_read(&r,1)<0){ in main()
472 oggpack_read(&r,1)!=-1){ in main()
484 if((test=oggpack_read(&r,30))==0xffffffffUL || in main()
485 (test=oggpack_read(&r,16))==0xffffffffUL){ in main()
606 oggpack_read(&o,bitoffset); in main()
[all …]
Ddsp.c153 if(oggpack_read(&opb,1)!=0){ in vorbis_packet_blocksize()
164 mode=oggpack_read(&opb,modebits); in vorbis_packet_blocksize()
188 if(oggpack_read(&vd->opb,1)!=0){ in vorbis_dsp_synthesis()
194 mode=oggpack_read(&vd->opb,ilog(ci->modes)); in vorbis_dsp_synthesis()
205 oggpack_read(&vd->opb,1); in vorbis_dsp_synthesis()
206 temp=oggpack_read(&vd->opb,1); in vorbis_dsp_synthesis()
Dogg.h146 extern long oggpack_read(oggpack_buffer *b,int bits);