On Wed, 10 Oct 2012, Diego Biurrun wrote:
The table is so small that the space gain is not worth the
performance overhead of cross-library access.
---
Now dropping an instance into libavformat as well, which also
accesses the table directly.
libavcodec/Makefile | 1 +
libavcodec/log2_tab.c | 1 +
libavformat/Makefile | 1 +
libavformat/log2_tab.c | 1 +
libavutil/Makefile | 1 +
libavutil/log2_tab.c | 30 ++++++++++++++++++++++++++++++
libavutil/mathematics.c | 11 -----------
7 files changed, 35 insertions(+), 11 deletions(-)
create mode 100644 libavcodec/log2_tab.c
create mode 100644 libavformat/log2_tab.c
create mode 100644 libavutil/log2_tab.c
LGTM
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel