FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
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"

Go to the source code of this file.

Data Structures

struct  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.

Function Documentation

static av_cold int libgsm_encode_close ( AVCodecContext avctx)
static

Definition at line 43 of file libgsm.c.

Referenced by libgsm_encode_init().

static av_cold int libgsm_encode_init ( AVCodecContext avctx)
static

Definition at line 52 of file libgsm.c.

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

Definition at line 103 of file libgsm.c.

static av_cold int libgsm_decode_init ( AVCodecContext avctx)
static

Definition at line 158 of file libgsm.c.

static av_cold int libgsm_decode_close ( AVCodecContext avctx)
static

Definition at line 185 of file libgsm.c.

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

Definition at line 193 of file libgsm.c.

static void libgsm_flush ( AVCodecContext avctx)
static

Definition at line 228 of file libgsm.c.