configure: Factor out g722dsp module
[ffmpeg.git] / libavcodec / arm / Makefile
1 ARCH_HEADERS = mathops.h
2
3 # subsystems
4 OBJS-$(CONFIG_AC3DSP)                  += arm/ac3dsp_init_arm.o         \
5                                           arm/ac3dsp_arm.o
6 OBJS-$(CONFIG_AUDIODSP)                += arm/audiodsp_init_arm.o
7 OBJS-$(CONFIG_BLOCKDSP)                += arm/blockdsp_init_arm.o
8 OBJS-$(CONFIG_FFT)                     += arm/fft_init_arm.o            \
9                                           arm/fft_fixed_init_arm.o
10 OBJS-$(CONFIG_FMTCONVERT)              += arm/fmtconvert_init_arm.o
11 OBJS-$(CONFIG_H264CHROMA)              += arm/h264chroma_init_arm.o
12 OBJS-$(CONFIG_H264DSP)                 += arm/h264dsp_init_arm.o
13 OBJS-$(CONFIG_H264PRED)                += arm/h264pred_init_arm.o
14 OBJS-$(CONFIG_H264QPEL)                += arm/h264qpel_init_arm.o
15 OBJS-$(CONFIG_HPELDSP)                 += arm/hpeldsp_init_arm.o        \
16                                           arm/hpeldsp_arm.o
17 OBJS-$(CONFIG_IDCTDSP)                 += arm/idctdsp_init_arm.o        \
18                                           arm/idctdsp_arm.o             \
19                                           arm/jrevdct_arm.o             \
20                                           arm/simple_idct_arm.o
21 OBJS-$(CONFIG_FLACDSP)                 += arm/flacdsp_init_arm.o        \
22                                           arm/flacdsp_arm.o
23 OBJS-$(CONFIG_G722DSP)                 += arm/g722dsp_init_arm.o
24 OBJS-$(CONFIG_ME_CMP)                  += arm/me_cmp_init_arm.o
25 OBJS-$(CONFIG_MPEGAUDIODSP)            += arm/mpegaudiodsp_init_arm.o
26 OBJS-$(CONFIG_MPEGVIDEO)               += arm/mpegvideo_arm.o
27 OBJS-$(CONFIG_MPEGVIDEOENC)            += arm/mpegvideoencdsp_init_arm.o
28 OBJS-$(CONFIG_NEON_CLOBBER_TEST)       += arm/neontest.o
29 OBJS-$(CONFIG_PIXBLOCKDSP)             += arm/pixblockdsp_init_arm.o
30 OBJS-$(CONFIG_RV34DSP)                 += arm/rv34dsp_init_arm.o
31 OBJS-$(CONFIG_VIDEODSP)                += arm/videodsp_init_arm.o
32 OBJS-$(CONFIG_VP3DSP)                  += arm/vp3dsp_init_arm.o
33 OBJS-$(CONFIG_VP8DSP)                  += arm/vp8dsp_init_arm.o
34
35 # decoders/encoders
36 OBJS-$(CONFIG_AAC_DECODER)             += arm/aacpsdsp_init_arm.o       \
37                                           arm/sbrdsp_init_arm.o
38 OBJS-$(CONFIG_APE_DECODER)             += arm/apedsp_init_arm.o
39 OBJS-$(CONFIG_DCA_DECODER)             += arm/dcadsp_init_arm.o
40 OBJS-$(CONFIG_MLP_DECODER)             += arm/mlpdsp_init_arm.o
41 OBJS-$(CONFIG_RV40_DECODER)            += arm/rv40dsp_init_arm.o
42 OBJS-$(CONFIG_VC1_DECODER)             += arm/vc1dsp_init_arm.o
43 OBJS-$(CONFIG_VORBIS_DECODER)          += arm/vorbisdsp_init_arm.o
44 OBJS-$(CONFIG_VP6_DECODER)             += arm/vp6dsp_init_arm.o
45
46
47 # ARMv5 optimizations
48 # subsystems
49 ARMV5TE-OBJS-$(CONFIG_IDCTDSP)         += arm/idctdsp_init_armv5te.o    \
50                                           arm/simple_idct_armv5te.o
51 ARMV5TE-OBJS-$(CONFIG_MPEGVIDEO)       += arm/mpegvideo_armv5te.o       \
52                                           arm/mpegvideo_armv5te_s.o
53 ARMV5TE-OBJS-$(CONFIG_VIDEODSP)        += arm/videodsp_init_armv5te.o   \
54                                           arm/videodsp_armv5te.o
55
56 # decoders/encoders
57 ARMV5TE-OBJS-$(CONFIG_MLP_DECODER)     += arm/mlpdsp_armv5te.o
58
59
60 # ARMv6 optimizations
61 # subsystems
62 ARMV6-OBJS-$(CONFIG_AC3DSP)            += arm/ac3dsp_armv6.o
63 ARMV6-OBJS-$(CONFIG_HPELDSP)           += arm/hpeldsp_init_armv6.o      \
64                                           arm/hpeldsp_armv6.o
65 ARMV6-OBJS-$(CONFIG_IDCTDSP)           += arm/idctdsp_init_armv6.o      \
66                                           arm/idctdsp_armv6.o           \
67                                           arm/simple_idct_armv6.o
68 ARMV6-OBJS-$(CONFIG_ME_CMP)            += arm/me_cmp_armv6.o
69 ARMV6-OBJS-$(CONFIG_MPEGAUDIODSP)      += arm/mpegaudiodsp_fixed_armv6.o
70 ARMV6-OBJS-$(CONFIG_MPEGVIDEOENC)      += arm/mpegvideoencdsp_armv6.o
71 ARMV6-OBJS-$(CONFIG_PIXBLOCKDSP)       += arm/pixblockdsp_armv6.o
72 ARMV6-OBJS-$(CONFIG_VP8DSP)            += arm/vp8_armv6.o               \
73                                           arm/vp8dsp_init_armv6.o       \
74                                           arm/vp8dsp_armv6.o
75
76 # decoders/encoders
77 ARMV6-OBJS-$(CONFIG_MLP_DECODER)       += arm/mlpdsp_armv6.o
78 ARMV6-OBJS-$(CONFIG_STARTCODE)         += arm/startcode_armv6.o
79
80
81 # VFP optimizations
82
83 # subsystems
84 VFP-OBJS-$(CONFIG_FFT)                 += arm/fft_vfp.o
85 VFP-OBJS-$(CONFIG_FMTCONVERT)          += arm/fmtconvert_vfp.o
86 VFP-OBJS-$(CONFIG_MDCT)                += arm/mdct_vfp.o
87
88 # decoders/encoders
89 VFP-OBJS-$(CONFIG_DCA_DECODER)         += arm/dcadsp_vfp.o              \
90                                           arm/synth_filter_vfp.o
91
92
93 # NEON optimizations
94
95 # subsystems
96 NEON-OBJS-$(CONFIG_AC3DSP)             += arm/ac3dsp_neon.o
97 NEON-OBJS-$(CONFIG_AUDIODSP)           += arm/audiodsp_init_neon.o      \
98                                           arm/audiodsp_neon.o           \
99                                           arm/int_neon.o
100 NEON-OBJS-$(CONFIG_BLOCKDSP)           += arm/blockdsp_init_neon.o      \
101                                           arm/blockdsp_neon.o
102 NEON-OBJS-$(CONFIG_FFT)                += arm/fft_neon.o                \
103                                           arm/fft_fixed_neon.o
104 NEON-OBJS-$(CONFIG_FMTCONVERT)         += arm/fmtconvert_neon.o
105 NEON-OBJS-$(CONFIG_G722DSP)            += arm/g722dsp_neon.o
106 NEON-OBJS-$(CONFIG_H264CHROMA)         += arm/h264cmc_neon.o
107 NEON-OBJS-$(CONFIG_H264DSP)            += arm/h264dsp_neon.o            \
108                                           arm/h264idct_neon.o
109 NEON-OBJS-$(CONFIG_H264PRED)           += arm/h264pred_neon.o
110 NEON-OBJS-$(CONFIG_H264QPEL)           += arm/h264qpel_neon.o           \
111                                           arm/hpeldsp_neon.o
112 NEON-OBJS-$(CONFIG_HPELDSP)            += arm/hpeldsp_init_neon.o       \
113                                           arm/hpeldsp_neon.o
114 NEON-OBJS-$(CONFIG_IDCTDSP)            += arm/idctdsp_init_neon.o       \
115                                           arm/idctdsp_neon.o            \
116                                           arm/simple_idct_neon.o
117 NEON-OBJS-$(CONFIG_MDCT)               += arm/mdct_neon.o               \
118                                           arm/mdct_fixed_neon.o
119 NEON-OBJS-$(CONFIG_MPEGVIDEO)          += arm/mpegvideo_neon.o
120 NEON-OBJS-$(CONFIG_RDFT)               += arm/rdft_neon.o
121 NEON-OBJS-$(CONFIG_VP3DSP)             += arm/vp3dsp_neon.o
122 NEON-OBJS-$(CONFIG_VP8DSP)             += arm/vp8dsp_init_neon.o        \
123                                           arm/vp8dsp_neon.o
124
125 # decoders/encoders
126 NEON-OBJS-$(CONFIG_AAC_DECODER)        += arm/aacpsdsp_neon.o           \
127                                           arm/sbrdsp_neon.o
128 NEON-OBJS-$(CONFIG_APE_DECODER)        += arm/apedsp_neon.o
129 NEON-OBJS-$(CONFIG_DCA_DECODER)        += arm/dcadsp_neon.o             \
130                                           arm/synth_filter_neon.o
131 NEON-OBJS-$(CONFIG_RV30_DECODER)       += arm/rv34dsp_neon.o
132 NEON-OBJS-$(CONFIG_RV40_DECODER)       += arm/rv34dsp_neon.o            \
133                                           arm/rv40dsp_neon.o
134 NEON-OBJS-$(CONFIG_VC1_DECODER)        += arm/vc1dsp_init_neon.o        \
135                                           arm/vc1dsp_neon.o
136 NEON-OBJS-$(CONFIG_VORBIS_DECODER)     += arm/vorbisdsp_neon.o
137 NEON-OBJS-$(CONFIG_VP6_DECODER)        += arm/vp6dsp_neon.o