Libav 0.7.1
|
GSM decoder. More...
Go to the source code of this file.
Functions | |
static void | apcm_dequant_add (GetBitContext *gb, int16_t *dst) |
static int | gsm_mult (int a, int b) |
static void | long_term_synth (int16_t *dst, int lag, int gain_idx) |
static int | decode_log_area (int coded, int factor, int offset) |
static av_noinline int | get_rrp (int filtered) |
static int | filter_value (int in, int rrp[8], int v[9]) |
static void | short_term_synth (GSMContext *ctx, int16_t *dst, const int16_t *src) |
static int | postprocess (int16_t *data, int msr) |
static int | gsm_decode_block (AVCodecContext *avctx, int16_t *samples, GetBitContext *gb) |
GSM decoder.
Definition in file gsmdec_template.c.
static void apcm_dequant_add | ( | GetBitContext * | gb, |
int16_t * | dst | ||
) | [static] |
Definition at line 30 of file gsmdec_template.c.
Referenced by gsm_decode_block().
static int decode_log_area | ( | int | coded, |
int | factor, | ||
int | offset | ||
) | [inline, static] |
Definition at line 53 of file gsmdec_template.c.
Referenced by gsm_decode_block().
static int filter_value | ( | int | in, |
int | rrp[8], | ||
int | v[9] | ||
) | [static] |
Definition at line 69 of file gsmdec_template.c.
Referenced by ff_vp3_h_loop_filter_c(), ff_vp3_v_loop_filter_c(), and short_term_synth().
static av_noinline int get_rrp | ( | int | filtered | ) | [static] |
Definition at line 60 of file gsmdec_template.c.
Referenced by short_term_synth().
static int gsm_decode_block | ( | AVCodecContext * | avctx, |
int16_t * | samples, | ||
GetBitContext * | gb | ||
) | [static] |
Definition at line 119 of file gsmdec_template.c.
Referenced by ff_msgsm_decode_block(), and gsm_decode_frame().
static int gsm_mult | ( | int | a, |
int | b | ||
) | [inline, static] |
Definition at line 39 of file gsmdec_template.c.
Referenced by decode_log_area(), filter_value(), long_term_synth(), and postprocess().
static void long_term_synth | ( | int16_t * | dst, |
int | lag, | ||
int | gain_idx | ||
) | [static] |
Definition at line 44 of file gsmdec_template.c.
Referenced by gsm_decode_block().
static int postprocess | ( | int16_t * | data, |
int | msr | ||
) | [static] |
Definition at line 109 of file gsmdec_template.c.
Referenced by gsm_decode_block().
static void short_term_synth | ( | GSMContext * | ctx, |
int16_t * | dst, | ||
const int16_t * | src | ||
) | [static] |
Definition at line 80 of file gsmdec_template.c.
Referenced by gsm_decode_block().