Revision 2881c831 libavcodec/rdft.c

View differences:

libavcodec/rdft.c
50 50
    ff_sin_2048, ff_sin_4096, ff_sin_8192, ff_sin_16384, ff_sin_32768, ff_sin_65536,
51 51
};
52 52

  
53
static void ff_rdft_calc_c(RDFTContext* s, FFTSample* data);
54

  
53 55
av_cold int ff_rdft_init(RDFTContext *s, int nbits, enum RDFTransformType trans)
54 56
{
55 57
    int n = 1 << nbits;
......
74 76
        s->tsin[i] = sin(i*theta);
75 77
    }
76 78
#endif
79
    s->rdft_calc   = ff_rdft_calc_c;
77 80
    return 0;
78 81
}
79 82

  
......
123 126
    }
124 127
}
125 128

  
126
void ff_rdft_calc(RDFTContext *s, FFTSample *data)
127
{
128
    ff_rdft_calc_c(s, data);
129
}
130

  
131 129
av_cold void ff_rdft_end(RDFTContext *s)
132 130
{
133 131
    ff_fft_end(&s->fft);

Also available in: Unified diff