#include <stdint.h>
#include <math.h>
#include "libavutil/attributes.h"
Go to the source code of this file.
Defines | |
#define | SOFTCLIP_THRESHOLD 27600 |
#define | HARDCLIP_THRESHOLD 35716 |
Functions | |
static av_cold void | softclip_table_init (void) |
static av_cold void | rnd_table_init (void) |
static av_cold void | init_noise_samples (void) |
Variables | |
static uint16_t | softclip_table [HARDCLIP_THRESHOLD-SOFTCLIP_THRESHOLD+1] |
static float | noise_table [4096] |
static uint8_t | random_dequant_index [256][5] |
static uint8_t | random_dequant_type24 [128][3] |
static float | noise_samples [128] |
#define HARDCLIP_THRESHOLD 35716 |
Definition at line 31 of file qdm2_tablegen.h.
Referenced by qdm2_decode(), and softclip_table_init().
#define SOFTCLIP_THRESHOLD 27600 |
Definition at line 30 of file qdm2_tablegen.h.
Referenced by qdm2_decode(), and softclip_table_init().
static av_cold void init_noise_samples | ( | void | ) | [static] |
static av_cold void rnd_table_init | ( | void | ) | [static] |
static av_cold void softclip_table_init | ( | void | ) | [static] |
float noise_samples[128] [static] |
Definition at line 43 of file qdm2_tablegen.h.
Referenced by init_noise_samples(), main(), and synthfilt_build_sb_samples().
float noise_table[4096] [static] |
Definition at line 40 of file qdm2_tablegen.h.
uint8_t random_dequant_index[256][5] [static] |
Definition at line 41 of file qdm2_tablegen.h.
Referenced by main(), rnd_table_init(), and synthfilt_build_sb_samples().
uint8_t random_dequant_type24[128][3] [static] |
Definition at line 42 of file qdm2_tablegen.h.
Referenced by main(), rnd_table_init(), and synthfilt_build_sb_samples().
uint16_t softclip_table[HARDCLIP_THRESHOLD-SOFTCLIP_THRESHOLD+1] [static] |
Definition at line 39 of file qdm2_tablegen.h.
Referenced by main(), qdm2_decode(), and softclip_table_init().