Lines Matching defs:fft_coefs
160 FFTCoefficient fft_coefs[1000];
1252 q->fft_coefs[q->fft_coefs_index].sub_packet =
1254 q->fft_coefs[q->fft_coefs_index].channel = channel;
1255 q->fft_coefs[q->fft_coefs_index].offset = offset;
1256 q->fft_coefs[q->fft_coefs_index].exp = exp;
1257 q->fft_coefs[q->fft_coefs_index].phase = phase;
1340 if (q->fft_coefs_index + stereo >= FF_ARRAY_ELEMS(q->fft_coefs))
1490 if (q->fft_coefs[i].sub_packet != sub_packet)
1493 ch = (q->channels == 1) ? 0 : q->fft_coefs[i].channel;
1494 level = (q->fft_coefs[i].exp < 0) ? 0.0 : fft_tone_level_table[q->superblocktype_2_3 ? 0 : 1][q->fft_coefs[i].exp & 63];
1496 c.re = level * cos(q->fft_coefs[i].phase * iscale);
1497 c.im = level * sin(q->fft_coefs[i].phase * iscale);
1498 q->fft.complex[ch][q->fft_coefs[i].offset + 0].re += c.re;
1499 q->fft.complex[ch][q->fft_coefs[i].offset + 0].im += c.im;
1500 q->fft.complex[ch][q->fft_coefs[i].offset + 1].re -= c.re;
1501 q->fft.complex[ch][q->fft_coefs[i].offset + 1].im -= c.im;
1517 if (q->fft_coefs[j].sub_packet != sub_packet)
1521 offset = q->fft_coefs[j].offset >> four_i;
1522 ch = (q->channels == 1) ? 0 : q->fft_coefs[j].channel;
1530 tone.level = (q->fft_coefs[j].exp < 0) ? 0.0 : fft_tone_level_table[q->superblocktype_2_3 ? 0 : 1][q->fft_coefs[j].exp & 63];
1532 tone.table = fft_tone_sample_table[i][q->fft_coefs[j].offset - (offset << four_i)];
1533 tone.phase = 64 * q->fft_coefs[j].phase - (offset << 8) - 128;
1534 tone.phase_shift = (2 * q->fft_coefs[j].offset + 1) << (7 - four_i);