Mercurial > libavcodec.hg
annotate libpostproc/Makefile @ 2497:69adfbbdcdeb libavcodec
- samples from mplayer ftp in the "adv" profile seem to have profile=2,
which isn't the advanced one; and indeed, using adv. profile parser fails.
Using normal parser works, and that's what is done
- attempt at taking care of stride for NORM2 bitplane decoding
- duplication of much code from msmpeg4.c; this code isn't yet used, but
goes down as far as the block layer (mainly Transform Type stuff, the
remains are wild editing without checking). Unusable yet, and lacks the AC
decoding (but a step further in bitstream parsing)
patch by anonymous
| author | michael |
|---|---|
| date | Fri, 04 Feb 2005 02:20:38 +0000 |
| parents | 9891c6a212ca |
| children | e003222c878d |
| rev | line source |
|---|---|
| 127 | 1 |
| 1069 | 2 include ../../config.mak |
| 127 | 3 |
|
812
607e867a8be4
disabling compilation of .so if its not needed, gcc 3.1 seems to have problems with it
michael
parents:
790
diff
changeset
|
4 ifeq ($(SHARED_PP),yes) |
|
2285
9891c6a212ca
Build process: libpostproc patch by (Franti?ek Dvo??k <valtri at users dot sourceforge dot net>)
michael
parents:
2283
diff
changeset
|
5 SPPLIB = $(SLIBPREF)postproc$(SLIBSUF) |
| 787 | 6 SPPVERSION = 0.0.1 |
|
812
607e867a8be4
disabling compilation of .so if its not needed, gcc 3.1 seems to have problems with it
michael
parents:
790
diff
changeset
|
7 endif |
|
2285
9891c6a212ca
Build process: libpostproc patch by (Franti?ek Dvo??k <valtri at users dot sourceforge dot net>)
michael
parents:
2283
diff
changeset
|
8 PPLIB = $(LIBPREF)postproc$(LIBSUF) |
| 127 | 9 |
| 787 | 10 PPOBJS=postprocess.o |
| 11 SPPOBJS=postprocess_pic.o | |
| 127 | 12 |
|
610
015b33f3e750
removed -W -Wall -g and other gcc-specific warning/debug options
arpi
parents:
508
diff
changeset
|
13 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC) |
| 127 | 14 # -I/usr/X11R6/include/ |
| 15 | |
| 16 .SUFFIXES: .c .o | |
| 17 | |
| 18 # .PHONY: all clean | |
| 19 | |
| 20 .c.o: | |
| 1069 | 21 $(CC) -c $(CFLAGS) -I.. -I../.. -o $@ $< |
| 127 | 22 |
| 787 | 23 all: $(SWSLIB) $(PPLIB) $(SPPLIB) |
| 127 | 24 |
| 25 clean: | |
|
2285
9891c6a212ca
Build process: libpostproc patch by (Franti?ek Dvo??k <valtri at users dot sourceforge dot net>)
michael
parents:
2283
diff
changeset
|
26 rm -f *.o *.a *~ *.so $(PPLIB) $(SPPLIB) |
| 127 | 27 |
| 28 distclean: | |
| 787 | 29 rm -f Makefile.bak *.o *.a *~ *.so .depend |
| 127 | 30 |
| 31 dep: depend | |
| 32 | |
| 33 depend: | |
| 1069 | 34 $(CC) -MM $(CFLAGS) postprocess.c 1>.depend |
|
508
8f9fa4ec9cbb
colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents:
170
diff
changeset
|
35 |
|
812
607e867a8be4
disabling compilation of .so if its not needed, gcc 3.1 seems to have problems with it
michael
parents:
790
diff
changeset
|
36 ifeq ($(SHARED_PP),yes) |
| 787 | 37 postprocess_pic.o: postprocess.c |
| 1069 | 38 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o $@ $< |
| 787 | 39 |
| 40 $(SPPLIB): $(SPPOBJS) | |
| 41 $(CC) -shared -Wl,-soname,$(SPPLIB).0 \ | |
| 42 -o $(SPPLIB) $(SPPOBJS) | |
|
812
607e867a8be4
disabling compilation of .so if its not needed, gcc 3.1 seems to have problems with it
michael
parents:
790
diff
changeset
|
43 endif |
| 834 | 44 |
| 787 | 45 $(PPLIB): $(PPOBJS) |
|
1242
db903b6fd197
ranlib patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
michaelni
parents:
1069
diff
changeset
|
46 rm -f $@ |
|
db903b6fd197
ranlib patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
michaelni
parents:
1069
diff
changeset
|
47 $(AR) rc $@ $(PPOBJS) |
|
db903b6fd197
ranlib patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
michaelni
parents:
1069
diff
changeset
|
48 $(RANLIB) $@ |
| 787 | 49 |
| 50 install: all | |
| 51 ifeq ($(SHARED_PP),yes) | |
|
2285
9891c6a212ca
Build process: libpostproc patch by (Franti?ek Dvo??k <valtri at users dot sourceforge dot net>)
michael
parents:
2283
diff
changeset
|
52 ifeq ($(CONFIG_WIN32),yes) |
|
9891c6a212ca
Build process: libpostproc patch by (Franti?ek Dvo??k <valtri at users dot sourceforge dot net>)
michael
parents:
2283
diff
changeset
|
53 install $(INSTALLSTRIP) -m 755 $(SPPLIB) "$(prefix)" |
|
9891c6a212ca
Build process: libpostproc patch by (Franti?ek Dvo??k <valtri at users dot sourceforge dot net>)
michael
parents:
2283
diff
changeset
|
54 else |
| 787 | 55 install -d $(prefix)/lib |
|
2283
e968ff495d3a
Help debugging by keeping symbols ans line numbers patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
michael
parents:
2121
diff
changeset
|
56 install $(INSTALLSTRIP) -m 755 $(SPPLIB) $(prefix)/lib/$(SPPLIB).$(SPPVERSION) |
| 787 | 57 ln -sf $(SPPLIB).$(SPPVERSION) $(prefix)/lib/$(SPPLIB) |
| 58 ldconfig || true | |
|
2121
680868144447
buglet in libpostproc Makefile patch by (Brendan Kehoe <brendan at zen dot org>)
michael
parents:
1242
diff
changeset
|
59 endif |
|
2285
9891c6a212ca
Build process: libpostproc patch by (Franti?ek Dvo??k <valtri at users dot sourceforge dot net>)
michael
parents:
2283
diff
changeset
|
60 endif |
| 787 | 61 mkdir -p $(prefix)/include/postproc |
| 62 install -m 644 postprocess.h $(prefix)/include/postproc/postprocess.h | |
| 63 | |
| 834 | 64 |
| 127 | 65 # |
| 66 # include dependency files if they exist | |
| 67 # | |
| 68 ifneq ($(wildcard .depend),) | |
| 69 include .depend | |
| 70 endif |
