Home
last modified time | relevance | path

Searched refs:opb (Results 1 – 22 of 22) sorted by relevance

/external/libvorbis/lib/
Dinfo.c209 static int _vorbis_unpack_info(vorbis_info *vi,oggpack_buffer *opb){ in _vorbis_unpack_info() argument
213 vi->version=oggpack_read(opb,32); in _vorbis_unpack_info()
216 vi->channels=oggpack_read(opb,8); in _vorbis_unpack_info()
217 vi->rate=oggpack_read(opb,32); in _vorbis_unpack_info()
219 vi->bitrate_upper=oggpack_read(opb,32); in _vorbis_unpack_info()
220 vi->bitrate_nominal=oggpack_read(opb,32); in _vorbis_unpack_info()
221 vi->bitrate_lower=oggpack_read(opb,32); in _vorbis_unpack_info()
223 ci->blocksizes[0]=1<<oggpack_read(opb,4); in _vorbis_unpack_info()
224 ci->blocksizes[1]=1<<oggpack_read(opb,4); in _vorbis_unpack_info()
232 if(oggpack_read(opb,1)!=1)goto err_out; /* EOP check */ in _vorbis_unpack_info()
[all …]
Dcodebook.c30 int vorbis_staticbook_pack(const static_codebook *c,oggpack_buffer *opb){ in vorbis_staticbook_pack() argument
35 oggpack_write(opb,0x564342,24); in vorbis_staticbook_pack()
36 oggpack_write(opb,c->dim,16); in vorbis_staticbook_pack()
37 oggpack_write(opb,c->entries,24); in vorbis_staticbook_pack()
52 oggpack_write(opb,1,1); /* ordered */ in vorbis_staticbook_pack()
53 oggpack_write(opb,c->lengthlist[0]-1,5); /* 1 to 32 */ in vorbis_staticbook_pack()
60 oggpack_write(opb,i-count,_ilog(c->entries-count)); in vorbis_staticbook_pack()
65 oggpack_write(opb,i-count,_ilog(c->entries-count)); in vorbis_staticbook_pack()
70 oggpack_write(opb,0,1); /* unordered */ in vorbis_staticbook_pack()
79 oggpack_write(opb,0,1); /* no unused entries */ in vorbis_staticbook_pack()
[all …]
Dsynthesis.c31 oggpack_buffer *opb=vb ? &vb->opb : 0; in vorbis_synthesis() local
34 if (!vd || !b || !vi || !ci || !opb) { in vorbis_synthesis()
40 oggpack_readinit(opb,op->packet,op->bytes); in vorbis_synthesis()
43 if(oggpack_read(opb,1)!=0){ in vorbis_synthesis()
49 mode=oggpack_read(opb,b->modebits); in vorbis_synthesis()
64 vb->lW=oggpack_read(opb,1); in vorbis_synthesis()
65 vb->nW=oggpack_read(opb,1); in vorbis_synthesis()
99 oggpack_buffer *opb=&vb->opb; in vorbis_synthesis_trackonly() local
104 oggpack_readinit(opb,op->packet,op->bytes); in vorbis_synthesis_trackonly()
107 if(oggpack_read(opb,1)!=0){ in vorbis_synthesis_trackonly()
[all …]
Dmapping0.c59 oggpack_buffer *opb){ in mapping0_pack() argument
71 oggpack_write(opb,1,1); in mapping0_pack()
72 oggpack_write(opb,info->submaps-1,4); in mapping0_pack()
74 oggpack_write(opb,0,1); in mapping0_pack()
77 oggpack_write(opb,1,1); in mapping0_pack()
78 oggpack_write(opb,info->coupling_steps-1,8); in mapping0_pack()
81 oggpack_write(opb,info->coupling_mag[i],ilog(vi->channels)); in mapping0_pack()
82 oggpack_write(opb,info->coupling_ang[i],ilog(vi->channels)); in mapping0_pack()
85 oggpack_write(opb,0,1); in mapping0_pack()
87 oggpack_write(opb,0,2); /* 2,3:reserved */ in mapping0_pack()
[all …]
Dfloor0.c74 static vorbis_info_floor *floor0_unpack (vorbis_info *vi,oggpack_buffer *opb){ in floor0_unpack() argument
79 info->order=oggpack_read(opb,8); in floor0_unpack()
80 info->rate=oggpack_read(opb,16); in floor0_unpack()
81 info->barkmap=oggpack_read(opb,16); in floor0_unpack()
82 info->ampbits=oggpack_read(opb,6); in floor0_unpack()
83 info->ampdB=oggpack_read(opb,8); in floor0_unpack()
84 info->numbooks=oggpack_read(opb,4)+1; in floor0_unpack()
92 info->books[j]=oggpack_read(opb,8); in floor0_unpack()
162 int ampraw=oggpack_read(&vb->opb,info->ampbits); in floor0_inverse1()
166 int booknum=oggpack_read(&vb->opb,_ilog(info->numbooks)); in floor0_inverse1()
[all …]
Dres0.c174 void res0_pack(vorbis_info_residue *vr,oggpack_buffer *opb){ in res0_pack() argument
177 oggpack_write(opb,info->begin,24); in res0_pack()
178 oggpack_write(opb,info->end,24); in res0_pack()
180 oggpack_write(opb,info->grouping-1,24); /* residue vectors to group and in res0_pack()
182 oggpack_write(opb,info->partitions-1,6); /* possible partition choices */ in res0_pack()
183 oggpack_write(opb,info->groupbook,8); /* group huffman book */ in res0_pack()
191 oggpack_write(opb,info->secondstages[j],3); in res0_pack()
192 oggpack_write(opb,1,1); in res0_pack()
193 oggpack_write(opb,info->secondstages[j]>>3,5); in res0_pack()
195 oggpack_write(opb,info->secondstages[j],4); /* trailing zero */ in res0_pack()
[all …]
Dfloor1.c94 static void floor1_pack (vorbis_info_floor *i,oggpack_buffer *opb){ in floor1_pack() argument
103 oggpack_write(opb,info->partitions,5); /* only 0 to 31 legal */ in floor1_pack()
105 oggpack_write(opb,info->partitionclass[j],4); /* only 0 to 15 legal */ in floor1_pack()
111 oggpack_write(opb,info->class_dim[j]-1,3); /* 1 to 8 */ in floor1_pack()
112 oggpack_write(opb,info->class_subs[j],2); /* 0 to 3 */ in floor1_pack()
113 if(info->class_subs[j])oggpack_write(opb,info->class_book[j],8); in floor1_pack()
115 oggpack_write(opb,info->class_subbook[j][k]+1,8); in floor1_pack()
119 oggpack_write(opb,info->mult-1,2); /* only 1,2,3,4 legal now */ in floor1_pack()
120 oggpack_write(opb,ilog2(maxposit),4); in floor1_pack()
126 oggpack_write(opb,info->postlist[k+2],rangebits); in floor1_pack()
[all …]
Danalysis.c56 op->packet=oggpack_get_buffer(&vb->opb); in vorbis_analysis()
57 op->bytes=oggpack_bytes(&vb->opb); in vorbis_analysis()
Dcodec_internal.h164 extern int floor1_encode(oggpack_buffer *opb,vorbis_block *vb,
Dblock.c101 vbi->packetblob[i]=&vb->opb; in vorbis_block_init()
/external/tremolo/Tremolo/
Dtreminfo.c179 int _vorbis_unpack_info(vorbis_info *vi,oggpack_buffer *opb){ in _vorbis_unpack_info() argument
183 vi->version=oggpack_read(opb,32); in _vorbis_unpack_info()
186 vi->channels=oggpack_read(opb,8); in _vorbis_unpack_info()
187 vi->rate=oggpack_read(opb,32); in _vorbis_unpack_info()
189 vi->bitrate_upper=oggpack_read(opb,32); in _vorbis_unpack_info()
190 vi->bitrate_nominal=oggpack_read(opb,32); in _vorbis_unpack_info()
191 vi->bitrate_lower=oggpack_read(opb,32); in _vorbis_unpack_info()
193 ci->blocksizes[0]=1<<oggpack_read(opb,4); in _vorbis_unpack_info()
194 ci->blocksizes[1]=1<<oggpack_read(opb,4); in _vorbis_unpack_info()
208 if(oggpack_read(opb,1)!=1)goto err_out; /* EOP check */ in _vorbis_unpack_info()
[all …]
Dres012.c59 vorbis_info *vi,oggpack_buffer *opb){ in res_unpack() argument
64 info->type=oggpack_read(opb,16); in res_unpack()
66 info->begin=oggpack_read(opb,24); in res_unpack()
67 info->end=oggpack_read(opb,24); in res_unpack()
68 info->grouping=oggpack_read(opb,24)+1; in res_unpack()
69 info->partitions=(char)(oggpack_read(opb,6)+1); in res_unpack()
70 info->groupbook=(unsigned char)oggpack_read(opb,8); in res_unpack()
77 int cascade=oggpack_read(opb,3); in res_unpack()
78 if(oggpack_read(opb,1)) in res_unpack()
79 cascade|=(oggpack_read(opb,5)<<3); in res_unpack()
[all …]
Dcodebook.c62 codebook *b,oggpack_buffer *opb,int maptype){ in decpack() argument
81 ret|=oggpack_read(opb,b->q_bits)<<(b->q_bits*j); in decpack()
147 codebook *b, oggpack_buffer *opb,int maptype){ in _make_words() argument
192 r[chase*2+bit]= decpack(i,count++,quantvals,b,opb,maptype) | in _make_words()
237 oggpack_buffer *opb,int maptype){ in _make_decode_table() argument
254 s->dec_table,quantvals,s,opb,maptype))return 1; in _make_decode_table()
264 if(_make_words(lengthlist,s->entries,work,quantvals,s,opb,maptype)) goto error_out; in _make_decode_table()
405 int vorbis_book_unpack(oggpack_buffer *opb,codebook *s){ in vorbis_book_unpack() argument
414 if(oggpack_read(opb,24)!=0x564342)goto _eofout; in vorbis_book_unpack()
417 s->dim=oggpack_read(opb,16); in vorbis_book_unpack()
[all …]
Dmapping0.c71 oggpack_buffer *opb){ in mapping_info_unpack() argument
76 if(oggpack_read(opb,1)) in mapping_info_unpack()
77 info->submaps=oggpack_read(opb,4)+1; in mapping_info_unpack()
81 if(oggpack_read(opb,1)){ in mapping_info_unpack()
82 info->coupling_steps=oggpack_read(opb,8)+1; in mapping_info_unpack()
87 int testM=info->coupling[i].mag=(unsigned char)(oggpack_read(opb,ilog(vi->channels))); in mapping_info_unpack()
88 int testA=info->coupling[i].ang=(unsigned char)(oggpack_read(opb,ilog(vi->channels))); in mapping_info_unpack()
99 if(oggpack_read(opb,2)>0)goto err_out; /* 2,3:reserved */ in mapping_info_unpack()
104 info->chmuxlist[i]=(unsigned char)(oggpack_read(opb,4)); in mapping_info_unpack()
111 int temp=oggpack_read(opb,8); in mapping_info_unpack()
[all …]
Dfloor1.c107 vorbis_info_floor *floor1_info_unpack (vorbis_info *vi,oggpack_buffer *opb){ in floor1_info_unpack() argument
113 info->partitions=oggpack_read(opb,5); /* only 0 to 31 legal */ in floor1_info_unpack()
117 info->partitionclass[j]=(char)oggpack_read(opb,4); /* only 0 to 15 legal */ in floor1_info_unpack()
125 info->klass[j].class_dim=(char)oggpack_read(opb,3)+1; /* 1 to 8 */ in floor1_info_unpack()
126 info->klass[j].class_subs=(char)oggpack_read(opb,2); /* 0,1,2,3 bits */ in floor1_info_unpack()
127 if(oggpack_eop(opb)<0) goto err_out; in floor1_info_unpack()
129 info->klass[j].class_book=(unsigned char)oggpack_read(opb,8); in floor1_info_unpack()
134 info->klass[j].class_subbook[k]=(unsigned char)(oggpack_read(opb,8)-1); in floor1_info_unpack()
141 info->mult=oggpack_read(opb,2)+1; /* only 1,2,3,4 legal now */ in floor1_info_unpack()
142 rangebits=oggpack_read(opb,4); in floor1_info_unpack()
[all …]
Dfloor0.c366 vorbis_info_floor *floor0_info_unpack (vorbis_info *vi,oggpack_buffer *opb){ in floor0_info_unpack() argument
371 info->order=oggpack_read(opb,8); in floor0_info_unpack()
372 info->rate=oggpack_read(opb,16); in floor0_info_unpack()
373 info->barkmap=oggpack_read(opb,16); in floor0_info_unpack()
374 info->ampbits=oggpack_read(opb,6); in floor0_info_unpack()
375 info->ampdB=oggpack_read(opb,8); in floor0_info_unpack()
376 info->numbooks=oggpack_read(opb,4)+1; in floor0_info_unpack()
383 info->books[j]=(char)oggpack_read(opb,8); in floor0_info_unpack()
387 if(oggpack_eop(opb))goto err_out; in floor0_info_unpack()
405 int ampraw=oggpack_read(&vd->opb,info->ampbits); in floor0_inverse1()
[all …]
Ddsp.c173 oggpack_buffer opb; in vorbis_packet_blocksize() local
178 oggpack_readinit(&opb,op->packet); in vorbis_packet_blocksize()
181 if(oggpack_read(&opb,1)!=0){ in vorbis_packet_blocksize()
192 mode=oggpack_read(&opb,modebits); in vorbis_packet_blocksize()
213 oggpack_readinit(&vd->opb,op->packet); in vorbis_dsp_synthesis()
216 if(oggpack_read(&vd->opb,1)!=0){ in vorbis_dsp_synthesis()
222 mode=oggpack_read(&vd->opb,ilog(ci->modes)); in vorbis_dsp_synthesis()
233 oggpack_read(&vd->opb,1); in vorbis_dsp_synthesis()
234 temp=oggpack_read(&vd->opb,1); in vorbis_dsp_synthesis()
Dcodec_internal.h60 oggpack_buffer opb; member
149 vorbis_info *vi,oggpack_buffer *opb);
/external/llvm/test/CodeGen/ARM/
D2008-02-04-LocalRegAllocBug.ll10 define i32 @vorbis_staticbook_pack(%struct.static_codebook* %c, %struct.oggpack_buffer* %opb) {
/external/libvorbis/include/vorbis/
Dcodec.h91 oggpack_buffer opb; member
/external/eigen/blas/
Dlevel3_impl.h12 int EIGEN_BLAS_FUNC(gemm)(char *opa, char *opb, int *m, int *n, int *k, RealScalar *palpha, RealSca… in EIGEN_BLAS_FUNC()
43 else if(OP(*opb)==INVALID) info = 2; in EIGEN_BLAS_FUNC()
48 else if(*ldb<std::max(1,(OP(*opb)==NOTR)?*k:*n)) info = 10; in EIGEN_BLAS_FUNC()
61 int code = OP(*opa) | (OP(*opb) << 2); in EIGEN_BLAS_FUNC()
/external/tcpdump/
Dprint-forces.c316 int opb = 1 << (op - 1); in op_valid() local
320 if (opb & mask) in op_valid()