annotate libmpcodecs/Makefile @ 22324:475c60dcd459

10, checked for the wrong thing. Do aspect scaling only in config_video_out if the vo responds that it supports this scheme by providing VOCTRL_UPDATE_SCREENINFO. Fixes vo_xmga
author reimar
date Sun, 25 Feb 2007 14:35:53 +0000
parents 675574bebb04
children dd297c5f9ccd
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
21287
f423ce0a1c36 Move common code for generating multiple libraries to mpcommon.mak.
diego
parents: 21281
diff changeset
5 ifeq ($(MENCODER),yes)
5550
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
6 LIBNAME2 = libmpencoders.a
17524
cc6cf286e337 Only compile libmpencoders if MEncoder has been enabled.
diego
parents: 17523
diff changeset
7 endif
cc6cf286e337 Only compile libmpencoders if MEncoder has been enabled.
diego
parents: 17523
diff changeset
8
22241
be27c7642939 Remove internal minilzo, external liblzo can be used instead.
diego
parents: 21588
diff changeset
9 SRCS = native/nuppelvideo.c \
21272
045618c5a082 cosmetics: Move around some entries for better readability.
diego
parents: 21271
diff changeset
10 native/RTjpegN.c \
045618c5a082 cosmetics: Move around some entries for better readability.
diego
parents: 21271
diff changeset
11 native/xa_gsm.c \
045618c5a082 cosmetics: Move around some entries for better readability.
diego
parents: 21271
diff changeset
12 img_format.c \
21276
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
13 dec_audio.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
14 ad.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
15 ad_alaw.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
16 ad_dk3adpcm.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
17 ad_dvdpcm.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
18 ad_hwac3.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
19 ad_hwmpa.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
20 ad_imaadpcm.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
21 ad_msadpcm.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
22 ad_msgsm.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
23 ad_pcm.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
24 dec_video.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
25 vd.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
26 vd_hmblck.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
27 vd_lzo.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
28 vd_mpegpes.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
29 vd_mtga.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
30 vd_null.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
31 vd_nuv.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
32 vd_raw.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
33 vd_sgi.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
34 vf.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
35 pullup.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
36 vf_1bpp.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
37 vf_2xsai.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
38 vf_blackframe.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
39 vf_bmovl.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
40 vf_boxblur.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
41 vf_crop.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
42 vf_cropdetect.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
43 vf_decimate.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
44 vf_delogo.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
45 vf_denoise3d.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
46 vf_detc.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
47 vf_dint.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
48 vf_divtc.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
49 vf_down3dright.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
50 vf_dsize.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
51 vf_dvbscale.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
52 vf_eq2.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
53 vf_eq.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
54 vf_expand.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
55 vf_field.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
56 vf_fil.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
57 vf_filmdint.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
58 vf_flip.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
59 vf_format.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
60 vf_framestep.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
61 vf_halfpack.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
62 vf_harddup.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
63 vf_hqdn3d.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
64 vf_hue.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
65 vf_il.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
66 vf_ilpack.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
67 vf_ivtc.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
68 vf_kerndeint.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
69 vf_mirror.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
70 vf_noformat.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
71 vf_noise.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
72 vf_palette.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
73 vf_perspective.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
74 vf_phase.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
75 vf_pp7.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
76 vf_pullup.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
77 vf_rectangle.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
78 vf_remove_logo.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
79 vf_rgb2bgr.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
80 vf_rgbtest.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
81 vf_rotate.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
82 vf_sab.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
83 vf_scale.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
84 vf_smartblur.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
85 vf_softpulldown.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
86 vf_softskip.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
87 vf_swapuv.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
88 vf_telecine.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
89 vf_test.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
90 vf_tfields.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
91 vf_tile.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
92 vf_tinterlace.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
93 vf_unsharp.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
94 vf_vo.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
95 vf_yadif.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
96 vf_yuvcsp.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
97 vf_yuy2.c \
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
98 vf_yvu9.c \
18771
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
99
21275
c1bddf9fcee7 FFmpeg-style conditional dependency declaration
diego
parents: 21274
diff changeset
100 SRCS-$(CONFIG_ASS) += vf_ass.c
21280
db66f5bdb5cd Remove unnecessary variable indirection.
diego
parents: 21276
diff changeset
101 # These filters use private headers and do not work with shared libavcodec.
db66f5bdb5cd Remove unnecessary variable indirection.
diego
parents: 21276
diff changeset
102 SRCS-$(CONFIG_LIBAVCODEC) += vf_fspp.c \
db66f5bdb5cd Remove unnecessary variable indirection.
diego
parents: 21276
diff changeset
103 vf_geq.c \
db66f5bdb5cd Remove unnecessary variable indirection.
diego
parents: 21276
diff changeset
104 vf_mcdeint.c \
db66f5bdb5cd Remove unnecessary variable indirection.
diego
parents: 21276
diff changeset
105 vf_qp.c \
db66f5bdb5cd Remove unnecessary variable indirection.
diego
parents: 21276
diff changeset
106 vf_spp.c \
21329
6e49ddb21b9d cosmetics to ease future patching
diego
parents: 21307
diff changeset
107 vf_uspp.c \
6e49ddb21b9d cosmetics to ease future patching
diego
parents: 21307
diff changeset
108
21281
abc8e3f73107 Merge duplicate entries.
diego
parents: 21280
diff changeset
109 SRCS-$(CONFIG_LIBAVCODEC) += ad_ffmpeg.c vd_ffmpeg.c vf_lavc.c vf_lavcdeint.c
abc8e3f73107 Merge duplicate entries.
diego
parents: 21280
diff changeset
110 SRCS-$(CONFIG_LIBAVCODEC_SO) += ad_ffmpeg.c vd_ffmpeg.c vf_lavc.c vf_lavcdeint.c
21276
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
111 SRCS-$(CONFIG_LIBPOSTPROC) += vf_pp.c
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
112 SRCS-$(CONFIG_LIBPOSTPROC_SO) += vf_pp.c
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
113 SRCS-$(FAAD) += ad_faad.c
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
114 SRCS-$(JPEG) += vd_ijpg.c
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
115 SRCS-$(LIBA52) += ad_liba52.c
21281
abc8e3f73107 Merge duplicate entries.
diego
parents: 21280
diff changeset
116 SRCS-$(LIBDV) += ad_libdv.c vd_libdv.c
21276
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
117 SRCS-$(LIBMAD) += ad_libmad.c
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
118 SRCS-$(LIBMPEG2) += vd_libmpeg2.c
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
119 SRCS-$(LIBTHEORA) += vd_theora.c
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
120 SRCS-$(LIBVORBIS) += ad_libvorbis.c
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
121 SRCS-$(MP3LIB) += ad_mp3lib.c
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
122 SRCS-$(MUSEPACK) += ad_mpc.c
21281
abc8e3f73107 Merge duplicate entries.
diego
parents: 21280
diff changeset
123 SRCS-$(PNG) += vd_mpng.c vf_screenshot.c
abc8e3f73107 Merge duplicate entries.
diego
parents: 21280
diff changeset
124 SRCS-$(QTX_CODECS) += ad_qtaudio.c vd_qtvideo.c
abc8e3f73107 Merge duplicate entries.
diego
parents: 21280
diff changeset
125 SRCS-$(REAL_CODECS) += ad_realaud.c vd_realvid.c
21276
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
126 SRCS-$(SPEEX) += ad_speex.c
21281
abc8e3f73107 Merge duplicate entries.
diego
parents: 21280
diff changeset
127 SRCS-$(WIN32DLL) += ad_acm.c ad_dmo.c ad_dshow.c ad_twin.c \
abc8e3f73107 Merge duplicate entries.
diego
parents: 21280
diff changeset
128 vd_dmo.c vd_dshow.c vd_vfw.c vd_vfwex.c
21276
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
129 SRCS-$(XANIM_CODECS) += vd_xanim.c
eda0d1a84e81 cosmetics: alphabetical order
diego
parents: 21275
diff changeset
130 SRCS-$(XVID4) += vd_xvid4.c
21281
abc8e3f73107 Merge duplicate entries.
diego
parents: 21280
diff changeset
131 SRCS-$(ZORAN) += vd_zrmjpeg.c vf_zrmjpeg.c
18771
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
132
a1807995e2ab Move #ifdefs around complete files into the build system.
diego
parents: 18765
diff changeset
133
21288
2dcbbe65d16d Use standard SRCS2 name for MEncoder sources.
diego
parents: 21287
diff changeset
134 SRCS2=ae.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
135 ae_pcm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
136 ve.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15693
diff changeset
137 ve_raw.c \
8024
13e08eff5f90 cosmetics :)
arpi
parents: 8010
diff changeset
138
21288
2dcbbe65d16d Use standard SRCS2 name for MEncoder sources.
diego
parents: 21287
diff changeset
139 SRCS2-$(CONFIG_LIBAVCODEC) += ae_lavc.c ve_lavc.c
2dcbbe65d16d Use standard SRCS2 name for MEncoder sources.
diego
parents: 21287
diff changeset
140 SRCS2-$(CONFIG_LIBAVCODEC_SO) += ae_lavc.c ve_lavc.c
2dcbbe65d16d Use standard SRCS2 name for MEncoder sources.
diego
parents: 21287
diff changeset
141 SRCS2-$(LIBDV) += ve_libdv.c
22244
675574bebb04 Make liblzo conditional to the appropriate #defines.
diego
parents: 22241
diff changeset
142 SRCS2-$(LIBLZO) += ve_nuv.c
21288
2dcbbe65d16d Use standard SRCS2 name for MEncoder sources.
diego
parents: 21287
diff changeset
143 SRCS2-$(QTX_CODECS) += ve_qtvideo.c
2dcbbe65d16d Use standard SRCS2 name for MEncoder sources.
diego
parents: 21287
diff changeset
144 SRCS2-$(WIN32DLL) += ve_vfw.c
2dcbbe65d16d Use standard SRCS2 name for MEncoder sources.
diego
parents: 21287
diff changeset
145 SRCS2-$(X264) += ve_x264.c
2dcbbe65d16d Use standard SRCS2 name for MEncoder sources.
diego
parents: 21287
diff changeset
146 SRCS2-$(XVID4) += ve_xvid4.c
2dcbbe65d16d Use standard SRCS2 name for MEncoder sources.
diego
parents: 21287
diff changeset
147 SRCS2-$(FAAC) += ae_faac.c
2dcbbe65d16d Use standard SRCS2 name for MEncoder sources.
diego
parents: 21287
diff changeset
148 SRCS2-$(TOOLAME) += ae_toolame.c
2dcbbe65d16d Use standard SRCS2 name for MEncoder sources.
diego
parents: 21287
diff changeset
149 SRCS2-$(TWOLAME) += ae_twolame.c
2dcbbe65d16d Use standard SRCS2 name for MEncoder sources.
diego
parents: 21287
diff changeset
150 SRCS2-$(MP3LAME) += ae_lame.c
15234
e84a6ae9d51e audio encoding reworked
nicodvb
parents: 14276
diff changeset
151
21275
c1bddf9fcee7 FFmpeg-style conditional dependency declaration
diego
parents: 21274
diff changeset
152
21373
19130f5f7066 Explain reason for -I.. in CFLAGS here.
diego
parents: 21329
diff changeset
153 # -I.. to include ../liba52 before ../libavcodec/liba52.
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21228
diff changeset
154 CFLAGS = -I.. \
16521
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
155 -Inative \
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
156 -I../libmpdemux \
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents: 19190
diff changeset
157 -I../stream \
16521
3636c18a1b5e Break up all long lines that were missed during the last reformatting round.
diego
parents: 16520
diff changeset
158 -I../loader \
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
159
21390
fd1495e1538d Add libav include paths to CFLAGS without indirection.
diego
parents: 21373
diff changeset
160 CFLAGS-$(CONFIG_LIBAVUTIL) += -I../libavutil
fd1495e1538d Add libav include paths to CFLAGS without indirection.
diego
parents: 21373
diff changeset
161 CFLAGS-$(CONFIG_LIBAVCODEC) += -I../libavcodec
fd1495e1538d Add libav include paths to CFLAGS without indirection.
diego
parents: 21373
diff changeset
162
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21228
diff changeset
163 include ../mpcommon.mak
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
164
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21228
diff changeset
165 clean::
14138
40ac42c6dd6d make clean should also clean the native subdirectory.
diego
parents: 13426
diff changeset
166 rm -f native/*.o native/*.a native/*~
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
167