chromium/third_party/ffmpeg/libavcodec/mpegaudiodec_common.c

/*
 * MPEG Audio decoder
 * copyright (c) 2002 Fabrice Bellard
 *
 * 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
 */

/**
 * @file
 * mpeg audio layer decoder tables.
 */

#include <stddef.h>
#include <stdint.h>

#include "libavutil/avassert.h"
#include "libavutil/libm.h"
#include "libavutil/thread.h"

#include "mpegaudiodata.h"

#include "mpegaudiodec_common_tablegen.h"

uint16_t ff_scale_factor_modshift[64];

static int16_t division_tab3[1 << 6 ];
static int16_t division_tab5[1 << 8 ];
static int16_t division_tab9[1 << 11];

int16_t *const ff_division_tabs[4] =;


/*******************************************************/
/* layer 3 tables */

const uint8_t ff_slen_table[2][16] =;

const uint8_t ff_lsf_nsf_table[6][3][4] =;

/* mpegaudio layer 3 huffman tables */
const VLCElem *ff_huff_vlc[16];
static VLCElem huff_vlc_tables[128 + 128 + 128 + 130 + 128 + 154 + 166 + 142 +
                               204 + 190 + 170 + 542 + 460 + 662 + 414];
VLC ff_huff_quad_vlc[2];
static VLCElem huff_quad_vlc_tables[64 + 16];

static const uint8_t mpa_hufflens[] =;

static const uint8_t mpa_huffsymbols[] =;

static const uint8_t mpa_huff_sizes_minus_one[] =;

const uint8_t ff_mpa_huff_data[32][2] =;


/* huffman tables for quadrules */
static const uint8_t mpa_quad_codes[2][16] =;

static const uint8_t mpa_quad_bits[2][16] =;

const uint8_t ff_band_size_long[9][22] =;

const uint8_t ff_band_size_short[9][13] =;

uint16_t ff_band_index_long[9][23];

const uint8_t ff_mpa_pretab[2][22] =;

static av_cold void mpegaudiodec_common_init_static(void)
{}

av_cold void ff_mpegaudiodec_common_init_static(void)
{}