Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2016-03-12 21:08:21 +0300
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2016-03-13 20:15:57 +0300
commit7c93f2c0b940e07c2a1fd0fb8f7ffc94dcfdb1aa (patch)
tree5e3ae0a4203931fe1af970ebcb1115f1dd2ab452 /libavcodec/cbrt_tablegen_template.c
parent0c33ceda91dd646414a2e0ec832bada5acb6b762 (diff)
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.c8
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;
}