FFmpeg
Data Structures | Functions
libgsmdec.c File Reference

Interface to libgsm for GSM decoding. More...

#include "config.h"
#include <gsm/gsm.h>
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "avcodec.h"
#include "internal.h"
#include "gsm.h"

Go to the source code of this file.

Data Structures

struct  LibGSMDecodeContext
 

Functions

static av_cold int libgsm_decode_init (AVCodecContext *avctx)
 
static av_cold int libgsm_decode_close (AVCodecContext *avctx)
 
static int libgsm_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
 
static void libgsm_flush (AVCodecContext *avctx)
 

Detailed Description

Interface to libgsm for GSM decoding.

Definition in file libgsmdec.c.

Function Documentation

static av_cold int libgsm_decode_init ( AVCodecContext avctx)
static

Definition at line 48 of file libgsmdec.c.

Referenced by libgsm_flush().

static av_cold int libgsm_decode_close ( AVCodecContext avctx)
static

Definition at line 75 of file libgsmdec.c.

Referenced by libgsm_flush().

static int libgsm_decode_frame ( AVCodecContext avctx,
void data,
int got_frame_ptr,
AVPacket avpkt 
)
static

Definition at line 83 of file libgsmdec.c.

Referenced by libgsm_flush().

static void libgsm_flush ( AVCodecContext avctx)
static

Definition at line 116 of file libgsmdec.c.