ARM: NEON optimised RDFT

Originally committed as revision 22641 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-03-23 03:35:02 +00:00
parent fc4a2d1e8c
commit a8bb9ea532
5 changed files with 168 additions and 0 deletions

View file

@ -27,6 +27,8 @@ void ff_imdct_calc_neon(FFTContext *s, FFTSample *output, const FFTSample *input
void ff_imdct_half_neon(FFTContext *s, FFTSample *output, const FFTSample *input);
void ff_mdct_calc_neon(FFTContext *s, FFTSample *output, const FFTSample *input);
void ff_rdft_calc_neon(struct RDFTContext *s, FFTSample *z);
av_cold void ff_fft_init_arm(FFTContext *s)
{
if (HAVE_NEON) {
@ -38,3 +40,11 @@ av_cold void ff_fft_init_arm(FFTContext *s)
s->permutation = FF_MDCT_PERM_INTERLEAVE;
}
}
#if CONFIG_RDFT
av_cold void ff_rdft_init_arm(RDFTContext *s)
{
if (HAVE_NEON)
s->rdft_calc = ff_rdft_calc_neon;
}
#endif