History

ppc: fft: Build AltiVec optimizations in the standard way

Diego Biurrun committed 12 years ago

Commit ffa4d4e1 parent f0e95943 files · +7 −4Browse files

Unified · Split

3 files
  1. libavcodec/ppc/Makefile +2 −4
  2. libavcodec/ppc/fft_altivec.S +5 −0
  3. libavcodec/ppc/fft_init.c +0 −0
libavcodec/ppc/Makefile+2−4
@@ -2,7 +2,8 @@ OBJS += ppc/fmtconvert_altivec.o \ · 1 unmodified line
22
33 OBJS-$(CONFIG_AUDIODSP) += ppc/audiodsp.o
44 OBJS-$(CONFIG_BLOCKDSP) += ppc/blockdsp.o
5−OBJS-$(CONFIG_FFT) += ppc/fft_altivec.o
5+OBJS-$(CONFIG_FFT) += ppc/fft_init.o \
6+ ppc/fft_altivec.o
67 OBJS-$(CONFIG_H264CHROMA) += ppc/h264chroma_init.o
78 OBJS-$(CONFIG_H264DSP) += ppc/h264dsp.o
89 OBJS-$(CONFIG_H264QPEL) += ppc/h264qpel.o
@@ -25,6 +26,3 @@ OBJS-$(CONFIG_VC1_DECODER) += ppc/vc1dsp_altivec.o · 16 unmodified lines
2526 OBJS-$(CONFIG_VORBIS_DECODER) += ppc/vorbisdsp_altivec.o
2627 OBJS-$(CONFIG_VP7_DECODER) += ppc/vp8dsp_altivec.o
2728 OBJS-$(CONFIG_VP8_DECODER) += ppc/vp8dsp_altivec.o
28−
29−FFT-OBJS-$(HAVE_GNU_AS) += ppc/fft_altivec_s.o
30−ALTIVEC-OBJS-$(CONFIG_FFT) += $(FFT-OBJS-yes)
libavcodec/ppc/fft_altivec.Srenamed from libavcodec/ppc/fft_altivec_s.S+5−0
@@ -39,6 +39,9 @@ · 38 unmodified lines
3939 */
4040
4141 #include "config.h"
42+
43+#if HAVE_GNU_AS && HAVE_ALTIVEC
44+
4245 #include "asm.S"
4346
4447 .text
@@ -447,3 +450,5 @@ fft_dispatch_tab\suffix\()_altivec: · 402 unmodified lines
447450
448451 DECL_FFTS 0
449452 DECL_FFTS 1, _interleave
453+
454+#endif /* HAVE_GNU_AS && HAVE_ALTIVEC */
libavcodec/ppc/fft_init.crenamed from libavcodec/ppc/fft_altivec.c+0−0

File renamed without changes.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t