FFmpeg
|
#include <inttypes.h>
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/mem.h"
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "demux.h"
#include "id3v2.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
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',' ') |
Enumerations | |
enum | svx8_compression_type { COMP_NONE, COMP_FIB, COMP_EXP } |
Functions | |
static int | get_metadata (AVFormatContext *s, const char *const tag, const unsigned data_size) |
static int | iff_probe (const AVProbeData *p) |
static int | parse_dsd_diin (AVFormatContext *s, AVStream *st, uint64_t eof) |
static int | parse_dsd_prop (AVFormatContext *s, AVStream *st, uint64_t eof) |
static int | read_dst_frame (AVFormatContext *s, AVPacket *pkt) |
static AVStream * | new_stream (AVFormatContext *s, AVStream **st_ptr, int *index_ptr, enum AVMediaType codec_type) |
static int | iff_read_header (AVFormatContext *s) |
static unsigned | get_anim_duration (uint8_t *buf, int size) |
static int64_t | get_sbdy_offset (uint8_t *buf, int size) |
static int | iff_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
static const AVCodecTag | dsd_codec_tags [] |
static const uint32_t | dsd_stereo [] = { DSD_SLFT, DSD_SRGT } |
static const uint32_t | dsd_5point0 [] = { DSD_MLFT, DSD_MRGT, DSD_C, DSD_LS, DSD_RS } |
static const uint32_t | dsd_5point1 [] = { DSD_MLFT, DSD_MRGT, DSD_C, DSD_LFE, DSD_LS, DSD_RS } |
static const DSDLayoutDesc | dsd_channel_layout [] |
static const AVChannelLayout | dsd_loudspeaker_config [] |
static const char * | dsd_source_comment [] |
static const char * | dsd_history_comment [] |
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} |
static const uint8_t | deep_bgra [] = {0, 0, 0, 4, 0, 3, 0, 8, 0, 2, 0, 8, 0, 1, 0, 8} |
static const uint8_t | deep_argb [] = {0, 0, 0, 4, 0,17, 0, 8, 0, 1, 0, 8, 0, 2, 0, 8} |
static const uint8_t | deep_abgr [] = {0, 0, 0, 4, 0,17, 0, 8, 0, 3, 0, 8, 0, 2, 0, 8} |
const FFInputFormat | ff_iff_demuxer |
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 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.
|
static |
Definition at line 133 of file iff.c.
Referenced by iff_read_header(), and parse_dsd_diin().
|
static |
|
static |
Definition at line 222 of file iff.c.
Referenced by iff_read_header().
|
static |
Definition at line 255 of file iff.c.
Referenced by iff_read_header().
|
static |
Definition at line 359 of file iff.c.
Referenced by iff_read_header(), and iff_read_packet().
|
static |
Definition at line 426 of file iff.c.
Referenced by iff_read_header().
|
static |
|
static |
Definition at line 885 of file iff.c.
Referenced by iff_read_packet().
|
static |
Definition at line 907 of file iff.c.
Referenced by iff_read_packet().
|
static |
|
static |
Definition at line 171 of file iff.c.
Referenced by parse_dsd_prop().
|
static |
|
static |
Definition at line 202 of file iff.c.
Referenced by parse_dsd_prop().
|
static |
Definition at line 208 of file iff.c.
Referenced by iff_read_header().
|
static |
Definition at line 214 of file iff.c.
Referenced by iff_read_header().
|
static |
Definition at line 420 of file iff.c.
Referenced by iff_read_header().
|
static |
Definition at line 421 of file iff.c.
Referenced by iff_read_header().
|
static |
Definition at line 422 of file iff.c.
Referenced by iff_read_header().
|
static |
Definition at line 423 of file iff.c.
Referenced by iff_read_header().
|
static |
Definition at line 424 of file iff.c.
Referenced by iff_read_header().
const FFInputFormat ff_iff_demuxer |