FFmpeg
Data Structures | Macros | Functions | Variables
g726.c File Reference
#include "avformat.h"
#include "internal.h"
#include "libavutil/opt.h"

Go to the source code of this file.

Data Structures

struct  G726Context
 

Macros

#define OFFSET(x)   offsetof(G726Context, x)
 

Functions

static int g726_read_header (AVFormatContext *s)
 
static int g726_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static const AVOption options []
 

Macro Definition Documentation

#define OFFSET (   x)    offsetof(G726Context, x)

Definition at line 59 of file g726.c.

Function Documentation

static int g726_read_header ( AVFormatContext s)
static

Definition at line 32 of file g726.c.

static int g726_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 50 of file g726.c.

Variable Documentation

const AVOption options[]
static
Initial value:
= {
{ "code_size", "Bits per G.726 code",
OFFSET(code_size), AV_OPT_TYPE_INT, {.i64 = 4}, 2, 5, AV_OPT_FLAG_DECODING_PARAM },
{ "sample_rate", "",
{ NULL },
}
#define NULL
Definition: coverity.c:32
#define OFFSET(x)
Definition: g726.c:59
sample_rate
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition: opt.h:277

Definition at line 60 of file g726.c.

Referenced by g726_reset().