annotate aac_tablegen_decl.h @ 12193:0a63bed2a00e libavcodec

aacenc: Convert if () abort() to assert().
author alexc
date Mon, 19 Jul 2010 20:53:58 +0000
parents ebe049799f6d
children c707911013ad
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11932
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
1 /*
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
2 * Header file for hardcoded AAC tables
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
3 *
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
4 * Copyright (c) 2010 Alex Converse <alex.converse@gmail.com>
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
5 *
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
6 * This file is part of FFmpeg.
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
7 *
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
8 * FFmpeg is free software; you can redistribute it and/or
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
9 * modify it under the terms of the GNU Lesser General Public
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
10 * License as published by the Free Software Foundation; either
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
11 * version 2.1 of the License, or (at your option) any later version.
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
12 *
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
13 * FFmpeg is distributed in the hope that it will be useful,
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
16 * Lesser General Public License for more details.
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
17 *
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
18 * You should have received a copy of the GNU Lesser General Public
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
19 * License along with FFmpeg; if not, write to the Free Software
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
21 */
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
22
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
23 #ifndef AAC_TABLEGEN_INIT_H
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
24 #define AAC_TABLEGEN_INIT_H
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
25
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
26 #if CONFIG_HARDCODED_TABLES
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
27 #define ff_aac_tableinit()
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
28 extern const float ff_aac_pow2sf_tab[428];
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
29 #else
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
30 void ff_aac_tableinit(void);
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
31 extern float ff_aac_pow2sf_tab[428];
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
32 #endif /* CONFIG_HARDCODED_TABLES */
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
33
ebe049799f6d aactab: Tablegenify ff_aac_pow2sf_tab.
alexc
parents:
diff changeset
34 #endif /* AAC_TABLEGEN_INIT_H */