#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 |
Definition in file gsmdec.c.
| static int gsm_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | got_frame_ptr, | |||
| AVPacket * | avpkt | |||
| ) | [static] |
| static void gsm_flush | ( | AVCodecContext * | avctx | ) | [static] |
| static av_cold int gsm_init | ( | AVCodecContext * | avctx | ) | [static] |
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"),
}
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"),
}
1.5.8