|
|
|
1 |
LIB=libcore.a |
LIB=libcore.a |
2 |
LIBSO=libxvidcore.so |
LIBSO=libxvidcore.so |
3 |
|
|
4 |
|
|
5 |
SRCDIR = ../../src |
SRCDIR = ../../src |
6 |
|
|
7 |
SRC = $(SRCDIR)/common/fdct.c \ |
SRC = \ |
8 |
$(SRCDIR)/common/idct.c \ |
$(SRCDIR)/decoder.c \ |
9 |
$(SRCDIR)/common/interpolate8x8.c \ |
$(SRCDIR)/divx4.c \ |
10 |
$(SRCDIR)/common/quantize.c \ |
$(SRCDIR)/encoder.c \ |
11 |
$(SRCDIR)/common/quantize4.c \ |
$(SRCDIR)/xvid.c \ |
12 |
$(SRCDIR)/common/transfer.c \ |
$(SRCDIR)/bitstream/bitstream.c \ |
13 |
$(SRCDIR)/common/common.c \ |
$(SRCDIR)/bitstream/cbp.c \ |
14 |
$(SRCDIR)/common/timer.c \ |
$(SRCDIR)/bitstream/mbcoding.c \ |
15 |
$(SRCDIR)/decoder/bitreader.c \ |
$(SRCDIR)/dct/fdct.c \ |
16 |
$(SRCDIR)/decoder/decoder.c \ |
$(SRCDIR)/dct/idct.c \ |
17 |
$(SRCDIR)/decoder/mbdecoding.c \ |
$(SRCDIR)/image/colorspace.c \ |
|
$(SRCDIR)/decoder/mbdeprediction.c \ |
|
|
$(SRCDIR)/encoder/cbp.c \ |
|
|
$(SRCDIR)/encoder/sad.c \ |
|
|
$(SRCDIR)/encoder/bitwriter.c \ |
|
|
$(SRCDIR)/encoder/encoder.c \ |
|
|
$(SRCDIR)/encoder/mbcoding.c \ |
|
|
$(SRCDIR)/encoder/mbmotionestcomp.c \ |
|
|
$(SRCDIR)/encoder/mbprediction.c \ |
|
|
$(SRCDIR)/encoder/mbtransquant.c \ |
|
|
$(SRCDIR)/encoder/putvlc.c \ |
|
|
$(SRCDIR)/encoder/ratecontrol.c \ |
|
|
$(SRCDIR)/image/halfpel.c \ |
|
|
$(SRCDIR)/image/in.c \ |
|
|
$(SRCDIR)/image/out.c \ |
|
|
$(SRCDIR)/image/halfpel.c \ |
|
18 |
$(SRCDIR)/image/image.c \ |
$(SRCDIR)/image/image.c \ |
19 |
$(SRCDIR)/image/in.c \ |
$(SRCDIR)/image/interpolate8x8.c \ |
20 |
$(SRCDIR)/image/out.c \ |
$(SRCDIR)/image/font.c \ |
21 |
$(SRCDIR)/opendivx.c \ |
$(SRCDIR)/motion/motion_comp.c \ |
22 |
$(SRCDIR)/xvid.c |
$(SRCDIR)/motion/motion_est.c \ |
23 |
|
$(SRCDIR)/motion/smp_motion_est.c \ |
24 |
DIRS = $(SRCDIR)/*.o \ |
$(SRCDIR)/motion/sad.c \ |
25 |
$(SRCDIR)/common/*.o \ |
$(SRCDIR)/prediction/mbprediction.c \ |
26 |
$(SRCDIR)/decoder/*.o \ |
$(SRCDIR)/quant/adapt_quant.c \ |
27 |
$(SRCDIR)/encoder/*.o \ |
$(SRCDIR)/quant/quant_h263.c \ |
28 |
$(SRCDIR)/image/*.o |
$(SRCDIR)/quant/quant_matrix.c \ |
29 |
|
$(SRCDIR)/quant/quant_mpeg4.c \ |
30 |
|
$(SRCDIR)/utils/emms.c \ |
31 |
|
$(SRCDIR)/utils/mbtransquant.c \ |
32 |
|
$(SRCDIR)/utils/mem_align.c \ |
33 |
|
$(SRCDIR)/utils/mem_transfer.c \ |
34 |
|
$(SRCDIR)/utils/ratecontrol.c \ |
35 |
|
$(SRCDIR)/utils/timer.c |
36 |
|
|
37 |
|
|
38 |
|
DIRS = \ |
39 |
|
$(SRCDIR)/*.o \ |
40 |
|
$(SRCDIR)/bitstream/*.o \ |
41 |
|
$(SRCDIR)/dct/*.o \ |
42 |
|
$(SRCDIR)/image/*.o \ |
43 |
|
$(SRCDIR)/motion/*.o \ |
44 |
|
$(SRCDIR)/prediction/*.o \ |
45 |
|
$(SRCDIR)/quant/*.o \ |
46 |
|
$(SRCDIR)/utils/*.o |
47 |
|
|
48 |
SRC_INTEL = \ |
SRC_INTEL = \ |
49 |
$(SRCDIR)/common/intel_mmx/cpuid.asm \ |
$(SRCDIR)/utils/x86_asm/cpuid.asm \ |
50 |
$(SRCDIR)/common/intel_mmx/fdct_mmx.asm \ |
\ |
51 |
$(SRCDIR)/common/intel_mmx/idct_mmx.asm \ |
$(SRCDIR)/bitstream/x86_asm/cbp_mmx.asm \ |
52 |
$(SRCDIR)/common/intel_mmx/interpolate8x8_mmx.asm \ |
$(SRCDIR)/bitstream/x86_asm/cbp_sse2.asm \ |
53 |
$(SRCDIR)/common/intel_mmx/quantize_mmx.asm \ |
$(SRCDIR)/dct/x86_asm/fdct_mmx.asm \ |
54 |
$(SRCDIR)/common/intel_mmx/quantize4_mmx.asm \ |
$(SRCDIR)/dct/x86_asm/idct_mmx.asm \ |
55 |
$(SRCDIR)/common/intel_mmx/transfer_mmx.asm \ |
$(SRCDIR)/image/x86_asm/interpolate8x8_mmx.asm \ |
56 |
$(SRCDIR)/encoder/intel_mmx/cbp_mmx.asm \ |
$(SRCDIR)/image/x86_asm/rgb_to_yv12_mmx.asm \ |
57 |
$(SRCDIR)/encoder/intel_mmx/sad_mmx.asm \ |
$(SRCDIR)/image/x86_asm/yuv_to_yv12_mmx.asm \ |
58 |
$(SRCDIR)/image/intel_mmx/halfpel_mmx.asm \ |
$(SRCDIR)/image/x86_asm/yuyv_to_yv12_mmx.asm \ |
59 |
$(SRCDIR)/image/intel_mmx/in_rgb_mmx.asm \ |
$(SRCDIR)/image/x86_asm/yv12_to_rgb24_mmx.asm \ |
60 |
$(SRCDIR)/image/intel_mmx/in_yuv_mmx.asm \ |
$(SRCDIR)/image/x86_asm/yv12_to_rgb32_mmx.asm \ |
61 |
$(SRCDIR)/image/intel_mmx/in_yuyv_mmx.asm \ |
$(SRCDIR)/image/x86_asm/yv12_to_yuyv_mmx.asm \ |
62 |
$(SRCDIR)/image/intel_mmx/out_rgb24_mmx.asm \ |
$(SRCDIR)/motion/x86_asm/sad_mmx.asm \ |
63 |
$(SRCDIR)/image/intel_mmx/out_rgb32_mmx.asm \ |
$(SRCDIR)/quant/x86_asm/quantize4_mmx.asm \ |
64 |
$(SRCDIR)/image/intel_mmx/out_yuyv_mmx.asm |
$(SRCDIR)/quant/x86_asm/quantize_mmx.asm \ |
65 |
|
$(SRCDIR)/utils/x86_asm/mem_transfer_mmx.asm \ |
66 |
|
\ |
67 |
|
$(SRCDIR)/image/x86_asm/interpolate8x8_xmm.asm \ |
68 |
|
$(SRCDIR)/motion/x86_asm/sad_xmm.asm \ |
69 |
|
$(SRCDIR)/motion/x86_asm/sad_sse2.asm \ |
70 |
|
\ |
71 |
|
$(SRCDIR)/image/x86_asm/interpolate8x8_3dn.asm |
72 |
|
|
73 |
DIRS_INTEL = \ |
DIRS_INTEL = \ |
74 |
$(SRCDIR)/common/intel_mmx/*.o \ |
$(SRCDIR)/bitstream/x86_asm/*.o \ |
75 |
$(SRCDIR)/decoder/intel_mmx/*.o \ |
$(SRCDIR)/dct/x86_asm/*.o \ |
76 |
$(SRCDIR)/encoder/intel_mmx/*.o \ |
$(SRCDIR)/image/x86_asm/*.o \ |
77 |
$(SRCDIR)/image/intel_mmx/*.o |
$(SRCDIR)/motion/x86_asm/*.o \ |
78 |
|
$(SRCDIR)/quant/x86_asm/*.o \ |
79 |
|
$(SRCDIR)/utils/x86_asm/*.o |
80 |
|
|
81 |
|
SRC_IA64 = \ |
82 |
|
$(SRCDIR)/dct/ia64_asm/fdct_ia64.s \ |
83 |
|
$(SRCDIR)/image/ia64_asm/interpolate8x8_ia64.s \ |
84 |
|
$(SRCDIR)/motion/ia64_asm/sad_ia64.s \ |
85 |
|
$(SRCDIR)/motion/ia64_asm/halfpel8_refine_ia64.s \ |
86 |
|
$(SRCDIR)/quant/ia64_asm/quant_h263_ia64.s \ |
87 |
|
$(SRCDIR)/utils/ia64_asm/mem_transfer_ia64.s |
88 |
|
|
89 |
|
ifeq ($(CC),ecc) |
90 |
|
SRC_IA64 += \ |
91 |
|
$(SRCDIR)/dct/ia64_asm/idct_ia64_ecc.s |
92 |
|
else |
93 |
|
SRC_IA64 += \ |
94 |
|
$(SRCDIR)/dct/ia64_asm/idct_ia64_gcc.s |
95 |
|
endif |
96 |
|
|
97 |
|
|
98 |
|
DIRS_IA64 = \ |
99 |
|
$(SRCDIR)/dct/ia64_asm/*.o \ |
100 |
|
$(SRCDIR)/image/ia64_asm/*.o \ |
101 |
|
$(SRCDIR)/motion/ia64_asm/*.o \ |
102 |
|
$(SRCDIR)/quant/ia64_asm/*.o \ |
103 |
|
$(SRCDIR)/utils/ia64_asm/*.o |
104 |
|
|
105 |
|
SRC_PPC = \ |
106 |
|
$(SRCDIR)/bitstream/ppc_asm/cbp_ppc.s |
107 |
|
|
108 |
|
SRC_ALTIVEC = \ |
109 |
|
$(SRCDIR)/bitstream/ppc_asm/cbp_altivec.s \ |
110 |
|
$(SRCDIR)/dct/ppc_asm/fdct_altivec.s \ |
111 |
|
$(SRCDIR)/dct/ppc_asm/idct_altivec.s \ |
112 |
|
$(SRCDIR)/motion/ppc_asm/sad_altivec.s |
113 |
|
|
114 |
|
|
115 |
|
DIRS_PPC = \ |
116 |
|
$(SRCDIR)/bitstream/ppc_asm/*.o \ |
117 |
|
$(SRCDIR)/dct/ppc_asm/*.o |