annotate libpostproc/Makefile @ 511:fa4425cf6b31 libavcodec

Assembly version of put_pixels. This is currently the function that takes the most time, and it allows for more efficient unaligned access and better control over memory latencies.
author mellum
date Mon, 01 Jul 2002 23:47:01 +0000
parents 8f9fa4ec9cbb
children 015b33f3e750
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
1
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
2 include ../config.mak
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
3
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
4 LIBNAME = libpostproc.a
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
5
147
598fdb31f213 Move yuv2rgb to postprocess
nick
parents: 139
diff changeset
6 SRCS=postprocess.c swscale.c rgb2rgb.c yuv2rgb.c
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
7 OBJS=$(SRCS:.c=.o)
508
8f9fa4ec9cbb colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents: 170
diff changeset
8 CS_TEST_OBJS=cs_test.o rgb2rgb.o ../cpudetect.o ../mp_msg.o
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
9
159
660233346f4f postproc/ dir now respects --with-extraincdir
gabucino
parents: 147
diff changeset
10 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -Wall $(EXTRA_INC)
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
11 # -I/usr/X11R6/include/
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
12
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
13 .SUFFIXES: .c .o
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
14
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
15 # .PHONY: all clean
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
16
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
17 .c.o:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
18 $(CC) -c $(CFLAGS) -o $@ $<
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
19
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
20 $(LIBNAME): $(OBJS)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
21 $(AR) r $(LIBNAME) $(OBJS)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
22
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
23 all: $(LIBNAME)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
24
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
25 clean:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
26 rm -f *.o *.a *~
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
27
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
28 distclean:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
29 rm -f Makefile.bak *.o *.a *~ .depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
30
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
31 dep: depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
32
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
33 depend:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
35
508
8f9fa4ec9cbb colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents: 170
diff changeset
36 cs_test: $(CS_TEST_OBJS)
8f9fa4ec9cbb colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents: 170
diff changeset
37 $(CC) $(CS_TEST_OBJS) -o cs_test
8f9fa4ec9cbb colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents: 170
diff changeset
38
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
39 #
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
40 # include dependency files if they exist
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
41 #
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
42 ifneq ($(wildcard .depend),)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
43 include .depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
44 endif