libavcodec/gsmdec.c File Reference

GSM decoder. More...

#include "avcodec.h"
#include "get_bits.h"
#include "msgsmdec.h"
#include "gsmdec_template.c"

Go to the source code of this file.

Functions

static av_cold int gsm_init (AVCodecContext *avctx)
static int gsm_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)

Variables

AVCodec ff_gsm_decoder
AVCodec ff_gsm_ms_decoder


Detailed Description

GSM decoder.

Definition in file gsmdec.c.


Function Documentation

static int gsm_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 53 of file gsmdec.c.

static av_cold int gsm_init ( AVCodecContext avctx  )  [static]

Definition at line 33 of file gsmdec.c.


Variable Documentation

Initial value:

 {
    .name           = "gsm",
    .type           = AVMEDIA_TYPE_AUDIO,
    .id             = CODEC_ID_GSM,
    .priv_data_size = sizeof(GSMContext),
    .init           = gsm_init,
    .decode         = gsm_decode_frame,
    .long_name = NULL_IF_CONFIG_SMALL("GSM"),
}

Definition at line 87 of file gsmdec.c.

Initial value:

 {
    .name           = "gsm_ms",
    .type           = AVMEDIA_TYPE_AUDIO,
    .id             = CODEC_ID_GSM_MS,
    .priv_data_size = sizeof(GSMContext),
    .init           = gsm_init,
    .decode         = gsm_decode_frame,
    .long_name = NULL_IF_CONFIG_SMALL("GSM Microsoft variant"),
}

Definition at line 97 of file gsmdec.c.


Generated on Wed Nov 2 19:22:22 2011 for FFmpeg by  doxygen 1.5.8