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 adler32: add API documentation 2010-06-30 20:09:40 +00:00
aes.c aes: fix array index out of bounds warning 2010-07-04 20:38:46 +00:00
aes.h aes: improve av_aes_crypt() documentation 2010-06-30 20:09:44 +00:00
attributes.h av_alias is an attribute and belongs to attributes.h 2010-05-13 16:30:58 +00:00
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 Use AV_BASE64_SIZE() macro 2010-06-04 01:15:41 +00:00
base64.h base64: improve documentation 2010-06-30 20:09:32 +00:00
bswap.h Make bswap.h safe to install as public API 2010-07-10 22:21:55 +00:00
colorspace.h Move colorspace.h from libavcodec to libavutil. 2010-07-01 18:49:44 +00:00
common.h Allow arch-overrides for all common.h clip and log2 functions 2010-07-07 17:27:45 +00:00
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 Make av_strerror() return -1 even in the case when av_strerror_r() is 2010-05-05 21:44:47 +00:00
error.h Improve av_strerror() documentation 2010-06-30 20:09:52 +00:00
eval.c Add more tests to eval, help detecting some of the more apparent 2010-06-16 22:36:52 +00:00
eval.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
fifo.c
fifo.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
integer.c
integer.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
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 Remove macro duplication between common.h and intmath.h 2010-07-07 17:27:43 +00:00
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 Workaround for missing llrintf() 2010-04-23 16:28:10 +00:00
lls.c
lls.h
log.c Print a space after the AVClass prefix. 2010-06-25 04:36:17 +00:00
log.h Add parameter names to av_log/av_vlog function declarations. 2010-07-02 11:03:23 +00:00
lzo.c
lzo.h
mathematics.c Silence "comparison of unsigned expression >= 0 is always true" warning. 2010-07-03 17:06:12 +00:00
mathematics.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
md5.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
md5.h
mem.c
mem.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
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 Deprecate PIX_FMT_YUVJ* 2010-06-03 21:08:56 +00:00
random_seed.c Fix infinite loop with clock() returning (clock_t)-1. 2010-07-08 18:13:31 +00:00
random_seed.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
rational.c Convert NaN to 0/0 in av_d2q 2010-05-24 00:44:02 +00:00
rational.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
rc4.c
rc4.h
sha.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
sha.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
sha1.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
softfloat.c
softfloat.h
timer.h
tree.c
tree.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
utils.c
x86_cpu.h