build: non-x86: Only compile mpegvideo optimizations when necessary
[ffmpeg.git] / libavcodec / arm / Makefile
1 OBJS-$(CONFIG_AC3DSP)                  += arm/ac3dsp_init_arm.o         \
2                                           arm/ac3dsp_arm.o
3
4 OBJS-$(CONFIG_AAC_DECODER)             += arm/sbrdsp_init_arm.o         \
5                                           arm/aacpsdsp_init_arm.o
6
7 OBJS-$(CONFIG_DCA_DECODER)             += arm/dcadsp_init_arm.o         \
8
9 ARMV6-OBJS-$(CONFIG_AC3DSP)            += arm/ac3dsp_armv6.o
10
11 OBJS-$(CONFIG_FLAC_DECODER)            += arm/flacdsp_init_arm.o        \
12                                           arm/flacdsp_arm.o             \
13
14 OBJS-$(CONFIG_MPEGAUDIODSP)            += arm/mpegaudiodsp_init_arm.o
15 ARMV6-OBJS-$(CONFIG_MPEGAUDIODSP)      += arm/mpegaudiodsp_fixed_armv6.o
16
17 OBJS-$(CONFIG_MPEGVIDEO)               += arm/mpegvideo_arm.o
18 OBJS-$(CONFIG_VP3DSP)                  += arm/vp3dsp_init_arm.o
19 OBJS-$(CONFIG_VP5_DECODER)             += arm/vp56dsp_init_arm.o
20 OBJS-$(CONFIG_VP6_DECODER)             += arm/vp56dsp_init_arm.o
21 OBJS-$(CONFIG_VP8_DECODER)             += arm/vp8dsp_init_arm.o
22 ARMV6-OBJS-$(CONFIG_VP8_DECODER)       += arm/vp8_armv6.o               \
23                                           arm/vp8dsp_init_armv6.o       \
24                                           arm/vp8dsp_armv6.o
25
26 OBJS-$(CONFIG_H264DSP)                 += arm/h264dsp_init_arm.o
27 OBJS-$(CONFIG_H264PRED)                += arm/h264pred_init_arm.o
28
29 OBJS                                   += arm/dsputil_init_arm.o        \
30                                           arm/dsputil_arm.o             \
31                                           arm/fft_init_arm.o            \
32                                           arm/fft_fixed_init_arm.o      \
33                                           arm/fmtconvert_init_arm.o     \
34                                           arm/jrevdct_arm.o             \
35                                           arm/simple_idct_arm.o         \
36
37 ARMV5TE-OBJS-$(CONFIG_MPEGVIDEO)       += arm/mpegvideo_armv5te.o       \
38                                           arm/mpegvideo_armv5te_s.o     \
39
40 ARMV5TE-OBJS                           += arm/dsputil_init_armv5te.o    \
41                                           arm/simple_idct_armv5te.o     \
42
43 ARMV6-OBJS                             += arm/dsputil_init_armv6.o      \
44                                           arm/dsputil_armv6.o           \
45                                           arm/simple_idct_armv6.o       \
46
47 ARMVFP-OBJS-$(HAVE_ARMV6)              += arm/fmtconvert_vfp.o
48
49 ARMVFP-OBJS                            += arm/dsputil_vfp.o             \
50                                           arm/dsputil_init_vfp.o        \
51
52 NEON-OBJS-$(CONFIG_FFT)                += arm/fft_neon.o                \
53                                           arm/fft_fixed_neon.o          \
54
55 NEON-OBJS-$(CONFIG_MDCT)               += arm/mdct_neon.o               \
56                                           arm/mdct_fixed_neon.o         \
57
58 NEON-OBJS-$(CONFIG_RDFT)               += arm/rdft_neon.o               \
59
60 NEON-OBJS-$(CONFIG_H264DSP)            += arm/h264dsp_neon.o            \
61                                           arm/h264idct_neon.o           \
62                                           arm/h264cmc_neon.o            \
63
64 NEON-OBJS-$(CONFIG_H264PRED)           += arm/h264pred_neon.o           \
65
66 NEON-OBJS-$(CONFIG_AC3DSP)             += arm/ac3dsp_neon.o
67
68 NEON-OBJS-$(CONFIG_AAC_DECODER)        += arm/sbrdsp_neon.o             \
69                                           arm/aacpsdsp_neon.o
70
71 NEON-OBJS-$(CONFIG_DCA_DECODER)        += arm/dcadsp_neon.o             \
72                                           arm/synth_filter_neon.o       \
73
74 NEON-OBJS-$(CONFIG_MPEGVIDEO)          += arm/mpegvideo_neon.o
75 NEON-OBJS-$(CONFIG_RV30_DECODER)       += arm/rv34dsp_init_neon.o       \
76                                           arm/rv34dsp_neon.o            \
77
78 NEON-OBJS-$(CONFIG_RV40_DECODER)       += arm/rv34dsp_init_neon.o       \
79                                           arm/rv34dsp_neon.o            \
80                                           arm/rv40dsp_init_neon.o       \
81                                           arm/rv40dsp_neon.o            \
82                                           arm/h264cmc_neon.o            \
83
84 NEON-OBJS-$(CONFIG_VP3DSP)             += arm/vp3dsp_neon.o
85
86 NEON-OBJS-$(CONFIG_VP5_DECODER)        += arm/vp56dsp_neon.o            \
87
88 NEON-OBJS-$(CONFIG_VP6_DECODER)        += arm/vp56dsp_neon.o            \
89
90 NEON-OBJS-$(CONFIG_VP8_DECODER)        += arm/vp8dsp_init_neon.o        \
91                                           arm/vp8dsp_neon.o
92
93 NEON-OBJS                              += arm/dsputil_init_neon.o       \
94                                           arm/dsputil_neon.o            \
95                                           arm/fmtconvert_neon.o         \
96                                           arm/int_neon.o                \
97                                           arm/simple_idct_neon.o        \