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_data_fixed.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_data_fixed.c')
-rw-r--r-- | libavcodec/cbrt_data_fixed.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libavcodec/cbrt_data_fixed.c b/libavcodec/cbrt_data_fixed.c new file mode 100644 index 0000000000..d661b25a67 --- /dev/null +++ b/libavcodec/cbrt_data_fixed.c @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2016 Reimar Döffinger <Reimar.Doeffinger@gmx.de> + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * FFmpeg is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with FFmpeg; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include "config.h" +#include "cbrt_data.h" + +#if CONFIG_HARDCODED_TABLES +#include "libavcodec/cbrt_fixed_tables.h" +#else +#define USE_FIXED 1 +#include "cbrt_tablegen.h" +#endif |