annotate osdep/Makefile @ 9660:c2d23e02522b

improvements to detc filter: -> use of 8x8 blocks rather than 16x16 to better localize the search for interlacing. this helps detect interlacing in very small motions, e.g. mouths in anime. -> removed some redundant conditions in the logic -> looser condition for detecting lacing and more forgiving of slight mismatches between fields from the two telecine frames to make up for quantization noise in low quality encodes. this code is still mostly experimental but probably better than the old version, so maybe it should be backported to 0.90...?
author rfelker
date Sun, 23 Mar 2003 03:36:24 +0000
parents 350b660ef93c
children e2134d2f18fb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
1
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
2 include ../config.mak
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
3
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
4 LIBNAME = libosdep.a
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
5
9465
350b660ef93c precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
alex
parents: 9380
diff changeset
6 SRCS=getch2.c shmem.c strsep.c vsscanf.c scandir.c # timer.c
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
7
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
8 ifeq ($(TARGET_ARCH_X86),yes)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
9 ifeq ($(TARGET_OS),Linux)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
10 SRCS += lrmi.c vbelib.c
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
11 endif
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
12 endif
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
13
9465
350b660ef93c precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
alex
parents: 9380
diff changeset
14 ifeq ($(MACOSX),yes)
350b660ef93c precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
alex
parents: 9380
diff changeset
15 SRCS += timer-macosx.c
350b660ef93c precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
alex
parents: 9380
diff changeset
16 else
350b660ef93c precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
alex
parents: 9380
diff changeset
17 SRCS += timer-lx.c
350b660ef93c precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
alex
parents: 9380
diff changeset
18 endif
350b660ef93c precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
alex
parents: 9380
diff changeset
19
350b660ef93c precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
alex
parents: 9380
diff changeset
20 OBJS=$(SRCS:.c=.o)
350b660ef93c precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
alex
parents: 9380
diff changeset
21
9329
113095b8258b required for i18n+-lintl (found by Nexus)
arpi
parents: 8290
diff changeset
22 CFLAGS = $(OPTFLAGS) -I. -I.. $(EXTRA_INC)
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
23 # -I/usr/X11R6/include/
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
24
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
25 .SUFFIXES: .c .o
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
26
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
27 # .PHONY: all clean
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
28
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
29 .c.o:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
30 $(CC) -c $(CFLAGS) -o $@ $<
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
31
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
32 $(LIBNAME): $(OBJS)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
33 $(AR) r $(LIBNAME) $(OBJS)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
34
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
35 all: $(LIBNAME)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
36
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
37 clean:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
38 rm -f *.o *.a *~
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
39
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
40 distclean:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
41 rm -f Makefile.bak *.o *.a *~ .depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
42
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
43 dep: depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
44
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
45 depend:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
46 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
47
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
48 #
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
49 # include dependency files if they exist
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
50 #
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
51 ifneq ($(wildcard .depend),)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
52 include .depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
53 endif