libgsm.c File Reference

Interface to libgsm for gsm encoding/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"
Include dependency graph for libgsm.c:

Go to the source code of this file.

Data Structures

struct  LibGSMDecodeContext
 

Typedefs

typedef struct LibGSMDecodeContext LibGSMDecodeContext
 

Functions

static av_cold int libgsm_encode_close (AVCodecContext *avctx)
 
static av_cold int libgsm_encode_init (AVCodecContext *avctx)
 
static int libgsm_encode_frame (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
 
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 encoding/decoding.

Definition in file libgsm.c.

Typedef Documentation

Function Documentation

static av_cold int libgsm_decode_close ( AVCodecContext avctx)
static

Definition at line 176 of file libgsm.c.

Referenced by libgsm_flush().

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

Definition at line 184 of file libgsm.c.

Referenced by libgsm_flush().

static av_cold int libgsm_decode_init ( AVCodecContext avctx)
static

Definition at line 149 of file libgsm.c.

Referenced by libgsm_flush().

static av_cold int libgsm_encode_close ( AVCodecContext avctx)
static

Definition at line 43 of file libgsm.c.

Referenced by libgsm_encode_frame(), and libgsm_encode_init().

static int libgsm_encode_frame ( AVCodecContext avctx,
AVPacket avpkt,
const AVFrame frame,
int *  got_packet_ptr 
)
static

Definition at line 94 of file libgsm.c.

static av_cold int libgsm_encode_init ( AVCodecContext avctx)
static

Definition at line 49 of file libgsm.c.

Referenced by libgsm_encode_frame().

static void libgsm_flush ( AVCodecContext avctx)
static

Definition at line 217 of file libgsm.c.