FFmpeg
Functions | Variables
libgsmenc.c File Reference
#include "config.h"
#include "config_components.h"
#include <gsm/gsm.h>
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.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 FFCodecDefault 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 46 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 52 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 91 of file libgsmenc.c.

Variable Documentation

◆ libgsm_defaults

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

Definition at line 114 of file libgsmenc.c.

NULL
#define NULL
Definition: coverity.c:32