#ifndef _AAC_TABLEGEN_H_4c0265be_ #define _AAC_TABLEGEN_H_4c0265be_ /* * This file was stolen from ffmpeg and modified for usability here. * The original is * * Copyright (c) 2010 Alex Converse * * This version is a derivative work of that version. It is not free * software; it is licensed under the GNU Lesser General Public * License version 2.1, which places nontrivial restrictions on what * may be done with it. (I'm not terribly happy about that, but for * my purposes accepting LGPL-infected code is a lower price than * reimplementing it all myself.) * * The LGPL v2.1 as distributed with ffmpeg is in the accompanying file * `LGPL-v2.1'. */ #include "aac_tablegen_decl.h" #if CONFIG_HARDCODED_TABLES #include "aac_tables.h" #else #include float ff_aac_pow2sf_tab[428]; void ff_aac_tableinit(void) { int i; for (i = 0; i < 428; i++) ff_aac_pow2sf_tab[i] = pow(2, (i - POW_SF2_ZERO) / 4.); } #endif /* CONFIG_HARDCODED_TABLES */ #endif