#include "libavutil/intreadwrite.h"
#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 av_cold 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, AVPacket *avpkt) |
Variables | |
AVCodec | ff_truespeech_decoder |
Definition in file truespeech.c.
static void truespeech_apply_twopoint_filter | ( | TSContext * | dec, | |
int | quart | |||
) | [static] |
static void truespeech_correlate_filter | ( | TSContext * | dec | ) | [static] |
static int truespeech_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
Definition at line 338 of file truespeech.c.
static av_cold int truespeech_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 55 of file truespeech.c.
static void truespeech_filters_merge | ( | TSContext * | dec | ) | [static] |
static void truespeech_place_pulses | ( | TSContext * | dec, | |
int16_t * | out, | |||
int | quart | |||
) | [static] |
static void truespeech_read_frame | ( | TSContext * | dec, | |
const uint8_t * | input | |||
) | [static] |
static void truespeech_save_prevvec | ( | TSContext * | c | ) | [static] |
static void truespeech_synth | ( | TSContext * | dec, | |
int16_t * | out, | |||
int | quart | |||
) | [static] |
static void truespeech_update_filters | ( | TSContext * | dec, | |
int16_t * | out, | |||
int | quart | |||
) | [static] |
Initial value:
{ "truespeech", AVMEDIA_TYPE_AUDIO, CODEC_ID_TRUESPEECH, sizeof(TSContext), truespeech_decode_init, NULL, NULL, truespeech_decode_frame, .long_name = NULL_IF_CONFIG_SMALL("DSP Group TrueSpeech"), }
Definition at line 389 of file truespeech.c.