libavformat/aiff.c File Reference

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

Go to the source code of this file.

Defines

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

Functions

static enum CodecID aiff_codec_get_id (int bps)
static int get_tag (ByteIOContext *pb, uint32_t *tag)
static void get_meta (AVFormatContext *s, const char *key, 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)

Variables

static const AVCodecTag codec_aiff_tags []


Define Documentation

#define AIFF   0

Definition at line 46 of file aiff.c.

Referenced by aiff_read_header(), and av_register_all().

#define AIFF_C_VERSION1   0xA2805140

Definition at line 47 of file aiff.c.

Referenced by aiff_read_header(), and get_aiff_header().

#define MAX_SIZE   4096


Function Documentation

static enum CodecID aiff_codec_get_id ( int  bps  )  [static]

Definition at line 49 of file aiff.c.

Referenced by get_aiff_header().

static int aiff_probe ( AVProbeData p  )  [static]

Definition at line 295 of file aiff.c.

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

Definition at line 308 of file aiff.c.

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

Definition at line 419 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 ( AVFormatContext s,
const char *  key,
int  size 
) [static]

Definition at line 82 of file aiff.c.

Referenced by aiff_read_header().

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

Definition at line 65 of file aiff.c.

Referenced by aiff_read_header(), and asf_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_F32BE,    MKTAG('f','l','3','2') },
    { CODEC_ID_PCM_F64BE,    MKTAG('f','l','6','4') },
    { CODEC_ID_PCM_ALAW,     MKTAG('a','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') },
    { CODEC_ID_ADPCM_IMA_QT, MKTAG('i','m','a','4') },
    { CODEC_ID_QDM2,         MKTAG('Q','D','M','2') },
    { 0, 0 },
}

Definition at line 27 of file aiff.c.


Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8