#include "libavcodec/bytestream.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "internal.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_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_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_ABIT MKTAG('A','B','I','T') |
#define | ID_BODY MKTAG('B','O','D','Y') |
#define | ID_DBOD MKTAG('D','B','O','D') |
#define | ID_ANNO MKTAG('A','N','N','O') |
#define | ID_DPEL MKTAG('D','P','E','L') |
#define | LEFT 2 |
#define | RIGHT 4 |
#define | STEREO 6 |
#define | IFF_EXTRA_VIDEO_SIZE 9 |
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. | |
Enumerations | |
enum | svx8_compression_type { COMP_NONE, COMP_FIB, COMP_EXP } |
enum | bitmap_compression_type { BITMAP_RAW, BITMAP_BYTERUN1 } |
Functions | |
static int | get_metadata (AVFormatContext *s, const char *const tag, const unsigned data_size) |
static int | iff_probe (AVProbeData *p) |
static int | iff_read_header (AVFormatContext *s) |
static int | iff_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
static const uint8_t | deep_rgb24 [] = {0, 0, 0, 3, 0, 1, 0, 8, 0, 2, 0, 8, 0, 3, 0, 8} |
static const uint8_t | deep_rgba [] = {0, 0, 0, 4, 0, 1, 0, 8, 0, 2, 0, 8, 0, 3, 0, 8} |
AVInputFormat | ff_iff_demuxer |
Definition in file iff.c.
#define ID_8SVX MKTAG('8','S','V','X') |
#define ID_ABIT MKTAG('A','B','I','T') |
#define ID_ACBM MKTAG('A','C','B','M') |
#define ID_ANNO MKTAG('A','N','N','O') |
#define ID_AUTH MKTAG('A','U','T','H') |
#define ID_BMHD MKTAG('B','M','H','D') |
#define ID_BODY MKTAG('B','O','D','Y') |
#define ID_CAMG MKTAG('C','A','M','G') |
#define ID_CHAN MKTAG('C','H','A','N') |
#define ID_CMAP MKTAG('C','M','A','P') |
#define ID_COPYRIGHT MKTAG('(','c',')',' ') |
#define ID_DBOD MKTAG('D','B','O','D') |
#define ID_DEEP MKTAG('D','E','E','P') |
#define ID_DGBL MKTAG('D','G','B','L') |
#define ID_DPEL MKTAG('D','P','E','L') |
#define ID_FORM MKTAG('F','O','R','M') |
#define ID_ILBM MKTAG('I','L','B','M') |
#define ID_NAME MKTAG('N','A','M','E') |
#define ID_PBM MKTAG('P','B','M',' ') |
#define ID_VHDR MKTAG('V','H','D','R') |
#define IFF_EXTRA_VIDEO_SIZE 9 |
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.
Definition at line 78 of file iff.c.
Referenced by iff_read_header().
static int get_metadata | ( | AVFormatContext * | s, | |
const char *const | tag, | |||
const unsigned | data_size | |||
) | [static] |
static int iff_probe | ( | AVProbeData * | p | ) | [static] |
static int iff_read_header | ( | AVFormatContext * | s | ) | [static] |
static int iff_read_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
const uint8_t deep_rgb24[] = {0, 0, 0, 3, 0, 1, 0, 8, 0, 2, 0, 8, 0, 3, 0, 8} [static] |
Initial value:
{ .name = "iff", .long_name = NULL_IF_CONFIG_SMALL("Interchange File Format"), .priv_data_size = sizeof(IffDemuxContext), .read_probe = iff_probe, .read_header = iff_read_header, .read_packet = iff_read_packet, }