FFmpeg
Classes | Macros | Typedefs | Enumerations | Variables
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 <inttypes.h>
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "id3v2.h"
#include "internal.h"

Classes

struct  IffDemuxContext
 
struct  DSDLayoutDesc
 

Macros

#define ID_8SVX   MKTAG('8','S','V','X')
 
#define ID_16SV   MKTAG('1','6','S','V')
 
#define ID_MAUD   MKTAG('M','A','U','D')
 
#define ID_MHDR   MKTAG('M','H','D','R')
 
#define ID_MDAT   MKTAG('M','D','A','T')
 
#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_PBM   MKTAG('P','B','M',' ')
 
#define ID_ILBM   MKTAG('I','L','B','M')
 
#define ID_BMHD   MKTAG('B','M','H','D')
 
#define ID_DGBL   MKTAG('D','G','B','L')
 
#define ID_CAMG   MKTAG('C','A','M','G')
 
#define ID_CMAP   MKTAG('C','M','A','P')
 
#define ID_ACBM   MKTAG('A','C','B','M')
 
#define ID_DEEP   MKTAG('D','E','E','P')
 
#define ID_RGB8   MKTAG('R','G','B','8')
 
#define ID_RGBN   MKTAG('R','G','B','N')
 
#define ID_DSD   MKTAG('D','S','D',' ')
 
#define ID_DST   MKTAG('D','S','T',' ')
 
#define ID_DSTC   MKTAG('D','S','T','C')
 
#define ID_DSTF   MKTAG('D','S','T','F')
 
#define ID_FRTE   MKTAG('F','R','T','E')
 
#define ID_ANIM   MKTAG('A','N','I','M')
 
#define ID_ANHD   MKTAG('A','N','H','D')
 
#define ID_DLTA   MKTAG('D','L','T','A')
 
#define ID_DPAN   MKTAG('D','P','A','N')
 
#define ID_FORM   MKTAG('F','O','R','M')
 
#define ID_FRM8   MKTAG('F','R','M','8')
 
#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_ABIT   MKTAG('A','B','I','T')
 
#define ID_BODY   MKTAG('B','O','D','Y')
 
#define ID_DBOD   MKTAG('D','B','O','D')
 
#define ID_DPEL   MKTAG('D','P','E','L')
 
#define ID_DLOC   MKTAG('D','L','O','C')
 
#define ID_TVDC   MKTAG('T','V','D','C')
 
#define LEFT   2
 
#define RIGHT   4
 
#define STEREO   6
 
#define IFF_EXTRA_VIDEO_SIZE   41
 This number of bytes if added at the beginning of each AVPacket which contain additional information about video properties which has to be shared between demuxer and decoder. More...
 
#define DSD_SLFT   MKTAG('S','L','F','T')
 
#define DSD_SRGT   MKTAG('S','R','G','T')
 
#define DSD_MLFT   MKTAG('M','L','F','T')
 
#define DSD_MRGT   MKTAG('M','R','G','T')
 
#define DSD_C   MKTAG('C',' ',' ',' ')
 
#define DSD_LS   MKTAG('L','S',' ',' ')
 
#define DSD_RS   MKTAG('R','S',' ',' ')
 
#define DSD_LFE   MKTAG('L','F','E',' ')
 

Typedefs

typedef struct IffDemuxContext IffDemuxContext
 

Enumerations

enum  svx8_compression_type { COMP_NONE, COMP_FIB, COMP_EXP }
 

Variables

AVInputFormat ff_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.

Macro Definition Documentation

§ IFF_EXTRA_VIDEO_SIZE

#define IFF_EXTRA_VIDEO_SIZE   41

This number of bytes if added at the beginning of each AVPacket which contain additional information about video properties which has to be shared between demuxer and decoder.

This number may change between frames, e.g. the demuxer might set it to smallest possible size of 2 to indicate that there's no extradata changing in this frame.

Variable Documentation

§ ff_iff_demuxer

AVInputFormat ff_iff_demuxer
Initial value:
= {
.name = "iff",
.long_name = NULL_IF_CONFIG_SMALL("IFF (Interchange File Format)"),
.priv_data_size = sizeof(IffDemuxContext),
.read_probe = iff_probe,
.read_header = iff_read_header,
.read_packet = iff_read_packet,
}
Definition: iff.c:108
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:470
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:477