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 *got_frame_ptr, AVPacket *avpkt)
static void gsm_flush (AVCodecContext *avctx)

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 *  got_frame_ptr,
AVPacket avpkt 
) [static]

Definition at line 58 of file gsmdec.c.

static void gsm_flush ( AVCodecContext avctx  )  [static]

Definition at line 102 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,
    .flush          = gsm_flush,
    .capabilities   = CODEC_CAP_DR1,
    .long_name = NULL_IF_CONFIG_SMALL("GSM"),
}

Definition at line 108 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,
    .flush          = gsm_flush,
    .capabilities   = CODEC_CAP_DR1,
    .long_name = NULL_IF_CONFIG_SMALL("GSM Microsoft variant"),
}

Definition at line 120 of file gsmdec.c.


Generated on Fri Oct 26 02:43:47 2012 for FFmpeg by  doxygen 1.5.8