FFmpeg
Functions | Variables
libgsmenc.c File Reference
#include "config.h"
#include <gsm/gsm.h>
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "avcodec.h"
#include "encode.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

◆ libgsm_encode_close()

static av_cold int libgsm_encode_close ( AVCodecContext avctx)
static

Definition at line 45 of file libgsmenc.c.

Referenced by libgsm_encode_init().

◆ libgsm_encode_init()

static av_cold int libgsm_encode_init ( AVCodecContext avctx)
static

Definition at line 51 of file libgsmenc.c.

◆ libgsm_encode_frame()

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

Definition at line 96 of file libgsmenc.c.

Variable Documentation

◆ libgsm_defaults

const AVCodecDefault libgsm_defaults[]
static
Initial value:
= {
{ "b", "13000" },
{ NULL },
}

Definition at line 119 of file libgsmenc.c.

NULL
#define NULL
Definition: coverity.c:32