Statistics
| Branch: | Revision:

ffmpeg / libavcodec / aac_tablegen.c @ 2912e87a

History | View | Annotate | Download (1.09 KB)

1 e29af818 Alex Converse
/*
2
 * Generate a header file for hardcoded AAC tables
3
 *
4
 * Copyright (c) 2010 Alex Converse <alex.converse@gmail.com>
5
 *
6 2912e87a Mans Rullgard
 * This file is part of Libav.
7 e29af818 Alex Converse
 *
8 2912e87a Mans Rullgard
 * Libav is free software; you can redistribute it and/or
9 e29af818 Alex Converse
 * modify it under the terms of the GNU Lesser General Public
10
 * License as published by the Free Software Foundation; either
11
 * version 2.1 of the License, or (at your option) any later version.
12
 *
13 2912e87a Mans Rullgard
 * Libav is distributed in the hope that it will be useful,
14 e29af818 Alex Converse
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16
 * Lesser General Public License for more details.
17
 *
18
 * You should have received a copy of the GNU Lesser General Public
19 2912e87a Mans Rullgard
 * License along with Libav; if not, write to the Free Software
20 e29af818 Alex Converse
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
 */
22
23
#include <stdlib.h>
24
#define CONFIG_HARDCODED_TABLES 0
25
#include "aac_tablegen.h"
26
#include "tableprint.h"
27
28
int main(void)
29
{
30
    ff_aac_tableinit();
31
32
    write_fileheader();
33
34 350120d2 Diego Pettenò
    WRITE_ARRAY("const", float, ff_aac_pow2sf_tab);
35 e29af818 Alex Converse
36
    return 0;
37
}