FFmpeg
Variables
atrac3data.h File Reference
#include <stdint.h>

Go to the source code of this file.

Variables

static const uint8_t atrac3_hufftabs [][2]
 
static const uint8_t huff_tab_sizes [7]
 
static const uint8_t clc_length_tab [8] = { 0, 4, 3, 3, 4, 4, 5, 6 }
 
static const int8_t mantissa_clc_tab [4] = { 0, 1, -2, -1 }
 
static const int8_t mantissa_vlc_tab [18]
 
static const float inv_max_quant [8]
 
static const uint16_t subband_tab [33]
 
static const float matrix_coeffs [8]
 

Detailed Description

ATRAC3 AKA RealAudio 8 compatible decoder data

Definition in file atrac3data.h.

Variable Documentation

◆ atrac3_hufftabs

const uint8_t atrac3_hufftabs[][2]
static

Definition at line 35 of file atrac3data.h.

Referenced by atrac3_init_static_data().

◆ huff_tab_sizes

const uint8_t huff_tab_sizes[7]
static
Initial value:
= {
9, 5, 7, 9, 15, 31, 63,
}

Definition at line 72 of file atrac3data.h.

Referenced by atrac3_init_static_data().

◆ clc_length_tab

const uint8_t clc_length_tab[8] = { 0, 4, 3, 3, 4, 4, 5, 6 }
static

Definition at line 78 of file atrac3data.h.

Referenced by read_quant_spectral_coeffs().

◆ mantissa_clc_tab

const int8_t mantissa_clc_tab[4] = { 0, 1, -2, -1 }
static

Definition at line 80 of file atrac3data.h.

Referenced by read_quant_spectral_coeffs().

◆ mantissa_vlc_tab

const int8_t mantissa_vlc_tab[18]
static
Initial value:
= {
0, 0, 0, 1, 0, -1, 1, 0, -1, 0, 1, 1, 1, -1, -1, 1, -1, -1
}

Definition at line 82 of file atrac3data.h.

Referenced by read_quant_spectral_coeffs().

◆ inv_max_quant

const float inv_max_quant[8]
static
Initial value:
= {
0.0, 1.0 / 1.5, 1.0 / 2.5, 1.0 / 3.5,
1.0 / 4.5, 1.0 / 7.5, 1.0 / 15.5, 1.0 / 31.5
}

Definition at line 89 of file atrac3data.h.

Referenced by decode_spectrum(), and decode_tonal_components().

◆ subband_tab

const uint16_t subband_tab[33]
static
Initial value:
= {
0, 8, 16, 24, 32, 40, 48, 56,
64, 80, 96, 112, 128, 144, 160, 176,
192, 224, 256, 288, 320, 352, 384, 416,
448, 480, 512, 576, 640, 704, 768, 896,
1024
}

Definition at line 94 of file atrac3data.h.

Referenced by decode_channel_sound_unit(), and decode_spectrum().

◆ matrix_coeffs

const float matrix_coeffs[8]
static
Initial value:
= {
0.0, 2.0, 2.0, 2.0, 0.0, 0.0, 1.0, 1.0
}

Definition at line 103 of file atrac3data.h.

Referenced by reverse_matrixing().