libavcodec/qdm2_tablegen.h File Reference

#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 Documentation

#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().


Function Documentation

static av_cold void init_noise_samples ( void   )  [static]

Definition at line 91 of file qdm2_tablegen.h.

Referenced by main(), and qdm2_init().

static av_cold void rnd_table_init ( void   )  [static]

Definition at line 55 of file qdm2_tablegen.h.

Referenced by main(), and qdm2_init().

static av_cold void softclip_table_init ( void   )  [static]

Definition at line 45 of file qdm2_tablegen.h.

Referenced by main(), and qdm2_init().


Variable Documentation

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().


Generated on Fri Oct 26 02:39:46 2012 for FFmpeg by  doxygen 1.5.8