From 7c93f2c0b940e07c2a1fd0fb8f7ffc94dcfdb1aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sat, 12 Mar 2016 19:08:21 +0100 Subject: Move cbrt tables to separate cbrt_data(_fixed).c files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allows sharing and reusing the data between different files. Signed-off-by: Reimar Döffinger --- libavcodec/cbrt_tablegen_template.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libavcodec/cbrt_tablegen_template.c') diff --git a/libavcodec/cbrt_tablegen_template.c b/libavcodec/cbrt_tablegen_template.c index 7dcab911a7..21ed2a6861 100644 --- a/libavcodec/cbrt_tablegen_template.c +++ b/libavcodec/cbrt_tablegen_template.c @@ -28,11 +28,15 @@ int main(void) { - AAC_RENAME(cbrt_tableinit)(); + AAC_RENAME(ff_cbrt_tableinit)(); write_fileheader(); - WRITE_ARRAY("static const", uint32_t, cbrt_tab); +#if USE_FIXED + WRITE_ARRAY("const", uint32_t, ff_cbrt_tab_fixed); +#else + WRITE_ARRAY("const", uint32_t, ff_cbrt_tab); +#endif return 0; } -- cgit v1.2.3