ffmpeg/libavutil
Diego Pettenò 3fc548df28 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
..
arm Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
avr32 Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
bfin Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
mips
ppc
sh4 Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
tomi
x86 Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
Makefile Make ff_inverse stay with libavutil, and optional copy it to libavcodec. 2010-07-21 12:37:37 +00:00
adler32.c
adler32.h
aes.c
aes.h
attributes.h
avstring.c
avstring.h
avutil.h Update lavu minor and add APIchanges entry after r24174 (add bswap.h 2010-07-11 11:49:44 +00:00
base64.c
base64.h
bswap.h Make bswap.h safe to install as public API 2010-07-10 22:21:55 +00:00
colorspace.h
common.h
crc.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
crc.h
crc_data.h
des.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
des.h
error.c
error.h
eval.c
eval.h
fifo.c
fifo.h
integer.c
integer.h
internal.h Use attribute force_align_arg_pointer only on x86_32. 2010-07-17 16:35:01 +00:00
intfloat_readwrite.c
intfloat_readwrite.h
intmath.h
intreadwrite.h Make intreadwrite.h installation-safe 2010-07-10 22:22:03 +00:00
inverse.c Make ff_inverse stay with libavutil, and optional copy it to libavcodec. 2010-07-21 12:37:37 +00:00
lfg.c lfg: add missing includes 2010-07-10 00:40:55 +00:00
lfg.h Restore array sizes in doxygen parameter names. 2010-07-08 13:35:46 +00:00
libavutil.v
libm.h
lls.c
lls.h
log.c
log.h
lzo.c
lzo.h
mathematics.c
mathematics.h
md5.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
md5.h
mem.c
mem.h
pca.c
pca.h
pixdesc.c pixdesc: add missing includes 2010-07-10 00:40:53 +00:00
pixdesc.h Reindent after r24101. 2010-07-08 22:05:33 +00:00
pixfmt.h
random_seed.c Fix infinite loop with clock() returning (clock_t)-1. 2010-07-08 18:13:31 +00:00
random_seed.h
rational.c
rational.h
rc4.c
rc4.h
sha.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
sha.h
sha1.h
softfloat.c
softfloat.h
timer.h
tree.c
tree.h
utils.c
x86_cpu.h