FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
ilbc.c File Reference
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int ilbc_write_header (AVFormatContext *s)
 
static int ilbc_write_packet (AVFormatContext *s, AVPacket *pkt)
 
static int ilbc_probe (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"
 
AVInputFormat ff_ilbc_demuxer
 
AVOutputFormat ff_ilbc_muxer
 

Function Documentation

static int ilbc_write_header ( AVFormatContext s)
static

Definition at line 28 of file ilbc.c.

static int ilbc_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 56 of file ilbc.c.

static int ilbc_probe ( AVProbeData p)
static

Definition at line 63 of file ilbc.c.

static int ilbc_read_header ( AVFormatContext s)
static

Definition at line 72 of file ilbc.c.

static int ilbc_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 103 of file ilbc.c.

Variable Documentation

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

Definition at line 25 of file ilbc.c.

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

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

Definition at line 26 of file ilbc.c.

Referenced by ilbc_read_header(), and ilbc_write_header().

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 123 of file ilbc.c.

AVOutputFormat ff_ilbc_muxer
Initial value:
= {
.name = "ilbc",
.long_name = NULL_IF_CONFIG_SMALL("iLBC storage"),
.mime_type = "audio/iLBC",
.extensions = "lbc",
.audio_codec = AV_CODEC_ID_ILBC,
.write_header = ilbc_write_header,
.write_packet = ilbc_write_packet,
}

Definition at line 132 of file ilbc.c.