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