FFmpeg
Functions | Variables
ilbc.c File Reference
#include "avformat.h"
#include "internal.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 AVInputFormat ff_ilbc_demuxer
 

Function Documentation

◆ ilbc_write_header()

static int ilbc_write_header ( AVFormatContext s)
static

Definition at line 29 of file ilbc.c.

◆ ilbc_probe()

static int ilbc_probe ( const AVProbeData p)
static

Definition at line 56 of file ilbc.c.

◆ ilbc_read_header()

static int ilbc_read_header ( AVFormatContext s)
static

Definition at line 65 of file ilbc.c.

◆ ilbc_read_packet()

static int ilbc_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 96 of file ilbc.c.

Variable Documentation

◆ mode20_header

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

Definition at line 26 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 27 of file ilbc.c.

Referenced by ilbc_read_header(), and ilbc_write_header().

◆ ff_ilbc_demuxer

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

Definition at line 111 of file ilbc.c.

ilbc_probe
static int ilbc_probe(const AVProbeData *p)
Definition: ilbc.c:56
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:468
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:117
ilbc_read_packet
static int ilbc_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ilbc.c:96
ilbc_read_header
static int ilbc_read_header(AVFormatContext *s)
Definition: ilbc.c:65