[FFmpeg-devel] [PATCH] NEON FFT/IMDCT

Diego Biurrun diego
Fri Sep 4 10:29:20 CEST 2009


On Thu, Sep 03, 2009 at 06:41:39PM +0900, Naotoshi Nojiri wrote:
> 
> So, any comments and suggestions would be appreciated.
> 
> --- a/libavcodec/Makefile
> +++ b/libavcodec/Makefile
> @@ -503,6 +503,8 @@ NEON-OBJS-$(CONFIG_VP3_DECODER)        += arm/vp3dsp_neon.o
>  OBJS-$(HAVE_NEON)                      += arm/dsputil_neon.o            \
>                                            arm/dsputil_neon_s.o          \
>                                            arm/simple_idct_neon.o        \
> +                                          arm/fft_neon.o                \
> +                                          arm/fft_neon_s.o              \

alphabetical order...

> --- a/libavcodec/fft.c
> +++ b/libavcodec/fft.c
> @@ -112,6 +112,11 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse)
> +#elif HAVE_NEON
> +    s->imdct_calc = ff_imdct_calc_neon;
> +    s->imdct_half = ff_imdct_half_neon;
> +    s->fft_permute = ff_fft_permute_neon;
> +    s->fft_calc = ff_fft_calc_neon;

align

Diego



More information about the ffmpeg-devel mailing list