On Thu, 4 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 with each duplicated table in a separate file.
libavcodec/Makefile | 1 +
libavcodec/log2_tab.c | 1 +
libavutil/Makefile | 1 +
libavutil/log2_tab.c | 30 ++++++++++++++++++++++++++++++
libavutil/mathematics.c | 11 -----------
5 files changed, 33 insertions(+), 11 deletions(-)
create mode 100644 libavcodec/log2_tab.c
create mode 100644 libavutil/log2_tab.c
This is used in libavformat as well, so that one also needs a copy, if
this is the way to go.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel