2011-06-26 10:46:05 +03:00
|
|
|
include $(SUBDIR)../config.mak
|
|
|
|
|
2008-03-08 16:39:43 +02:00
|
|
|
NAME = avutil
|
|
|
|
|
2008-11-21 00:53:18 +02:00
|
|
|
HEADERS = adler32.h \
|
2011-04-07 16:19:23 +03:00
|
|
|
aes.h \
|
2010-03-08 23:28:56 +02:00
|
|
|
attributes.h \
|
2011-02-07 15:37:08 +02:00
|
|
|
audioconvert.h \
|
2010-10-01 16:55:13 +03:00
|
|
|
avassert.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
avstring.h \
|
|
|
|
avutil.h \
|
|
|
|
base64.h \
|
2012-02-01 22:37:50 +03:00
|
|
|
bprint.h \
|
2010-07-11 01:22:07 +03:00
|
|
|
bswap.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
common.h \
|
2010-09-04 12:59:08 +03:00
|
|
|
cpu.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
crc.h \
|
2010-03-13 11:43:24 +02:00
|
|
|
error.h \
|
2010-06-05 15:01:28 +03:00
|
|
|
eval.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
fifo.h \
|
2010-12-22 16:13:04 +02:00
|
|
|
file.h \
|
2011-02-07 15:37:08 +02:00
|
|
|
imgutils.h \
|
2012-01-29 23:09:22 +03:00
|
|
|
intfloat.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
intfloat_readwrite.h \
|
2010-07-11 01:22:07 +03:00
|
|
|
intreadwrite.h \
|
2010-07-02 15:12:06 +03:00
|
|
|
lfg.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
log.h \
|
|
|
|
lzo.h \
|
|
|
|
mathematics.h \
|
|
|
|
md5.h \
|
|
|
|
mem.h \
|
2011-05-22 13:45:00 +03:00
|
|
|
dict.h \
|
2010-10-09 02:42:25 +03:00
|
|
|
opt.h \
|
2011-02-07 15:37:08 +02:00
|
|
|
parseutils.h \
|
2009-11-25 01:33:41 +02:00
|
|
|
pixdesc.h \
|
2009-02-22 16:27:50 +02:00
|
|
|
pixfmt.h \
|
2010-05-23 11:53:40 +03:00
|
|
|
random_seed.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
rational.h \
|
2011-02-07 15:37:08 +02:00
|
|
|
samplefmt.h \
|
2011-04-07 16:19:23 +03:00
|
|
|
sha.h \
|
2012-01-16 13:20:46 +03:00
|
|
|
timecode.h \
|
2012-01-17 19:12:42 +03:00
|
|
|
timestamp.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
|
2010-01-19 06:40:16 +02:00
|
|
|
BUILT_HEADERS = avconfig.h
|
|
|
|
|
2008-10-26 17:21:45 +02:00
|
|
|
OBJS = adler32.o \
|
|
|
|
aes.o \
|
2011-02-07 15:37:08 +02:00
|
|
|
audioconvert.o \
|
2009-01-30 00:12:36 +02:00
|
|
|
avstring.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
base64.o \
|
2012-02-01 22:37:50 +03:00
|
|
|
bprint.o \
|
2010-09-08 18:07:14 +03:00
|
|
|
cpu.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
crc.o \
|
|
|
|
des.o \
|
2010-03-26 00:46:35 +02:00
|
|
|
error.o \
|
2010-06-05 15:01:28 +03:00
|
|
|
eval.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
fifo.o \
|
2010-12-22 16:13:04 +02:00
|
|
|
file.o \
|
2011-02-07 15:37:08 +02:00
|
|
|
imgutils.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
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 15:37:37 +03:00
|
|
|
inverse.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
lfg.o \
|
|
|
|
lls.o \
|
|
|
|
log.o \
|
|
|
|
lzo.o \
|
|
|
|
mathematics.o \
|
|
|
|
md5.o \
|
|
|
|
mem.o \
|
2011-05-22 13:45:00 +03:00
|
|
|
dict.o \
|
2010-09-26 17:25:22 +03:00
|
|
|
opt.o \
|
2011-02-07 15:37:08 +02:00
|
|
|
parseutils.o \
|
2009-11-25 01:33:41 +02:00
|
|
|
pixdesc.o \
|
2009-03-08 03:28:14 +02:00
|
|
|
random_seed.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
rational.o \
|
|
|
|
rc4.o \
|
2011-02-07 15:37:08 +02:00
|
|
|
samplefmt.o \
|
2009-07-10 18:50:49 +03:00
|
|
|
sha.o \
|
2012-01-16 13:20:46 +03:00
|
|
|
timecode.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
tree.o \
|
|
|
|
utils.o \
|
2007-02-28 05:40:23 +02:00
|
|
|
|
2010-09-09 21:51:45 +03:00
|
|
|
OBJS-$(ARCH_PPC) += ppc/cpu.o
|
|
|
|
OBJS-$(ARCH_X86) += x86/cpu.o
|
|
|
|
|
2012-02-01 22:37:50 +03:00
|
|
|
TESTPROGS = adler32 aes avstring base64 bprint cpu crc des eval file fifo \
|
|
|
|
lfg lls md5 opt pca parseutils random_seed rational sha tree
|
2009-04-09 17:55:05 +03:00
|
|
|
TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
|
2008-01-28 00:39:30 +02:00
|
|
|
|
2012-01-16 01:05:07 +03:00
|
|
|
TOOLS = ffeval
|
|
|
|
|
2010-03-08 22:17:47 +02:00
|
|
|
ARCH_HEADERS = bswap.h intmath.h intreadwrite.h timer.h
|
|
|
|
|
2009-04-03 01:41:58 +03:00
|
|
|
$(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2
|