aiff.c File Reference

Go to the source code of this file.

Classes

struct  AIFFOutputContext

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_write_header (AVFormatContext *s)
static int aiff_write_packet (AVFormatContext *s, AVPacket *pkt)
static int aiff_write_trailer (AVFormatContext *s)
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 []
AVInputFormat aiff_demuxer
AVOutputFormat aiff_muxer


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 get_tag ( ByteIOContext pb,
uint32_t tag 
) [static]

Definition at line 62 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 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 int aiff_write_header ( AVFormatContext s  )  [static]

Definition at line 161 of file aiff.c.

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

Definition at line 232 of file aiff.c.

static int aiff_write_trailer ( AVFormatContext s  )  [static]

Definition at line 239 of file aiff.c.

static int aiff_probe ( AVProbeData p  )  [static]

Definition at line 276 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_close ( AVFormatContext s  )  [static]

Definition at line 415 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.


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.

Initial value:

 {
    "aiff",
    "Audio IFF",
    0,
    aiff_probe,
    aiff_read_header,
    aiff_read_packet,
    aiff_read_close,
    aiff_read_seek,
    .codec_tag= (const AVCodecTag*[]){codec_aiff_tags, 0},
}

Definition at line 427 of file aiff.c.

Initial value:

 {
    "aiff",
    "Audio IFF",
    "audio/aiff",
    "aif,aiff,afc,aifc",
    sizeof(AIFFOutputContext),
    CODEC_ID_PCM_S16BE,
    CODEC_ID_NONE,
    aiff_write_header,
    aiff_write_packet,
    aiff_write_trailer,
    .codec_tag= (const AVCodecTag*[]){codec_aiff_tags, 0},
}

Definition at line 441 of file aiff.c.


Generated on Sat Dec 18 05:15:50 2010 for MythTV by  doxygen 1.5.5