2008-04-07 23:16:31 +02:00
|
|
|
include $(SUBDIR)../config.mak
|
2007-02-28 04:40:23 +01:00
|
|
|
|
2008-03-08 15:39:43 +01:00
|
|
|
NAME = avutil
|
|
|
|
|
2008-11-20 23:53:18 +01:00
|
|
|
HEADERS = adler32.h \
|
2010-03-08 22:28:56 +01:00
|
|
|
attributes.h \
|
2008-11-20 23:53:18 +01:00
|
|
|
avstring.h \
|
|
|
|
avutil.h \
|
|
|
|
base64.h \
|
2010-07-11 00:22:07 +02:00
|
|
|
bswap.h \
|
2008-11-20 23:53:18 +01:00
|
|
|
common.h \
|
2010-09-04 11:59:08 +02:00
|
|
|
cpu.h \
|
2008-11-20 23:53:18 +01:00
|
|
|
crc.h \
|
2010-03-13 10:43:24 +01:00
|
|
|
error.h \
|
2010-06-05 14:01:28 +02:00
|
|
|
eval.h \
|
2008-11-20 23:53:18 +01:00
|
|
|
fifo.h \
|
|
|
|
intfloat_readwrite.h \
|
2010-07-11 00:22:07 +02:00
|
|
|
intreadwrite.h \
|
2010-07-02 14:12:06 +02:00
|
|
|
lfg.h \
|
2008-11-20 23:53:18 +01:00
|
|
|
log.h \
|
|
|
|
lzo.h \
|
|
|
|
mathematics.h \
|
|
|
|
md5.h \
|
|
|
|
mem.h \
|
2009-11-25 00:33:41 +01:00
|
|
|
pixdesc.h \
|
2009-02-22 15:27:50 +01:00
|
|
|
pixfmt.h \
|
2010-05-23 10:53:40 +02:00
|
|
|
random_seed.h \
|
2008-11-20 23:53:18 +01:00
|
|
|
rational.h \
|
2009-06-09 09:18:58 +02:00
|
|
|
sha1.h \
|
2008-11-20 23:53:18 +01:00
|
|
|
|
2010-01-19 05:40:16 +01:00
|
|
|
BUILT_HEADERS = avconfig.h
|
|
|
|
|
2008-10-26 16:21:45 +01:00
|
|
|
OBJS = adler32.o \
|
|
|
|
aes.o \
|
2009-01-29 23:12:36 +01:00
|
|
|
avstring.o \
|
2008-10-26 16:21:45 +01:00
|
|
|
base64.o \
|
2010-09-08 17:07:14 +02:00
|
|
|
cpu.o \
|
2008-10-26 16:21:45 +01:00
|
|
|
crc.o \
|
|
|
|
des.o \
|
2010-03-25 23:46:35 +01:00
|
|
|
error.o \
|
2010-06-05 14:01:28 +02:00
|
|
|
eval.o \
|
2008-10-26 16:21:45 +01:00
|
|
|
fifo.o \
|
|
|
|
intfloat_readwrite.o \
|
Make ff_inverse stay with libavutil, and optional copy it to libavcodec.
The ff_inverse table is used by FASTDIV macro, defined in libavutil, but up
to now the table was defined only in libavcodec.
After this change, the main copy of ff_inverse is part of libavutil (just
like FASTDIV), but if CONFIG_SMALL is unset, then a different copy is made
available to libavcodec, to avoid the performance penalty of using an
external look up table.
Dynamic linking works, because the libraries are linked with -Bsymbolic, so
the local copy of the symbol has priority over the external; static linking
works because the table is on a standalone object file in both libraries,
so the linker is able to discard one of the two.
Tested on Linux/x86-64 and Mac OS X/x86-64.
Originally committed as revision 24383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 14:37:37 +02:00
|
|
|
inverse.o \
|
2008-10-26 16:21:45 +01:00
|
|
|
lfg.o \
|
|
|
|
lls.o \
|
|
|
|
log.o \
|
|
|
|
lzo.o \
|
|
|
|
mathematics.o \
|
|
|
|
md5.o \
|
|
|
|
mem.o \
|
2010-09-26 16:25:22 +02:00
|
|
|
opt.o \
|
2009-11-25 00:33:41 +01:00
|
|
|
pixdesc.o \
|
2009-03-08 02:28:14 +01:00
|
|
|
random_seed.o \
|
2008-10-26 16:21:45 +01:00
|
|
|
rational.o \
|
|
|
|
rc4.o \
|
2009-07-10 17:50:49 +02:00
|
|
|
sha.o \
|
2008-10-26 16:21:45 +01:00
|
|
|
tree.o \
|
|
|
|
utils.o \
|
2007-02-28 04:40:23 +01:00
|
|
|
|
2010-09-09 20:51:45 +02:00
|
|
|
OBJS-$(ARCH_ARM) += arm/cpu.o
|
|
|
|
OBJS-$(ARCH_PPC) += ppc/cpu.o
|
|
|
|
OBJS-$(ARCH_X86) += x86/cpu.o
|
|
|
|
|
2010-09-08 17:07:14 +02:00
|
|
|
TESTPROGS = adler32 aes base64 cpu crc des lls md5 pca sha softfloat tree
|
2009-04-09 16:55:05 +02:00
|
|
|
TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
|
2008-01-27 23:39:30 +01:00
|
|
|
|
2009-01-11 23:48:07 +01:00
|
|
|
DIRS = arm bfin sh4 x86
|
|
|
|
|
2010-03-08 21:17:47 +01:00
|
|
|
ARCH_HEADERS = bswap.h intmath.h intreadwrite.h timer.h
|
|
|
|
|
2008-04-07 23:16:31 +02:00
|
|
|
include $(SUBDIR)../subdir.mak
|
2008-01-28 00:27:13 +01:00
|
|
|
|
2009-04-03 00:41:58 +02:00
|
|
|
$(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2
|