libavformat/iff.c File Reference

IFF file demuxer by Jaikrishnan Menon for more information on the .iff file format, visit: http://wiki.multimedia.cx/index.php?title=IFF. More...

#include "libavutil/intreadwrite.h"
#include "avformat.h"

Go to the source code of this file.

Data Structures

struct  IffDemuxContext

Defines

#define ID_8SVX   MKTAG('8','S','V','X')
#define ID_VHDR   MKTAG('V','H','D','R')
#define ID_ATAK   MKTAG('A','T','A','K')
#define ID_RLSE   MKTAG('R','L','S','E')
#define ID_CHAN   MKTAG('C','H','A','N')
#define ID_FORM   MKTAG('F','O','R','M')
#define ID_ANNO   MKTAG('A','N','N','O')
#define ID_AUTH   MKTAG('A','U','T','H')
#define ID_CHRS   MKTAG('C','H','R','S')
#define ID_COPYRIGHT   MKTAG('(','c',')',' ')
#define ID_CSET   MKTAG('C','S','E','T')
#define ID_FVER   MKTAG('F','V','E','R')
#define ID_NAME   MKTAG('N','A','M','E')
#define ID_TEXT   MKTAG('T','E','X','T')
#define ID_BODY   MKTAG('B','O','D','Y')
#define LEFT   2
#define RIGHT   4
#define STEREO   6
#define PACKET_SIZE   1024

Enumerations

enum  svx8_compression_type { COMP_NONE, COMP_FIB, COMP_EXP }

Functions

static void interleave_stereo (const uint8_t *src, uint8_t *dest, int size)
static int iff_probe (AVProbeData *p)
static int iff_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int iff_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat iff_demuxer


Detailed Description

IFF file demuxer by Jaikrishnan Menon for more information on the .iff file format, visit: http://wiki.multimedia.cx/index.php?title=IFF.

Definition in file iff.c.


Define Documentation

#define ID_8SVX   MKTAG('8','S','V','X')

Definition at line 33 of file iff.c.

Referenced by iff_probe().

#define ID_ANNO   MKTAG('A','N','N','O')

Definition at line 40 of file iff.c.

#define ID_ATAK   MKTAG('A','T','A','K')

Definition at line 35 of file iff.c.

#define ID_AUTH   MKTAG('A','U','T','H')

Definition at line 41 of file iff.c.

#define ID_BODY   MKTAG('B','O','D','Y')

Definition at line 48 of file iff.c.

Referenced by iff_read_header().

#define ID_CHAN   MKTAG('C','H','A','N')

Definition at line 37 of file iff.c.

Referenced by iff_read_header().

#define ID_CHRS   MKTAG('C','H','R','S')

Definition at line 42 of file iff.c.

#define ID_COPYRIGHT   MKTAG('(','c',')',' ')

Definition at line 43 of file iff.c.

#define ID_CSET   MKTAG('C','S','E','T')

Definition at line 44 of file iff.c.

#define ID_FORM   MKTAG('F','O','R','M')

Definition at line 39 of file iff.c.

Referenced by iff_probe().

#define ID_FVER   MKTAG('F','V','E','R')

Definition at line 45 of file iff.c.

#define ID_NAME   MKTAG('N','A','M','E')

Definition at line 46 of file iff.c.

#define ID_RLSE   MKTAG('R','L','S','E')

Definition at line 36 of file iff.c.

#define ID_TEXT   MKTAG('T','E','X','T')

Definition at line 47 of file iff.c.

#define ID_VHDR   MKTAG('V','H','D','R')

Definition at line 34 of file iff.c.

Referenced by iff_read_header().

#define LEFT   2

Definition at line 50 of file iff.c.

#define PACKET_SIZE   1024

Definition at line 54 of file iff.c.

#define RIGHT   4

Definition at line 51 of file iff.c.

#define STEREO   6

Definition at line 52 of file iff.c.


Enumeration Type Documentation

Enumerator:
COMP_NONE 
COMP_FIB 
COMP_EXP 

Definition at line 56 of file iff.c.


Function Documentation

static int iff_probe ( AVProbeData p  )  [static]

Definition at line 77 of file iff.c.

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

Definition at line 87 of file iff.c.

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

Definition at line 160 of file iff.c.

static void interleave_stereo ( const uint8_t *  src,
uint8_t *  dest,
int  size 
) [static]

Definition at line 65 of file iff.c.

Referenced by iff_read_packet().


Variable Documentation

Initial value:

Definition at line 194 of file iff.c.


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