-
Notifications
You must be signed in to change notification settings - Fork 0
/
W
executable file
·186 lines (186 loc) · 9.97 KB
/
W
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
lib/floor1.c: codec_setup_info *ci=vb->vd->vi->codec_setup;
lib/floor1.c: vb->pcmend/2,posts-2,class);
lib/floor1.c: vb->pcmend/2,posts-2,class,bookas[k]);
lib/floor1.c: for(j=hx;j<vb->pcmend/2;j++) ilogmask[j]=ly; /* be certain */
lib/floor1.c: memset(ilogmask,0,vb->pcmend/2*sizeof(*ilogmask));
lib/floor1.c: codec_setup_info *ci=vb->vd->vi->codec_setup;
lib/floor1.c: if(oggpack_read(&vb->opb,1)==1){
lib/floor1.c: fit_value[0]=oggpack_read(&vb->opb,ilog(look->quant_q-1));
lib/floor1.c: fit_value[1]=oggpack_read(&vb->opb,ilog(look->quant_q-1));
lib/floor1.c: cval=vorbis_book_decode(books+info->class_book[class],&vb->opb);
lib/floor1.c: if((fit_value[j+k]=vorbis_book_decode(books+book,&vb->opb))==-1)
lib/floor1.c: codec_setup_info *ci=vb->vd->vi->codec_setup;
lib/floor1.c: int n=ci->blocksizes[vb->W]/2;
lib/block.c: vb->vd=v;
lib/block.c: vb->localalloc=0;
lib/block.c: vb->localstore=NULL;
lib/block.c: vb->internal=_ogg_calloc(1,sizeof(vorbis_block_internal));
lib/block.c: vbi->packetblob[i]=&vb->opb;
lib/block.c: if(bytes+vb->localtop>vb->localalloc){
lib/block.c: if(vb->localstore){
lib/block.c: vb->totaluse+=vb->localtop;
lib/block.c: link->next=vb->reap;
lib/block.c: link->ptr=vb->localstore;
lib/block.c: vb->reap=link;
lib/block.c: vb->localalloc=bytes;
lib/block.c: vb->localstore=_ogg_malloc(vb->localalloc);
lib/block.c: vb->localtop=0;
lib/block.c: void *ret=(void *)(((char *)vb->localstore)+vb->localtop);
lib/block.c: vb->localtop+=bytes;
lib/block.c: struct alloc_chain *reap=vb->reap;
lib/block.c: if(vb->totaluse){
lib/block.c: vb->localstore=_ogg_realloc(vb->localstore,vb->totaluse+vb->localalloc);
lib/block.c: vb->localalloc+=vb->totaluse;
lib/block.c: vb->totaluse=0;
lib/block.c: vb->localtop=0;
lib/block.c: vb->reap=NULL;
lib/block.c: vorbis_block_internal *vbi=vb->internal;
lib/block.c: if(vb->localstore)_ogg_free(vb->localstore);
lib/block.c: vorbis_block_internal *vbi=(vorbis_block_internal *)vb->internal;
lib/block.c: vb->lW=v->lW;
lib/block.c: vb->W=v->W;
lib/block.c: vb->nW=v->nW;
lib/block.c: vb->vd=v;
lib/block.c: vb->sequence=v->sequence++;
lib/block.c: vb->granulepos=v->granulepos;
lib/block.c: vb->pcmend=ci->blocksizes[v->W];
lib/block.c: vb->pcm=_vorbis_block_alloc(vb,sizeof(*vb->pcm)*vi->channels);
lib/block.c: _vorbis_block_alloc(vb,(vb->pcmend+beginW)*sizeof(*vbi->pcmdelay[i]));
lib/block.c: memcpy(vbi->pcmdelay[i],v->pcm[i],(vb->pcmend+beginW)*sizeof(*vbi->pcmdelay[i]));
lib/block.c: vb->pcm[i]=vbi->pcmdelay[i]+beginW;
lib/block.c: vb->pcm[i]=_vorbis_block_alloc(vb,vb->pcmend*sizeof(*vb->pcm[i]));
lib/block.c: memcpy(vb->pcm[i],v->pcm[i]+beginW,ci->blocksizes[v->W]*sizeof(*vb->pcm[i]));
lib/block.c: vb->eofflag=1;
lib/block.c: v->W=vb->W;
lib/block.c: (v->sequence+1 != vb->sequence)){
lib/block.c: v->sequence=vb->sequence;
lib/block.c: if(vb->pcm){ /* no pcm to process if vorbis_synthesis_trackonly
lib/block.c: v->glue_bits+=vb->glue_bits;
lib/block.c: v->time_bits+=vb->time_bits;
lib/block.c: v->floor_bits+=vb->floor_bits;
lib/block.c: v->res_bits+=vb->res_bits;
lib/block.c: float *p=vb->pcm[j];
lib/block.c: float *p=vb->pcm[j];
lib/block.c: float *p=vb->pcm[j]+n1/2-n0/2;
lib/block.c: float *p=vb->pcm[j];
lib/block.c: float *p=vb->pcm[j]+n;
lib/block.c: return will be past the vb->granulepos.
lib/block.c: if(vb->granulepos!=-1){ /* only set if we have a position to set to */
lib/block.c: v->granulepos=vb->granulepos;
lib/block.c: if(vb->eofflag){
lib/block.c: if(vb->granulepos!=-1 && v->granulepos!=vb->granulepos){
lib/block.c: if(v->granulepos>vb->granulepos){
lib/block.c: long extra=v->granulepos-vb->granulepos;
lib/block.c: if(vb->eofflag){
lib/block.c: v->granulepos=vb->granulepos;
lib/block.c: if(vb->eofflag)v->eofflag=1;
lib/res0.c: fprintf(stderr,"%d :: ",vb->mode);
lib/res0.c: int max=vb->pcmend>>1;
lib/res0.c: int temp=vorbis_book_decode(look->phrasebook,&vb->opb);
lib/res0.c: if(decodepart(stagebook,in[j]+offset,&vb->opb,
lib/res0.c: int i,j,used=0,n=vb->pcmend/2;
lib/res0.c: int i,j,used=0,n=vb->pcmend/2;
lib/res0.c: long i,j,k,n=vb->pcmend/2,used=0;
lib/res0.c: int max=(vb->pcmend*ch)>>1;
lib/res0.c: int temp=vorbis_book_decode(look->phrasebook,&vb->opb);
lib/res0.c: &vb->opb,samples_per_partition)==-1)
lib/synthesis.c: vorbis_dsp_state *vd=vb->vd;
lib/synthesis.c: oggpack_buffer *opb=&vb->opb;
lib/synthesis.c: vb->mode=mode;
lib/synthesis.c: vb->W=ci->mode_param[mode]->blockflag;
lib/synthesis.c: if(vb->W){
lib/synthesis.c: vb->lW=oggpack_read(opb,1);
lib/synthesis.c: vb->nW=oggpack_read(opb,1);
lib/synthesis.c: if(vb->nW==-1) return(OV_EBADPACKET);
lib/synthesis.c: vb->lW=0;
lib/synthesis.c: vb->nW=0;
lib/synthesis.c: vb->granulepos=op->granulepos;
lib/synthesis.c: vb->sequence=op->packetno;
lib/synthesis.c: vb->eofflag=op->e_o_s;
lib/synthesis.c: vb->pcmend=ci->blocksizes[vb->W];
lib/synthesis.c: vb->pcm=_vorbis_block_alloc(vb,sizeof(*vb->pcm)*vi->channels);
lib/synthesis.c: vb->pcm[i]=_vorbis_block_alloc(vb,vb->pcmend*sizeof(*vb->pcm[i]));
lib/synthesis.c: vorbis_dsp_state *vd=vb->vd;
lib/synthesis.c: oggpack_buffer *opb=&vb->opb;
lib/synthesis.c: vb->mode=mode;
lib/synthesis.c: vb->W=ci->mode_param[mode]->blockflag;
lib/synthesis.c: if(vb->W){
lib/synthesis.c: vb->lW=oggpack_read(opb,1);
lib/synthesis.c: vb->nW=oggpack_read(opb,1);
lib/synthesis.c: if(vb->nW==-1) return(OV_EBADPACKET);
lib/synthesis.c: vb->lW=0;
lib/synthesis.c: vb->nW=0;
lib/synthesis.c: vb->granulepos=op->granulepos;
lib/synthesis.c: vb->sequence=op->packetno;
lib/synthesis.c: vb->eofflag=op->e_o_s;
lib/synthesis.c: vb->pcmend=0;
lib/synthesis.c: vb->pcm=NULL;
lib/floor0.c: if(!look->linearmap[vb->W]){
lib/floor0.c: vorbis_dsp_state *vd=vb->vd;
lib/floor0.c: int W=vb->W;
lib/floor0.c: int ampraw=oggpack_read(&vb->opb,info->ampbits);
lib/floor0.c: int booknum=oggpack_read(&vb->opb,_ilog(info->numbooks));
lib/floor0.c: codec_setup_info *ci=vb->vd->vi->codec_setup;
lib/floor0.c: if(vorbis_book_decodev_set(b,lsp+j,&vb->opb,b->dim)==-1)goto eop;
lib/floor0.c: look->linearmap[vb->W],
lib/floor0.c: look->n[vb->W],
lib/floor0.c: memset(out,0,sizeof(*out)*look->n[vb->W]);
lib/bitrate.c: vorbis_dsp_state *vd=vb->vd;
lib/bitrate.c: vorbis_block_internal *vbi=vb->internal;
lib/bitrate.c: vorbis_dsp_state *vd=vb->vd;
lib/bitrate.c: long min_target_bits=(vb->W?bm->min_bitsper*bm->short_per_long:bm->min_bitsper);
lib/bitrate.c: long max_target_bits=(vb->W?bm->max_bitsper*bm->short_per_long:bm->max_bitsper);
lib/bitrate.c: int samples=ci->blocksizes[vb->W]>>1;
lib/bitrate.c: long avg_target_bits=(vb->W?bm->avg_bitsper*bm->short_per_long:bm->avg_bitsper);
lib/bitrate.c: long avg_target_bits=(vb->W?bm->avg_bitsper*bm->short_per_long:bm->avg_bitsper);
lib/bitrate.c: vorbis_block_internal *vbi=vb->internal;
lib/bitrate.c: op->e_o_s=vb->eofflag;
lib/bitrate.c: op->granulepos=vb->granulepos;
lib/bitrate.c: op->packetno=vb->sequence; /* for sake of completeness */
lib/mapping0.c: vorbis_dsp_state *vd=vb->vd;
lib/mapping0.c: private_state *b=vb->vd->backend_state;
lib/mapping0.c: vorbis_block_internal *vbi=(vorbis_block_internal *)vb->internal;
lib/mapping0.c: int n=vb->pcmend;
lib/mapping0.c: int modenumber=vb->W;
lib/mapping0.c: b->psy+blocktype+(vb->W?2:0);
lib/mapping0.c: vb->mode=modenumber;
lib/mapping0.c: float *pcm =vb->pcm[i];
lib/mapping0.c: _vorbis_apply_window(pcm,b->window,ci->blocksizes,vb->lW,vb->W,vb->nW);
lib/mapping0.c: mdct_forward(b->transform[vb->W][0],pcm,gmdct[i]);
lib/mapping0.c: drft_forward(&b->fft_look[vb->W],pcm);
lib/mapping0.c: float *logfft =vb->pcm[i];
lib/mapping0.c: vb->mode=modenumber;
lib/mapping0.c: if(vb->W){
lib/mapping0.c: oggpack_write(opb,vb->lW,1);
lib/mapping0.c: oggpack_write(opb,vb->nW,1);
lib/mapping0.c: float *res =vb->pcm[i];
lib/mapping0.c: ci->psy_g_param.sliding_lowpass[vb->W][k]);
lib/mapping0.c:/* /\* vb->pcm[i][smp] += 1.f; *\/ */
lib/mapping0.c:/* /\* fprintf(stderr, "vb->pcm[%d][%d] = %f\n", i, smp, rint(vb->pcm[i][smp])); *\/ */
lib/mapping0.c: vb->pcm,
lib/mapping0.c: ci->psy_g_param.sliding_lowpass[vb->W][k]);
lib/mapping0.c:/* fprintf(stderr, "fin->vb->pcm[%d][%d] = %f\n", chn, smp, vb->pcm[chn][smp]); */
lib/mapping0.c: res_bundle[ch_in_bundle]=vb->pcm[j];
lib/mapping0.c: couple_bundle[ch_in_bundle++]=vb->pcm[j]+n/2;
lib/mapping0.c: couple_bundle[ch_in_bundle++]=vb->pcm[j]+n/2;
lib/mapping0.c: total+=ci->blocksizes[vb->W]/4+ci->blocksizes[vb->nW]/4;
lib/mapping0.c: vorbis_dsp_state *vd=vb->vd;
lib/mapping0.c: long n=vb->pcmend=ci->blocksizes[vb->W];
lib/mapping0.c: memset(vb->pcm[i],0,sizeof(*vb->pcm[i])*n/2);
lib/mapping0.c: pcmbundle[ch_in_bundle++]=vb->pcm[j];
lib/mapping0.c: float *pcmM=vb->pcm[info->coupling_mag[i]];
lib/mapping0.c: float *pcmA=vb->pcm[info->coupling_ang[i]];
lib/mapping0.c: float *pcm=vb->pcm[i];
lib/mapping0.c: int c, w=ci->blocksizes[vb->W]/2;
lib/mapping0.c: float *pcm=vb->pcm[i];
lib/mapping0.c: mdct_backward(b->transform[vb->W][0],pcm,pcm);
lib/analysis.c: vorbis_block_internal *vbi=vb->internal;
lib/analysis.c: vb->glue_bits=0;
lib/analysis.c: vb->time_bits=0;
lib/analysis.c: vb->floor_bits=0;
lib/analysis.c: vb->res_bits=0;
lib/analysis.c: op->packet=oggpack_get_buffer(&vb->opb);
lib/analysis.c: op->bytes=oggpack_bytes(&vb->opb);
lib/analysis.c: op->e_o_s=vb->eofflag;
lib/analysis.c: op->granulepos=vb->granulepos;
lib/analysis.c: op->packetno=vb->sequence; /* for sake of completeness */