diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2016-03-12 19:08:21 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2016-03-13 18:15:57 +0100 |
commit | 7c93f2c0b940e07c2a1fd0fb8f7ffc94dcfdb1aa (patch) | |
tree | 5e3ae0a4203931fe1af970ebcb1115f1dd2ab452 /libavcodec/cbrt_tablegen_template.c | |
parent | 0c33ceda91dd646414a2e0ec832bada5acb6b762 (diff) | |
download | ffmpeg-7c93f2c0b940e07c2a1fd0fb8f7ffc94dcfdb1aa.tar.gz |
Move cbrt tables to separate cbrt_data(_fixed).c files.
Allows sharing and reusing the data between different files.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/cbrt_tablegen_template.c')
-rw-r--r-- | libavcodec/cbrt_tablegen_template.c | 8 |
1 files changed, 6 insertions, 2 deletions
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; } |