FFmpeg
Data Structures | Functions | Variables
ircamdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavcodec/internal.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "pcm.h"
#include "ircam.h"

Go to the source code of this file.

Data Structures

struct  endianess
 

Functions

static int ircam_probe (const AVProbeData *p)
 
static int ircam_read_header (AVFormatContext *s)
 

Variables

static const struct endianess table []
 
const FFInputFormat ff_ircam_demuxer
 

Function Documentation

◆ ircam_probe()

static int ircam_probe ( const AVProbeData p)
static

Definition at line 30 of file ircamdec.c.

◆ ircam_read_header()

static int ircam_read_header ( AVFormatContext s)
static

Definition at line 54 of file ircamdec.c.

Variable Documentation

◆ table

const struct endianess table[]
static
Initial value:
= {
{ 0x64A30100, 0 },
{ 0x64A30200, 1 },
{ 0x64A30300, 0 },
{ 0x64A30400, 1 },
{ 0x0001A364, 1 },
{ 0x0002A364, 0 },
{ 0x0003A364, 1 },
}

Referenced by ircam_read_header().

◆ ff_ircam_demuxer

const FFInputFormat ff_ircam_demuxer
Initial value:
= {
.p.name = "ircam",
.p.long_name = NULL_IF_CONFIG_SMALL("Berkeley/IRCAM/CARL Sound Format"),
.p.extensions = "sf,ircam",
.p.flags = AVFMT_GENERIC_INDEX,
.read_probe = ircam_probe,
.read_header = ircam_read_header,
.read_packet = ff_pcm_read_packet,
.read_seek = ff_pcm_read_seek,
}

Definition at line 111 of file ircamdec.c.

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
ircam_probe
static int ircam_probe(const AVProbeData *p)
Definition: ircamdec.c:30
ircam_read_header
static int ircam_read_header(AVFormatContext *s)
Definition: ircamdec.c:54
ff_pcm_read_packet
int ff_pcm_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: pcm.c:57
ff_pcm_read_seek
int ff_pcm_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: pcm.c:73