FFmpeg
Functions | Variables
libgsmenc.c File Reference

Interface to libgsm for GSM encoding. More...

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

Go to the source code of this file.

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)
 

Variables

static const AVCodecDefault libgsm_defaults []
 

Detailed Description

Interface to libgsm for GSM encoding.

Definition in file libgsmenc.c.

Function Documentation

static av_cold int libgsm_encode_close ( AVCodecContext avctx)
static

Definition at line 43 of file libgsmenc.c.

Referenced by libgsm_encode_init().

static av_cold int libgsm_encode_init ( AVCodecContext avctx)
static

Definition at line 49 of file libgsmenc.c.

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

Definition at line 94 of file libgsmenc.c.

Variable Documentation

const AVCodecDefault libgsm_defaults[]
static
Initial value:
= {
{ "b", "13000" },
{ NULL },
}
#define NULL
Definition: coverity.c:32

Definition at line 117 of file libgsmenc.c.