Revision 388c7955 libavcodec/aacsbr.c

View differences:

libavcodec/aacsbr.c
84 84

  
85 85
av_cold void ff_aac_sbr_init(void)
86 86
{
87
    int n, k;
87
    int n;
88 88
    static const struct {
89 89
        const void *sbr_codes, *sbr_bits;
90 90
        const unsigned int table_size, elem_size;
......
1126 1126
 * @param   x       pointer to the beginning of the first sample window
1127 1127
 * @param   W       array of complex-valued samples split into subbands
1128 1128
 */
1129
static void sbr_qmf_analysis(DSPContext *dsp, RDFTContext *mdct, const float *in, float *x,
1129
static void sbr_qmf_analysis(DSPContext *dsp, FFTContext *mdct, const float *in, float *x,
1130 1130
                             float z[320], float W[2][32][32][2],
1131 1131
                             float scale)
1132 1132
{
......
1139 1139
        memcpy(x+288, in, 1024*sizeof(*x));
1140 1140
    for (i = 0; i < 32; i++) { // numTimeSlots*RATE = 16*2 as 960 sample frames
1141 1141
                               // are not supported
1142
        float re, im;
1143 1142
        dsp->vector_fmul_reverse(z, sbr_qmf_window_ds, x, 320);
1144 1143
        for (k = 0; k < 64; k++) {
1145 1144
            float f = z[k] + z[k + 64] + z[k + 128] + z[k + 192] + z[k + 256];

Also available in: Unified diff