libavformat/aiff.c File Reference

#include "avformat.h"
#include "raw.h"
#include "riff.h"
#include "intfloat_readwrite.h"

Go to the source code of this file.

Defines

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

Functions

static int aiff_codec_get_id (int bps)
static int get_tag (ByteIOContext *pb, uint32_t *tag)
static void get_meta (ByteIOContext *pb, char *str, int strsize, int size)
static unsigned int get_aiff_header (ByteIOContext *pb, AVCodecContext *codec, int size, unsigned version)
static int aiff_probe (AVProbeData *p)
static int aiff_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int aiff_read_packet (AVFormatContext *s, AVPacket *pkt)
static int aiff_read_close (AVFormatContext *s)
static int aiff_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)

Variables

static const AVCodecTag codec_aiff_tags []


Define Documentation

#define AIFF   0

Definition at line 43 of file aiff.c.

Referenced by aiff_read_header(), and av_register_all().

#define AIFF_C_VERSION1   0xA2805140

Definition at line 44 of file aiff.c.

Referenced by aiff_read_header(), and get_aiff_header().

#define MAX_SIZE   4096


Function Documentation

static int aiff_codec_get_id ( int  bps  )  [static]

Definition at line 46 of file aiff.c.

Referenced by get_aiff_header().

static int aiff_probe ( AVProbeData p  )  [static]

Definition at line 276 of file aiff.c.

static int aiff_read_close ( AVFormatContext s  )  [static]

Definition at line 415 of file aiff.c.

static int aiff_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 289 of file aiff.c.

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

Definition at line 395 of file aiff.c.

static int aiff_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  timestamp,
int  flags 
) [static]

Definition at line 420 of file aiff.c.

static unsigned int get_aiff_header ( ByteIOContext pb,
AVCodecContext codec,
int  size,
unsigned  version 
) [static]

Definition at line 100 of file aiff.c.

Referenced by aiff_read_header().

static void get_meta ( ByteIOContext pb,
char *  str,
int  strsize,
int  size 
) [static]

Definition at line 79 of file aiff.c.

Referenced by aiff_read_header().

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

Definition at line 62 of file aiff.c.

Referenced by aiff_read_header().


Variable Documentation

const AVCodecTag codec_aiff_tags[] [static]

Initial value:

 {
    { CODEC_ID_PCM_S16BE, MKTAG('N','O','N','E') },
    { CODEC_ID_PCM_S8, MKTAG('N','O','N','E') },
    { CODEC_ID_PCM_S24BE, MKTAG('N','O','N','E') },
    { CODEC_ID_PCM_S32BE, MKTAG('N','O','N','E') },
    { CODEC_ID_PCM_ALAW, MKTAG('a','l','a','w') },
    { CODEC_ID_PCM_ALAW, MKTAG('A','L','A','W') },
    { CODEC_ID_PCM_MULAW, MKTAG('u','l','a','w') },
    { CODEC_ID_PCM_MULAW, MKTAG('U','L','A','W') },
    { CODEC_ID_MACE3, MKTAG('M','A','C','3') },
    { CODEC_ID_MACE6, MKTAG('M','A','C','6') },
    { CODEC_ID_GSM, MKTAG('G','S','M',' ') },
    { CODEC_ID_ADPCM_G726, MKTAG('G','7','2','6') },
    { CODEC_ID_PCM_S16LE, MKTAG('s','o','w','t') },
    { 0, 0 },
}

Definition at line 26 of file aiff.c.


Generated on Thu Apr 2 07:16:13 2009 for ffmpeg by  doxygen 1.5.6