[FFmpeg-devel] [PATCH] FFT MMX dependency.
Måns Rullgård
mans
Sat Feb 20 13:19:29 CET 2010
Ramiro Polla <ramiro.polla at gmail.com> writes:
> Fixes:
> libavcodec/x86/fft.o: In function `ff_fft_init_mmx':
> /home/ramiro/code/ffmpeg/svn/libavcodec/x86/fft.c:28: undefined
> reference to `_ff_imdct_calc_sse'
> /home/ramiro/code/ffmpeg/svn/libavcodec/x86/fft.c:29: undefined
> reference to `_ff_imdct_half_sse'
> /home/ramiro/code/ffmpeg/svn/libavcodec/x86/fft.c:30: undefined
> reference to `_ff_fft_permute_sse'
> /home/ramiro/code/ffmpeg/svn/libavcodec/x86/fft.c:31: undefined
> reference to `_ff_fft_calc_sse'
> /home/ramiro/code/ffmpeg/svn/libavcodec/x86/fft.c:34: undefined
> reference to `_ff_imdct_calc_3dn2'
> /home/ramiro/code/ffmpeg/svn/libavcodec/x86/fft.c:35: undefined
> reference to `_ff_imdct_half_3dn2'
> /home/ramiro/code/ffmpeg/svn/libavcodec/x86/fft.c:36: undefined
> reference to `_ff_fft_calc_3dn2'
> /home/ramiro/code/ffmpeg/svn/libavcodec/x86/fft.c:39: undefined
> reference to `_ff_imdct_calc_3dn'
> /home/ramiro/code/ffmpeg/svn/libavcodec/x86/fft.c:40: undefined
> reference to `_ff_imdct_half_3dn'
> /home/ramiro/code/ffmpeg/svn/libavcodec/x86/fft.c:41: undefined
> reference to `_ff_fft_calc_3dn'
>
> for Windows shared libraries with fft disabled.
>
> Index: libavcodec/Makefile
> ===================================================================
> --- libavcodec/Makefile (revision 21903)
> +++ libavcodec/Makefile (working copy)
> @@ -580,11 +580,12 @@
> MMX-OBJS-$(HAVE_YASM) += x86/dsputil_yasm.o \
> $(YASM-OBJS-yes)
>
> +MMX-OBJS-$(CONFIG_FFT) += x86/fft.o
> +
> OBJS-$(HAVE_MMX) += x86/cpuid.o \
> x86/dnxhd_mmx.o \
> x86/dsputil_mmx.o \
> x86/fdct_mmx.o \
> - x86/fft.o \
> x86/idct_mmx_xvid.o \
> x86/idct_sse2_xvid.o \
> x86/motion_est_mmx.o \
OK
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list