|
GNU Radio's M17 Package
|
Go to the source code of this file.
Classes | |
| struct | model_t |
| struct | nlp_t |
| struct | codec2_encoder_t |
| struct | codec2_decoder_t |
| struct | codec2_t |
Macros | |
| #define | M_PI 3.14159265358979323846 |
| #define | TWO_PI (2.0f * M_PI) |
| #define | POW10F(x) |
| #define | BYTES_PER_FRAME 8 |
| #define | SAMPLES_PER_FRAME (2 * N_SAMP) |
| #define | N_S 0.01 |
| #define | MAX_AMP 80 |
| #define | FFT_ENC 512 |
| #define | FFT_DEC 512 |
| #define | V_THRESH 6.0 |
| #define | V_THRESH_LIN (powf(10.0f, V_THRESH * 0.1f)) |
| #define | LPC_ORD 10 |
| #define | P_MAX_S 0.0200f |
| #define | SAMP_RATE 8000 |
| #define | N_SAMP 80 |
| #define | M_PITCH 320 |
| #define | P_MIN 20 |
| #define | P_MAX 160 |
| #define | W0_MIN ((2.0 * M_PI) / 160.0) |
| #define | W0_MAX ((2.0 * M_PI) / 20.0) |
| #define | NW 279 |
| #define | TW 40 |
| #define | PMAX_M 320 |
| #define | COEFF 0.95 |
| #define | PE_FFT_SIZE 512 |
| #define | DEC 5 |
| #define | NDEC (M_PITCH / DEC) |
| #define | T 0.1 |
| #define | CNLP 0.3 |
| #define | NLP_NTAP 48 |
| #define | NLP_NPHASE DEC |
| #define | NLP_TAPS_PP ((NLP_NTAP + DEC - 1) / DEC) |
| #define | WO_BITS 7 |
| #define | WO_LEVELS (1 << WO_BITS) |
| #define | E_BITS 5 |
| #define | E_LEVELS (1 << E_BITS) |
| #define | E_MIN_DB -10.0 |
| #define | E_MAX_DB 40.0 |
| #define | LSPD_SCALAR_INDEXES 10 |
| #define | LPCPF_GAMMA 0.5 |
| #define | LPCPF_BETA 0.2 |
| #define | LPCPF_TWO_BETA (2.0 * LPCPF_BETA) |
| #define | LSP_DELTA1 0.01 |
| #define | BG_THRESH 40.0 |
| #define | BG_BETA 0.1 |
| #define | BG_MARGIN 6.0 |
| #define | LPC_ENERGY_FLOOR 1e-6f |
| #define | FFT_R (TWO_PI / FFT_ENC) |
| #define | FFT_1_R (FFT_ENC / TWO_PI) |
| #define | CODEC2_RAND_MAX 32767 |
| #define | FFT_FWD_MEM_BYTES 4360 |
| #define | FFTR_MEM_BYTES 5408 |
Typedefs | |
| typedef kiss_fft_cpx | complex_t |
| typedef struct model_t | model_t |
| typedef struct nlp_t | nlp_t |
| typedef struct codec2_encoder_t | codec2_encoder_t |
| typedef struct codec2_decoder_t | codec2_decoder_t |
| typedef struct codec2_t | codec2_t |
Variables | |
| const float | nlp_fir [NLP_NTAP] |
| const float | bw_gamma [LPC_ORD+1] |
| const uint16_t | delta_lsp_cb [LPC_ORD][32] |
| #define BG_BETA 0.1 |
| #define BG_MARGIN 6.0 |
| #define BG_THRESH 40.0 |
| #define BYTES_PER_FRAME 8 |
| #define CNLP 0.3 |
| #define CODEC2_RAND_MAX 32767 |
| #define COEFF 0.95 |
| #define DEC 5 |
| #define E_BITS 5 |
| #define E_LEVELS (1 << E_BITS) |
| #define E_MAX_DB 40.0 |
| #define E_MIN_DB -10.0 |
| #define FFT_DEC 512 |
| #define FFT_ENC 512 |
| #define FFT_FWD_MEM_BYTES 4360 |
| #define FFTR_MEM_BYTES 5408 |
| #define LPC_ENERGY_FLOOR 1e-6f |
| #define LPC_ORD 10 |
| #define LPCPF_BETA 0.2 |
| #define LPCPF_GAMMA 0.5 |
| #define LPCPF_TWO_BETA (2.0 * LPCPF_BETA) |
| #define LSP_DELTA1 0.01 |
| #define LSPD_SCALAR_INDEXES 10 |
| #define M_PI 3.14159265358979323846 |
| #define M_PITCH 320 |
| #define MAX_AMP 80 |
| #define N_S 0.01 |
| #define N_SAMP 80 |
| #define NLP_NPHASE DEC |
| #define NLP_NTAP 48 |
| #define NW 279 |
| #define P_MAX 160 |
| #define P_MAX_S 0.0200f |
| #define P_MIN 20 |
| #define PE_FFT_SIZE 512 |
| #define PMAX_M 320 |
| #define POW10F | ( | x | ) |
| #define SAMP_RATE 8000 |
| #define SAMPLES_PER_FRAME (2 * N_SAMP) |
| #define T 0.1 |
| #define TW 40 |
| #define TWO_PI (2.0f * M_PI) |
| #define V_THRESH 6.0 |
| #define V_THRESH_LIN (powf(10.0f, V_THRESH * 0.1f)) |
| #define W0_MAX ((2.0 * M_PI) / 20.0) |
| #define W0_MIN ((2.0 * M_PI) / 160.0) |
| #define WO_BITS 7 |
| #define WO_LEVELS (1 << WO_BITS) |
| typedef struct codec2_decoder_t codec2_decoder_t |
| typedef struct codec2_encoder_t codec2_encoder_t |
| typedef struct codec2_t codec2_t |
| typedef kiss_fft_cpx complex_t |
| typedef struct model_t model_t |
| typedef struct nlp_t nlp_t |
|
extern |
|
extern |
|
extern |