libavcodec/truespeech.c File Reference

TrueSpeech decoder. More...

#include "avcodec.h"
#include "truespeech_data.h"

Go to the source code of this file.

Data Structures

struct  TSContext
 TrueSpeech decoder context. More...

Functions

static int truespeech_decode_init (AVCodecContext *avctx)
static void truespeech_read_frame (TSContext *dec, const uint8_t *input)
static void truespeech_correlate_filter (TSContext *dec)
static void truespeech_filters_merge (TSContext *dec)
static void truespeech_apply_twopoint_filter (TSContext *dec, int quart)
static void truespeech_place_pulses (TSContext *dec, int16_t *out, int quart)
static void truespeech_update_filters (TSContext *dec, int16_t *out, int quart)
static void truespeech_synth (TSContext *dec, int16_t *out, int quart)
static void truespeech_save_prevvec (TSContext *c)
static int truespeech_decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)

Variables

AVCodec truespeech_decoder


Detailed Description

TrueSpeech decoder.

Definition in file truespeech.c.


Function Documentation

static void truespeech_apply_twopoint_filter ( TSContext dec,
int  quart 
) [static]

Definition at line 191 of file truespeech.c.

Referenced by truespeech_decode_frame().

static void truespeech_correlate_filter ( TSContext dec  )  [static]

Definition at line 150 of file truespeech.c.

Referenced by truespeech_decode_frame().

static int truespeech_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
const uint8_t buf,
int  buf_size 
) [static]

Definition at line 330 of file truespeech.c.

static int truespeech_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 53 of file truespeech.c.

static void truespeech_filters_merge ( TSContext dec  )  [static]

Definition at line 170 of file truespeech.c.

Referenced by truespeech_decode_frame().

static void truespeech_place_pulses ( TSContext dec,
int16_t *  out,
int  quart 
) [static]

Definition at line 216 of file truespeech.c.

Referenced by truespeech_decode_frame().

static void truespeech_read_frame ( TSContext dec,
const uint8_t input 
) [static]

Definition at line 60 of file truespeech.c.

Referenced by truespeech_decode_frame().

static void truespeech_save_prevvec ( TSContext c  )  [static]

Definition at line 322 of file truespeech.c.

Referenced by truespeech_decode_frame().

static void truespeech_synth ( TSContext dec,
int16_t *  out,
int  quart 
) [static]

Definition at line 271 of file truespeech.c.

Referenced by truespeech_decode_frame().

static void truespeech_update_filters ( TSContext dec,
int16_t *  out,
int  quart 
) [static]

Definition at line 259 of file truespeech.c.

Referenced by truespeech_decode_frame().


Variable Documentation

Initial value:

Definition at line 374 of file truespeech.c.


Generated on Fri Apr 23 15:12:01 2010 for ffmpeg by  doxygen 1.5.6