FFmpeg
Data Structures | Functions | Variables
eacdata.c File Reference
#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  CdataDemuxContext
 

Functions

static int cdata_probe (const AVProbeData *p)
 
static int cdata_read_header (AVFormatContext *s)
 
static int cdata_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_ea_cdata_demuxer
 

Detailed Description

Electronic Arts cdata Format Demuxer by Peter Ross (pross.nosp@m.@xvi.nosp@m.d.org)

Technical details here: http://wiki.multimedia.cx/index.php?title=EA_Command_And_Conquer_3_Audio_Codec

Definition in file eacdata.c.

Function Documentation

◆ cdata_probe()

static int cdata_probe ( const AVProbeData p)
static

Definition at line 43 of file eacdata.c.

◆ cdata_read_header()

static int cdata_read_header ( AVFormatContext s)
static

Definition at line 52 of file eacdata.c.

◆ cdata_read_packet()

static int cdata_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 95 of file eacdata.c.

Variable Documentation

◆ ff_ea_cdata_demuxer

const FFInputFormat ff_ea_cdata_demuxer
Initial value:
= {
.p.name = "ea_cdata",
.p.long_name = NULL_IF_CONFIG_SMALL("Electronic Arts cdata"),
.p.extensions = "cdata",
.priv_data_size = sizeof(CdataDemuxContext),
}

Definition at line 107 of file eacdata.c.

cdata_read_header
static int cdata_read_header(AVFormatContext *s)
Definition: eacdata.c:52
cdata_probe
static int cdata_probe(const AVProbeData *p)
Definition: eacdata.c:43
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:540
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
CdataDemuxContext
Definition: eacdata.c:38
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30
cdata_read_packet
static int cdata_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: eacdata.c:95