gsmdec_template.c File Reference

GSM decoder. More...

#include "get_bits.h"
#include "gsm.h"
#include "gsmdec_data.h"
Include dependency graph for gsmdec_template.c:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

GSM decoder.

Definition in file gsmdec_template.c.

Function Documentation

static void apcm_dequant_add ( GetBitContext gb,
int16_t *  dst 
)
static

Definition at line 31 of file gsmdec_template.c.

Referenced by gsm_decode_block().

static int decode_log_area ( int  coded,
int  factor,
int  offset 
)
inlinestatic

Definition at line 54 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 70 of file gsmdec_template.c.

Referenced by short_term_synth(), vp3_h_loop_filter_c(), and vp3_v_loop_filter_c().

static av_noinline int get_rrp ( int  filtered)
static

Definition at line 61 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 120 of file gsmdec_template.c.

Referenced by ff_msgsm_decode_block(), and gsm_decode_frame().

static int gsm_mult ( int  a,
int  b 
)
inlinestatic

Definition at line 40 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 45 of file gsmdec_template.c.

Referenced by gsm_decode_block().

static int postprocess ( int16_t *  data,
int  msr 
)
static

Definition at line 110 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 81 of file gsmdec_template.c.

Referenced by gsm_decode_block().