FFmpeg
Functions | Variables
ilbc.c File Reference
#include "config_components.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "mux.h"
#include "rawenc.h"

Go to the source code of this file.

Functions

static int ilbc_write_header (AVFormatContext *s)
 
static int ilbc_probe (const AVProbeData *p)
 
static int ilbc_read_header (AVFormatContext *s)
 
static int ilbc_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static const char mode20_header [] = "#!iLBC20\n"
 
static const char mode30_header [] = "#!iLBC30\n"
 
const FFInputFormat ff_ilbc_demuxer
 

Function Documentation

◆ ilbc_write_header()

static int ilbc_write_header ( AVFormatContext s)
static

Definition at line 33 of file ilbc.c.

◆ ilbc_probe()

static int ilbc_probe ( const AVProbeData p)
static

Definition at line 49 of file ilbc.c.

◆ ilbc_read_header()

static int ilbc_read_header ( AVFormatContext s)
static

Definition at line 58 of file ilbc.c.

◆ ilbc_read_packet()

static int ilbc_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 90 of file ilbc.c.

Variable Documentation

◆ mode20_header

const char mode20_header[] = "#!iLBC20\n"
static

Definition at line 30 of file ilbc.c.

Referenced by ilbc_probe(), ilbc_read_header(), and ilbc_write_header().

◆ mode30_header

const char mode30_header[] = "#!iLBC30\n"
static

Definition at line 31 of file ilbc.c.

Referenced by ilbc_read_header(), and ilbc_write_header().

◆ ff_ilbc_demuxer

const FFInputFormat ff_ilbc_demuxer
Initial value:
= {
.p.name = "ilbc",
.p.long_name = NULL_IF_CONFIG_SMALL("iLBC storage"),
.p.flags = AVFMT_GENERIC_INDEX,
.read_probe = ilbc_probe,
.read_header = ilbc_read_header,
.read_packet = ilbc_read_packet,
}

Definition at line 105 of file ilbc.c.

ilbc_probe
static int ilbc_probe(const AVProbeData *p)
Definition: ilbc.c:49
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:94
ilbc_read_packet
static int ilbc_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ilbc.c:90
ilbc_read_header
static int ilbc_read_header(AVFormatContext *s)
Definition: ilbc.c:58