Lines Matching defs:bin
68 int bin, bnd, ch, i;
74 bin = s->spx_dst_start_freq;
79 if (bin + bandsize > s->spx_src_start_freq) {
80 copy_sizes[num_copy_sections++] = bin - s->spx_dst_start_freq;
81 bin = s->spx_dst_start_freq;
85 if (bin == s->spx_src_start_freq) {
86 copy_sizes[num_copy_sections++] = bin - s->spx_dst_start_freq;
87 bin = s->spx_dst_start_freq;
89 copysize = FFMIN(bandsize - i, s->spx_src_start_freq - bin);
90 bin += copysize;
93 copy_sizes[num_copy_sections++] = bin - s->spx_dst_start_freq;
100 bin = s->spx_src_start_freq;
102 memcpy(&s->transform_coeffs[ch][bin],
105 bin += copy_sizes[i];
109 bin = s->spx_src_start_freq;
114 float coeff = s->transform_coeffs[ch][bin++];
124 bin = s->spx_src_start_freq - 2;
127 float *coeffs = &s->transform_coeffs[ch][bin];
134 bin += s->spx_band_sizes[bnd];
141 bin = s->spx_src_start_freq;
147 s->transform_coeffs[ch][bin] *= sscale;
148 s->transform_coeffs[ch][bin++] += noise;
200 int bin, blk, gs;
213 for (bin = s->start_freq[ch]; bin < s->end_freq[ch]; bin++) {
214 if (s->bap[ch][bin] > 7 && s->bap[ch][bin] < end_bap)
220 for (bin = s->start_freq[ch]; bin < s->end_freq[ch]; bin++) {
221 if (s->bap[ch][bin] > 7 && s->bap[ch][bin] < 17) {
238 for (bin = s->start_freq[ch]; bin < s->end_freq[ch]; bin++) {
239 int hebap = s->bap[ch][bin];
244 s->pre_mantissa[ch][bin][blk] = (av_lfg_get(&s->dith_state) & 0x7FFFFF) - 0x400000;
250 s->pre_mantissa[ch][bin][blk] = ff_eac3_mantissa_vq[hebap][v][blk] << 8;
284 s->pre_mantissa[ch][bin][blk] = mant;
287 idct6(s->pre_mantissa[ch][bin]);