libavformat/aiffdec.c File Reference

#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "internal.h"
#include "pcm.h"
#include "aiff.h"
#include "isom.h"
#include "id3v2.h"

Go to the source code of this file.

Data Structures

struct  AIFFInputContext

Defines

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

Functions

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

Variables

AVInputFormat ff_aiff_demuxer


Define Documentation

#define AIFF   0

Definition at line 32 of file aiffdec.c.

Referenced by aiff_read_header(), and av_register_all().

#define AIFF_C_VERSION1   0xA2805140

Definition at line 33 of file aiffdec.c.

Referenced by aiff_read_header(), and get_aiff_header().

#define MAX_SIZE   4096

Definition at line 308 of file aiffdec.c.


Function Documentation

static enum AVCodecID aiff_codec_get_id ( int  bps  )  [static]

Definition at line 40 of file aiffdec.c.

Referenced by get_aiff_header().

static int aiff_probe ( AVProbeData p  )  [static]

Definition at line 178 of file aiffdec.c.

static int aiff_read_header ( AVFormatContext s  )  [static]

Definition at line 191 of file aiffdec.c.

static int aiff_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 310 of file aiffdec.c.

static unsigned int get_aiff_header ( AVFormatContext s,
int  size,
unsigned  version 
) [static]

Definition at line 93 of file aiffdec.c.

Referenced by aiff_read_header().

static void get_meta ( AVFormatContext s,
const char *  key,
int  size 
) [static]

Definition at line 73 of file aiffdec.c.

Referenced by aiff_read_header().

static int get_tag ( AVIOContext pb,
uint32_t *  tag 
) [static]


Variable Documentation

Initial value:

 {
    .name           = "aiff",
    .long_name      = NULL_IF_CONFIG_SMALL("Audio IFF"),
    .priv_data_size = sizeof(AIFFInputContext),
    .read_probe     = aiff_probe,
    .read_header    = aiff_read_header,
    .read_packet    = aiff_read_packet,
    .read_seek      = ff_pcm_read_seek,
    .codec_tag      = (const AVCodecTag* const []){ ff_codec_aiff_tags, 0 },
}

Definition at line 341 of file aiffdec.c.


Generated on Fri Oct 26 02:50:10 2012 for FFmpeg by  doxygen 1.5.8