annotate libmpcodecs/Makefile @ 19318:a3ddd3320b47

removed udp socket creation code from rtp stack to a new dedicated udp helper file
author ben
date Fri, 04 Aug 2006 19:31:53 +0000
parents 64d82a45a05d
children 4f71ed7cb512
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
1
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
2 include ../config.mak
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
3
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
4 LIBNAME = libmpcodecs.a
5550
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
5 LIBNAME2 = libmpencoders.a
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
6
17524
cc6cf286e337 Only compile libmpencoders if MEncoder has been enabled.
diego
parents: 17523
diff changeset
7 LIBS =$(LIBNAME)
cc6cf286e337 Only compile libmpencoders if MEncoder has been enabled.
diego
parents: 17523
diff changeset
8 ifeq ($(MENCODER),yes)
cc6cf286e337 Only compile libmpencoders if MEncoder has been enabled.
diego
parents: 17523
diff changeset
9 LIBS+=$(LIBNAME2)
cc6cf286e337 Only compile libmpencoders if MEncoder has been enabled.
diego
parents: 17523
diff changeset
10 endif
cc6cf286e337 Only compile libmpencoders if MEncoder has been enabled.
diego
parents: 17523
diff changeset
11
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
12 AUDIO_SRCS_LIB=ad_hwac3.c \
17397
2e20dd653147 ad_hwmpa: pass-through fake audio codec for hardware mpeg decoders
nicodvb
parents: 17387
diff changeset
13 ad_hwmpa.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
14
18771
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
15 ifeq ($(LIBA52),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
16 AUDIO_SRCS_LIB+=ad_liba52.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
17 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
18 ifeq ($(MP3LIB),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
19 AUDIO_SRCS_LIB+=ad_mp3lib.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
20 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
21
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
22 AUDIO_SRCS_NAT=ad_alaw.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
23 ad_dk3adpcm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
24 ad_dvdpcm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
25 ad_imaadpcm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
26 ad_msadpcm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
27 ad_msgsm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
28 ad_pcm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
29
16521
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
30 AUDIO_SRCS=dec_audio.c \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
31 ad.c \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
32 $(AUDIO_SRCS_LIB) \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
33 $(AUDIO_SRCS_NAT) \
8024
13e08eff5f90 cosmetics :)
arpi
parents: 8010
diff changeset
34
18771
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
35 ifeq ($(CONFIG_LIBAVCODEC),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
36 AUDIO_SRCS+=ad_ffmpeg.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
37 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
38 ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
39 AUDIO_SRCS+=ad_ffmpeg.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
40 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
41 ifeq ($(WIN32DLL),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
42 AUDIO_SRCS+=ad_acm.c ad_dmo.c ad_dshow.c ad_twin.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
43 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
44 ifeq ($(QTX_CODECS),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
45 AUDIO_SRCS+=ad_qtaudio.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
46 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
47 ifeq ($(REAL_CODECS),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
48 AUDIO_SRCS+=ad_realaud.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
49 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
50 ifeq ($(FAAD),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
51 AUDIO_SRCS += ad_faad.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
52 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
53 ifeq ($(LIBDV),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
54 AUDIO_SRCS+=ad_libdv.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
55 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
56 ifeq ($(LIBMAD),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
57 AUDIO_SRCS+=ad_libmad.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
58 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
59 ifeq ($(LIBVORBIS),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
60 AUDIO_SRCS+=ad_libvorbis.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
61 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
62
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
63
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
64 VIDEO_SRCS_LIB=vd_lzo.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
65 vd_nuv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
66
18771
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
67 ifeq ($(LIBMPEG2),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
68 VIDEO_SRCS_LIB+=vd_libmpeg2.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
69 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
70
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
71 VIDEO_SRCS_NAT=vd_hmblck.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
72 vd_mpegpes.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
73 vd_mtga.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
74 vd_null.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
75 vd_raw.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
76 vd_sgi.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
77
16521
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
78 VIDEO_SRCS=dec_video.c \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
79 vd.c \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
80 $(VIDEO_SRCS_NAT) \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
81 $(VIDEO_SRCS_LIB) \
18771
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
82
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
83 ifeq ($(CONFIG_LIBAVCODEC),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
84 VIDEO_SRCS+=vd_ffmpeg.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
85 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
86 ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
87 VIDEO_SRCS+=vd_ffmpeg.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
88 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
89 ifeq ($(WIN32DLL),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
90 VIDEO_SRCS+=vd_dmo.c vd_dshow.c vd_vfw.c vd_vfwex.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
91 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
92 ifeq ($(QTX_CODECS),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
93 VIDEO_SRCS+=vd_qtvideo.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
94 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
95 ifeq ($(REAL_CODECS),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
96 VIDEO_SRCS+=vd_realvid.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
97 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
98 ifeq ($(XANIM_CODECS),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
99 VIDEO_SRCS+=vd_xanim.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
100 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
101 ifeq ($(LIBDV),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
102 VIDEO_SRCS+=vd_libdv.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
103 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
104 ifeq ($(LIBTHEORA),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
105 VIDEO_SRCS+=vd_theora.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
106 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
107 ifeq ($(XVID4),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
108 VIDEO_SRCS+=vd_xvid4.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
109 else
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
110 ifeq ($(XVID),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
111 VIDEO_SRCS+=vd_xvid.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
112 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
113 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
114 ifeq ($(ZORAN),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
115 VIDEO_SRCS+=vd_zrmjpeg.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
116 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
117
8024
13e08eff5f90 cosmetics :)
arpi
parents: 8010
diff changeset
118
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
119 VFILTER_SRCS=vf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
120 pullup.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
121 vf_1bpp.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
122 vf_2xsai.c \
19094
e84360ee61c9 new black frame detection filter
ivo
parents: 19082
diff changeset
123 vf_blackframe.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
124 vf_bmovl.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
125 vf_boxblur.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
126 vf_crop.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
127 vf_cropdetect.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
128 vf_decimate.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
129 vf_delogo.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
130 vf_denoise3d.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
131 vf_detc.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
132 vf_dint.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
133 vf_divtc.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
134 vf_down3dright.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
135 vf_dsize.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
136 vf_dvbscale.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
137 vf_eq2.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
138 vf_eq.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
139 vf_expand.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
140 vf_field.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
141 vf_fil.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
142 vf_filmdint.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
143 vf_flip.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
144 vf_format.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
145 vf_framestep.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
146 vf_halfpack.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
147 vf_harddup.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
148 vf_hqdn3d.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
149 vf_hue.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
150 vf_il.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
151 vf_ilpack.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
152 vf_ivtc.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
153 vf_kerndeint.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
154 vf_mirror.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
155 vf_noformat.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
156 vf_noise.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
157 vf_palette.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
158 vf_perspective.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
159 vf_phase.c \
15944
1a0c715343d2 pp7 filter (spp=6 filter with 7 point dct where only the center sample is used after idct)
michael
parents: 15772
diff changeset
160 vf_pp7.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
161 vf_pullup.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
162 vf_rectangle.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
163 vf_remove_logo.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
164 vf_rgb2bgr.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
165 vf_rgbtest.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
166 vf_rotate.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
167 vf_sab.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
168 vf_scale.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
169 vf_smartblur.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
170 vf_softpulldown.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
171 vf_softskip.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
172 vf_swapuv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
173 vf_telecine.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
174 vf_test.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
175 vf_tfields.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
176 vf_tile.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
177 vf_tinterlace.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
178 vf_unsharp.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
179 vf_vo.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
180 vf_yuvcsp.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
181 vf_yuy2.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
182 vf_yvu9.c \
18608
a80c7de8a4ba yet another deinterlacing filter
michael
parents: 18590
diff changeset
183 vf_yadif.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
184
17882
8dd9503e4d19 compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents: 17524
diff changeset
185 VFILTER_LAVC_SRCS += vf_lavc.c \
17523
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
186 vf_lavcdeint.c \
17882
8dd9503e4d19 compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents: 17524
diff changeset
187
8dd9503e4d19 compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents: 17524
diff changeset
188 VFILTER_LAVC_DSPUTIL_SRCS += vf_uspp.c \
8dd9503e4d19 compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents: 17524
diff changeset
189 vf_fspp.c \
8dd9503e4d19 compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents: 17524
diff changeset
190 vf_qp.c \
8dd9503e4d19 compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents: 17524
diff changeset
191 vf_spp.c \
18590
2fa15de8806b Motion compensating deinterlacer
michael
parents: 17882
diff changeset
192 vf_mcdeint.c \
17523
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
193
17463
b56f34ba3f2f proper support for shared libpostproc
diego
parents: 17397
diff changeset
194 ifeq ($(CONFIG_LIBPOSTPROC),yes)
b56f34ba3f2f proper support for shared libpostproc
diego
parents: 17397
diff changeset
195 VFILTER_SRCS += vf_pp.c
b56f34ba3f2f proper support for shared libpostproc
diego
parents: 17397
diff changeset
196 endif
b56f34ba3f2f proper support for shared libpostproc
diego
parents: 17397
diff changeset
197 ifeq ($(CONFIG_LIBPOSTPROC_SO),yes)
11141
1ed8e514c725 Fix compilation when libavcodec is missing.
attila
parents: 11004
diff changeset
198 VFILTER_SRCS += vf_pp.c
1ed8e514c725 Fix compilation when libavcodec is missing.
attila
parents: 11004
diff changeset
199 endif
1ed8e514c725 Fix compilation when libavcodec is missing.
attila
parents: 11004
diff changeset
200
17523
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
201 ifeq ($(CONFIG_LIBAVCODEC),yes)
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
202 VFILTER_SRCS += $(VFILTER_LAVC_SRCS)
17882
8dd9503e4d19 compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents: 17524
diff changeset
203 VFILTER_SRCS += $(VFILTER_LAVC_DSPUTIL_SRCS)
17523
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
204 endif
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
205 ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
206 VFILTER_SRCS += $(VFILTER_LAVC_SRCS)
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
207 endif
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
208
18771
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
209 ifeq ($(PNG),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
210 VFILTER_SRCS += vf_screenshot.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
211 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
212
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
213
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
214 ENCODER_SRCS=ae.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
215 ae_pcm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
216 ve.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
217 ve_nuv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
218 ve_raw.c \
8024
13e08eff5f90 cosmetics :)
arpi
parents: 8010
diff changeset
219
17523
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
220 ifeq ($(CONFIG_LIBAVCODEC),yes)
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
221 ENCODER_SRCS+=ve_lavc.c
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
222 endif
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
223 ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
224 ENCODER_SRCS+=ve_lavc.c
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
225 endif
18771
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
226 ifeq ($(WIN32DLL),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
227 ENCODER_SRCS+=ve_vfw.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
228 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
229 ifeq ($(QTX_CODECS),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
230 ENCODER_SRCS+=ve_qtvideo.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
231 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
232 ifeq ($(LIBDV),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
233 ENCODER_SRCS+=ve_libdv.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
234 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
235 ifeq ($(XVID4),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
236 ENCODER_SRCS+=ve_xvid4.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
237 else
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
238 ifeq ($(XVID),yes)
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
239 ENCODER_SRCS+=ve_xvid.c
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
240 endif
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
241 endif
17523
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
242 ifeq ($(X264),yes)
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
243 ENCODER_SRCS+=ve_x264.c
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
244 endif
f0e7712385dc Move conditional compilation out of the code and into the build system.
diego
parents: 17488
diff changeset
245
18771
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
246
17151
9a6b48d19e12 Remove MPlayer native 14_4 and 28_8 codecs (they are in lavc)
rtognimp
parents: 16946
diff changeset
247 NATIVE_SRCS=native/minilzo.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
248 native/nuppelvideo.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
249 native/RTjpegN.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
250 native/xa_gsm.c \
5029
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
251
5840
4e3cf9473628 Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents: 5774
diff changeset
252 ifeq ($(FAME),yes)
4e3cf9473628 Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents: 5774
diff changeset
253 VFILTER_SRCS += vf_fame.c
4e3cf9473628 Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents: 5774
diff changeset
254 endif
4e3cf9473628 Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents: 5774
diff changeset
255
11662
173f22eb0505 vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents: 11600
diff changeset
256 ifeq ($(ZORAN),yes)
173f22eb0505 vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents: 11600
diff changeset
257 VFILTER_SRCS += vf_zrmjpeg.c
173f22eb0505 vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents: 11600
diff changeset
258 endif
173f22eb0505 vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents: 11600
diff changeset
259
5029
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
260 ifeq ($(PNG),yes)
5344
7198d3eba09f ok, use ad_* stuff
arpi
parents: 5264
diff changeset
261 VIDEO_SRCS += vd_mpng.c
5029
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
262 endif
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
263
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
264 ifeq ($(JPEG),yes)
5344
7198d3eba09f ok, use ad_* stuff
arpi
parents: 5264
diff changeset
265 VIDEO_SRCS += vd_ijpg.c
5029
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
266 endif
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
267
13426
0f92ad66bbb5 encoding to mp2 with libtoolame
nicodvb
parents: 13311
diff changeset
268 ifeq ($(TOOLAME),yes)
15234
e84a6ae9d51e audio encoding reworked
nicodvb
parents: 14276
diff changeset
269 ENCODER_SRCS += ae_toolame.c
13426
0f92ad66bbb5 encoding to mp2 with libtoolame
nicodvb
parents: 13311
diff changeset
270 EXTRA_INC += $(TOOLAME_EXTRAFLAGS)
0f92ad66bbb5 encoding to mp2 with libtoolame
nicodvb
parents: 13311
diff changeset
271 endif
0f92ad66bbb5 encoding to mp2 with libtoolame
nicodvb
parents: 13311
diff changeset
272
15359
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents: 15259
diff changeset
273 ifeq ($(TWOLAME),yes)
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents: 15259
diff changeset
274 ENCODER_SRCS += ae_twolame.c
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents: 15259
diff changeset
275 endif
af245d15f502 added twolame mp2 audio encoder
nicodvb
parents: 15259
diff changeset
276
15234
e84a6ae9d51e audio encoding reworked
nicodvb
parents: 14276
diff changeset
277 ifeq ($(CONFIG_MP3LAME),yes)
e84a6ae9d51e audio encoding reworked
nicodvb
parents: 14276
diff changeset
278 ENCODER_SRCS += ae_lame.c
e84a6ae9d51e audio encoding reworked
nicodvb
parents: 14276
diff changeset
279 endif
e84a6ae9d51e audio encoding reworked
nicodvb
parents: 14276
diff changeset
280
16165
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
281 LIBAV_INC =
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
282 ifeq ($(CONFIG_LIBAVUTIL),yes)
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
283 LIBAV_INC += -I../libavutil
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
284 endif
15234
e84a6ae9d51e audio encoding reworked
nicodvb
parents: 14276
diff changeset
285 ifeq ($(CONFIG_LIBAVCODEC),yes)
16165
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
286 LIBAV_INC += -I../libavcodec
15234
e84a6ae9d51e audio encoding reworked
nicodvb
parents: 14276
diff changeset
287 ENCODER_SRCS += ae_lavc.c
e84a6ae9d51e audio encoding reworked
nicodvb
parents: 14276
diff changeset
288 endif
17387
3fccbde62324 Consistent variable names for shared libavcodec.
diego
parents: 17151
diff changeset
289 ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
16251
ae5caba38b89 Fix MEncoder build with shared libavcodec.
diego
parents: 16165
diff changeset
290 ENCODER_SRCS += ae_lavc.c
ae5caba38b89 Fix MEncoder build with shared libavcodec.
diego
parents: 16165
diff changeset
291 endif
ae5caba38b89 Fix MEncoder build with shared libavcodec.
diego
parents: 16165
diff changeset
292
15958
087142ef3a2d musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents: 15944
diff changeset
293 ifeq ($(MUSEPACK),yes)
087142ef3a2d musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents: 15944
diff changeset
294 AUDIO_SRCS += ad_mpc.c
087142ef3a2d musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents: 15944
diff changeset
295 endif
087142ef3a2d musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents: 15944
diff changeset
296
16915
6b1d1e4adaea Speex support. Seeking and pts generation does not work.
reimar
parents: 16521
diff changeset
297 ifeq ($(SPEEX),yes)
6b1d1e4adaea Speex support. Seeking and pts generation does not work.
reimar
parents: 16521
diff changeset
298 AUDIO_SRCS += ad_speex.c
6b1d1e4adaea Speex support. Seeking and pts generation does not work.
reimar
parents: 16521
diff changeset
299 endif
6b1d1e4adaea Speex support. Seeking and pts generation does not work.
reimar
parents: 16521
diff changeset
300
15259
854990f357ee added faac audio encoder
nicodvb
parents: 15234
diff changeset
301 ifeq ($(FAAC),yes)
854990f357ee added faac audio encoder
nicodvb
parents: 15234
diff changeset
302 ENCODER_SRCS += ae_faac.c
854990f357ee added faac audio encoder
nicodvb
parents: 15234
diff changeset
303 endif
854990f357ee added faac audio encoder
nicodvb
parents: 15234
diff changeset
304
18937
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents: 18771
diff changeset
305 ifeq ($(CONFIG_ASS),yes)
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents: 18771
diff changeset
306 VFILTER_SRCS += vf_ass.c
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents: 18771
diff changeset
307 endif
9e95ac641e77 Initial libass release (without mencoder support).
eugeni
parents: 18771
diff changeset
308
16521
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
309 SRCS=$(AUDIO_SRCS) \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
310 $(VIDEO_SRCS) \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
311 $(VFILTER_SRCS) \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
312 $(NATIVE_SRCS) \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
313 img_format.c \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
314
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
315 OBJS=$(SRCS:.c=.o)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
316
5550
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
317 SRCS2=$(ENCODER_SRCS)
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
318 OBJS2=$(SRCS2:.c=.o)
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
319
16521
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
320 CFLAGS = $(OPTFLAGS) \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
321 -I. -I.. \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
322 -Inative \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
323 -I../libmpdemux \
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents: 19190
diff changeset
324 -I../stream \
16521
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
325 -I../loader \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
326 $(LIBAV_INC) \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
327 -D_GNU_SOURCE \
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
328
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
329 .SUFFIXES: .c .o
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
330
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
331 # .PHONY: all clean
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
332
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
333 .c.o:
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
334 $(CC) -c $(CFLAGS) -o $@ $<
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
335
17524
cc6cf286e337 Only compile libmpencoders if MEncoder has been enabled.
diego
parents: 17523
diff changeset
336 all: $(LIBS)
5550
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
337
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
338 $(LIBNAME): $(OBJS)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
339 $(AR) r $(LIBNAME) $(OBJS)
12634
e03ae519f344 ranlib cleanup
alex
parents: 12429
diff changeset
340 $(RANLIB) $(LIBNAME)
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
341
5550
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
342 $(LIBNAME2): $(OBJS2)
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
343 $(AR) r $(LIBNAME2) $(OBJS2)
12634
e03ae519f344 ranlib cleanup
alex
parents: 12429
diff changeset
344 $(RANLIB) $(LIBNAME2)
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
345
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
346 clean:
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
347 rm -f *.o *.a *~
14138
40ac42c6dd6d make clean should also clean the native subdirectory.
diego
parents: 13426
diff changeset
348 rm -f native/*.o native/*.a native/*~
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
349
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17463
diff changeset
350 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17463
diff changeset
351 rm -f .depend
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
352
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
353 dep: depend
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
354
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
355 depend:
5550
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
356 $(CC) -MM $(CFLAGS) $(SRCS) $(SRCS2) 1>.depend
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
357
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
358 #
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
359 # include dependency files if they exist
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
360 #
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
361 ifneq ($(wildcard .depend),)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
362 include .depend
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
363 endif
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
364