FFmpeg
Data Structures | Macros | Functions | Variables
aiffdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "pcm.h"
#include "aiff.h"
#include "id3v2.h"
#include "mov_chan.h"
#include "replaygain.h"

Go to the source code of this file.

Data Structures

struct  AIFFInputContext
 

Macros

#define AIFF   0
 
#define AIFF_C_VERSION1   0xA2805140
 
#define MAX_SIZE   4096
 

Functions

static enum AVCodecID aiff_codec_get_id (int bps)
 
static int64_t get_tag (AVIOContext *pb, uint32_t *tag)
 
static void get_meta (AVFormatContext *s, const char *key, int64_t size)
 
static int get_aiff_header (AVFormatContext *s, int64_t size, unsigned version)
 
static int aiff_probe (const AVProbeData *p)
 
static int aiff_read_header (AVFormatContext *s)
 
static int aiff_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_aiff_demuxer
 

Macro Definition Documentation

◆ AIFF

#define AIFF   0

Definition at line 33 of file aiffdec.c.

◆ AIFF_C_VERSION1

#define AIFF_C_VERSION1   0xA2805140

Definition at line 34 of file aiffdec.c.

◆ MAX_SIZE

#define MAX_SIZE   4096

Definition at line 390 of file aiffdec.c.

Function Documentation

◆ aiff_codec_get_id()

static enum AVCodecID aiff_codec_get_id ( int  bps)
static

Definition at line 41 of file aiffdec.c.

Referenced by get_aiff_header().

◆ get_tag()

static int64_t get_tag ( AVIOContext pb,
uint32_t *  tag 
)
static

Definition at line 57 of file aiffdec.c.

Referenced by aiff_read_header().

◆ get_meta()

static void get_meta ( AVFormatContext s,
const char *  key,
int64_t  size 
)
static

Definition at line 71 of file aiffdec.c.

Referenced by aiff_read_header().

◆ get_aiff_header()

static int get_aiff_header ( AVFormatContext s,
int64_t  size,
unsigned  version 
)
static

Definition at line 93 of file aiffdec.c.

Referenced by aiff_read_header().

◆ aiff_probe()

static int aiff_probe ( const AVProbeData p)
static

Definition at line 202 of file aiffdec.c.

◆ aiff_read_header()

static int aiff_read_header ( AVFormatContext s)
static

Definition at line 215 of file aiffdec.c.

◆ aiff_read_packet()

static int aiff_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 392 of file aiffdec.c.

Variable Documentation

◆ ff_aiff_demuxer

const FFInputFormat ff_aiff_demuxer
Initial value:
= {
.p.name = "aiff",
.p.long_name = NULL_IF_CONFIG_SMALL("Audio IFF"),
.p.codec_tag = ff_aiff_codec_tags_list,
.priv_data_size = sizeof(AIFFInputContext),
}

Definition at line 436 of file aiffdec.c.

aiff_read_packet
static int aiff_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: aiffdec.c:392
AIFFInputContext
Definition: aiffdec.c:36
read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:151
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:41
aiff_probe
static int aiff_probe(const AVProbeData *p)
Definition: aiffdec.c:202
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:550
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:106
ff_pcm_read_seek
int ff_pcm_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: pcm.c:73
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30
ff_aiff_codec_tags_list
const AVCodecTag *const ff_aiff_codec_tags_list[]
Definition: aiff.c:55
aiff_read_header
static int aiff_read_header(AVFormatContext *s)
Definition: aiffdec.c:215