matroska.h File Reference
#include "libavcodec/avcodec.h"
#include "metadata.h"
#include "internal.h"
Include dependency graph for matroska.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  CodecTags
 

Macros

#define EBML_VERSION   1
 
#define EBML_ID_HEADER   0x1A45DFA3
 
#define EBML_ID_EBMLVERSION   0x4286
 
#define EBML_ID_EBMLREADVERSION   0x42F7
 
#define EBML_ID_EBMLMAXIDLENGTH   0x42F2
 
#define EBML_ID_EBMLMAXSIZELENGTH   0x42F3
 
#define EBML_ID_DOCTYPE   0x4282
 
#define EBML_ID_DOCTYPEVERSION   0x4287
 
#define EBML_ID_DOCTYPEREADVERSION   0x4285
 
#define EBML_ID_VOID   0xEC
 
#define EBML_ID_CRC32   0xBF
 
#define MATROSKA_ID_SEGMENT   0x18538067
 
#define MATROSKA_ID_INFO   0x1549A966
 
#define MATROSKA_ID_TRACKS   0x1654AE6B
 
#define MATROSKA_ID_CUES   0x1C53BB6B
 
#define MATROSKA_ID_TAGS   0x1254C367
 
#define MATROSKA_ID_SEEKHEAD   0x114D9B74
 
#define MATROSKA_ID_ATTACHMENTS   0x1941A469
 
#define MATROSKA_ID_CLUSTER   0x1F43B675
 
#define MATROSKA_ID_CHAPTERS   0x1043A770
 
#define MATROSKA_ID_TIMECODESCALE   0x2AD7B1
 
#define MATROSKA_ID_DURATION   0x4489
 
#define MATROSKA_ID_TITLE   0x7BA9
 
#define MATROSKA_ID_WRITINGAPP   0x5741
 
#define MATROSKA_ID_MUXINGAPP   0x4D80
 
#define MATROSKA_ID_DATEUTC   0x4461
 
#define MATROSKA_ID_SEGMENTUID   0x73A4
 
#define MATROSKA_ID_TRACKENTRY   0xAE
 
#define MATROSKA_ID_TRACKNUMBER   0xD7
 
#define MATROSKA_ID_TRACKUID   0x73C5
 
#define MATROSKA_ID_TRACKTYPE   0x83
 
#define MATROSKA_ID_TRACKVIDEO   0xE0
 
#define MATROSKA_ID_TRACKAUDIO   0xE1
 
#define MATROSKA_ID_TRACKOPERATION   0xE2
 
#define MATROSKA_ID_TRACKCOMBINEPLANES   0xE3
 
#define MATROSKA_ID_TRACKPLANE   0xE4
 
#define MATROSKA_ID_TRACKPLANEUID   0xE5
 
#define MATROSKA_ID_TRACKPLANETYPE   0xE6
 
#define MATROSKA_ID_CODECID   0x86
 
#define MATROSKA_ID_CODECPRIVATE   0x63A2
 
#define MATROSKA_ID_CODECNAME   0x258688
 
#define MATROSKA_ID_CODECINFOURL   0x3B4040
 
#define MATROSKA_ID_CODECDOWNLOADURL   0x26B240
 
#define MATROSKA_ID_CODECDECODEALL   0xAA
 
#define MATROSKA_ID_TRACKNAME   0x536E
 
#define MATROSKA_ID_TRACKLANGUAGE   0x22B59C
 
#define MATROSKA_ID_TRACKFLAGENABLED   0xB9
 
#define MATROSKA_ID_TRACKFLAGDEFAULT   0x88
 
#define MATROSKA_ID_TRACKFLAGFORCED   0x55AA
 
#define MATROSKA_ID_TRACKFLAGLACING   0x9C
 
#define MATROSKA_ID_TRACKMINCACHE   0x6DE7
 
#define MATROSKA_ID_TRACKMAXCACHE   0x6DF8
 
#define MATROSKA_ID_TRACKDEFAULTDURATION   0x23E383
 
#define MATROSKA_ID_TRACKCONTENTENCODINGS   0x6D80
 
#define MATROSKA_ID_TRACKCONTENTENCODING   0x6240
 
#define MATROSKA_ID_TRACKTIMECODESCALE   0x23314F
 
#define MATROSKA_ID_TRACKMAXBLKADDID   0x55EE
 
#define MATROSKA_ID_VIDEOFRAMERATE   0x2383E3
 
#define MATROSKA_ID_VIDEODISPLAYWIDTH   0x54B0
 
#define MATROSKA_ID_VIDEODISPLAYHEIGHT   0x54BA
 
#define MATROSKA_ID_VIDEOPIXELWIDTH   0xB0
 
#define MATROSKA_ID_VIDEOPIXELHEIGHT   0xBA
 
#define MATROSKA_ID_VIDEOPIXELCROPB   0x54AA
 
#define MATROSKA_ID_VIDEOPIXELCROPT   0x54BB
 
#define MATROSKA_ID_VIDEOPIXELCROPL   0x54CC
 
#define MATROSKA_ID_VIDEOPIXELCROPR   0x54DD
 
#define MATROSKA_ID_VIDEODISPLAYUNIT   0x54B2
 
#define MATROSKA_ID_VIDEOFLAGINTERLACED   0x9A
 
#define MATROSKA_ID_VIDEOSTEREOMODE   0x53B8
 
#define MATROSKA_ID_VIDEOALPHAMODE   0x53C0
 
#define MATROSKA_ID_VIDEOASPECTRATIO   0x54B3
 
#define MATROSKA_ID_VIDEOCOLORSPACE   0x2EB524
 
#define MATROSKA_ID_AUDIOSAMPLINGFREQ   0xB5
 
#define MATROSKA_ID_AUDIOOUTSAMPLINGFREQ   0x78B5
 
#define MATROSKA_ID_AUDIOBITDEPTH   0x6264
 
#define MATROSKA_ID_AUDIOCHANNELS   0x9F
 
#define MATROSKA_ID_ENCODINGORDER   0x5031
 
#define MATROSKA_ID_ENCODINGSCOPE   0x5032
 
#define MATROSKA_ID_ENCODINGTYPE   0x5033
 
#define MATROSKA_ID_ENCODINGCOMPRESSION   0x5034
 
#define MATROSKA_ID_ENCODINGCOMPALGO   0x4254
 
#define MATROSKA_ID_ENCODINGCOMPSETTINGS   0x4255
 
#define MATROSKA_ID_ENCODINGENCRYPTION   0x5035
 
#define MATROSKA_ID_ENCODINGENCAESSETTINGS   0x47E7
 
#define MATROSKA_ID_ENCODINGENCALGO   0x47E1
 
#define MATROSKA_ID_ENCODINGENCKEYID   0x47E2
 
#define MATROSKA_ID_ENCODINGSIGALGO   0x47E5
 
#define MATROSKA_ID_ENCODINGSIGHASHALGO   0x47E6
 
#define MATROSKA_ID_ENCODINGSIGKEYID   0x47E4
 
#define MATROSKA_ID_ENCODINGSIGNATURE   0x47E3
 
#define MATROSKA_ID_POINTENTRY   0xBB
 
#define MATROSKA_ID_CUETIME   0xB3
 
#define MATROSKA_ID_CUETRACKPOSITION   0xB7
 
#define MATROSKA_ID_CUETRACK   0xF7
 
#define MATROSKA_ID_CUECLUSTERPOSITION   0xF1
 
#define MATROSKA_ID_CUEBLOCKNUMBER   0x5378
 
#define MATROSKA_ID_TAG   0x7373
 
#define MATROSKA_ID_SIMPLETAG   0x67C8
 
#define MATROSKA_ID_TAGNAME   0x45A3
 
#define MATROSKA_ID_TAGSTRING   0x4487
 
#define MATROSKA_ID_TAGLANG   0x447A
 
#define MATROSKA_ID_TAGDEFAULT   0x4484
 
#define MATROSKA_ID_TAGDEFAULT_BUG   0x44B4
 
#define MATROSKA_ID_TAGTARGETS   0x63C0
 
#define MATROSKA_ID_TAGTARGETS_TYPE   0x63CA
 
#define MATROSKA_ID_TAGTARGETS_TYPEVALUE   0x68CA
 
#define MATROSKA_ID_TAGTARGETS_TRACKUID   0x63C5
 
#define MATROSKA_ID_TAGTARGETS_CHAPTERUID   0x63C4
 
#define MATROSKA_ID_TAGTARGETS_ATTACHUID   0x63C6
 
#define MATROSKA_ID_SEEKENTRY   0x4DBB
 
#define MATROSKA_ID_SEEKID   0x53AB
 
#define MATROSKA_ID_SEEKPOSITION   0x53AC
 
#define MATROSKA_ID_CLUSTERTIMECODE   0xE7
 
#define MATROSKA_ID_CLUSTERPOSITION   0xA7
 
#define MATROSKA_ID_CLUSTERPREVSIZE   0xAB
 
#define MATROSKA_ID_BLOCKGROUP   0xA0
 
#define MATROSKA_ID_BLOCKADDITIONS   0x75A1
 
#define MATROSKA_ID_BLOCKMORE   0xA6
 
#define MATROSKA_ID_BLOCKADDID   0xEE
 
#define MATROSKA_ID_BLOCKADDITIONAL   0xA5
 
#define MATROSKA_ID_SIMPLEBLOCK   0xA3
 
#define MATROSKA_ID_BLOCK   0xA1
 
#define MATROSKA_ID_BLOCKDURATION   0x9B
 
#define MATROSKA_ID_BLOCKREFERENCE   0xFB
 
#define MATROSKA_ID_ATTACHEDFILE   0x61A7
 
#define MATROSKA_ID_FILEDESC   0x467E
 
#define MATROSKA_ID_FILENAME   0x466E
 
#define MATROSKA_ID_FILEMIMETYPE   0x4660
 
#define MATROSKA_ID_FILEDATA   0x465C
 
#define MATROSKA_ID_FILEUID   0x46AE
 
#define MATROSKA_ID_EDITIONENTRY   0x45B9
 
#define MATROSKA_ID_CHAPTERATOM   0xB6
 
#define MATROSKA_ID_CHAPTERTIMESTART   0x91
 
#define MATROSKA_ID_CHAPTERTIMEEND   0x92
 
#define MATROSKA_ID_CHAPTERDISPLAY   0x80
 
#define MATROSKA_ID_CHAPSTRING   0x85
 
#define MATROSKA_ID_CHAPLANG   0x437C
 
#define MATROSKA_ID_EDITIONUID   0x45BC
 
#define MATROSKA_ID_EDITIONFLAGHIDDEN   0x45BD
 
#define MATROSKA_ID_EDITIONFLAGDEFAULT   0x45DB
 
#define MATROSKA_ID_EDITIONFLAGORDERED   0x45DD
 
#define MATROSKA_ID_CHAPTERUID   0x73C4
 
#define MATROSKA_ID_CHAPTERFLAGHIDDEN   0x98
 
#define MATROSKA_ID_CHAPTERFLAGENABLED   0x4598
 
#define MATROSKA_ID_CHAPTERPHYSEQUIV   0x63C3
 
#define EBML_MAX_DEPTH   16
 
#define MATROSKA_VIDEO_STEREO_MODE_COUNT   15
 
#define MATROSKA_VIDEO_STEREO_PLANE_COUNT   3
 

Typedefs

typedef struct CodecTags CodecTags
 

Enumerations

enum  MatroskaTrackType {
  MATROSKA_TRACK_TYPE_NONE = 0x0, MATROSKA_TRACK_TYPE_VIDEO = 0x1, MATROSKA_TRACK_TYPE_AUDIO = 0x2, MATROSKA_TRACK_TYPE_COMPLEX = 0x3,
  MATROSKA_TRACK_TYPE_LOGO = 0x10, MATROSKA_TRACK_TYPE_SUBTITLE = 0x11, MATROSKA_TRACK_TYPE_CONTROL = 0x20
}
 
enum  MatroskaTrackEncodingCompAlgo { MATROSKA_TRACK_ENCODING_COMP_ZLIB = 0, MATROSKA_TRACK_ENCODING_COMP_BZLIB = 1, MATROSKA_TRACK_ENCODING_COMP_LZO = 2, MATROSKA_TRACK_ENCODING_COMP_HEADERSTRIP = 3 }
 
enum  MatroskaVideoStereoModeType {
  MATROSKA_VIDEO_STEREOMODE_TYPE_MONO = 0, MATROSKA_VIDEO_STEREOMODE_TYPE_LEFT_RIGHT = 1, MATROSKA_VIDEO_STEREOMODE_TYPE_BOTTOM_TOP = 2, MATROSKA_VIDEO_STEREOMODE_TYPE_TOP_BOTTOM = 3,
  MATROSKA_VIDEO_STEREOMODE_TYPE_CHECKERBOARD_RL = 4, MATROSKA_VIDEO_STEREOMODE_TYPE_CHECKERBOARD_LR = 5, MATROSKA_VIDEO_STEREOMODE_TYPE_ROW_INTERLEAVED_RL = 6, MATROSKA_VIDEO_STEREOMODE_TYPE_ROW_INTERLEAVED_LR = 7,
  MATROSKA_VIDEO_STEREOMODE_TYPE_COL_INTERLEAVED_RL = 8, MATROSKA_VIDEO_STEREOMODE_TYPE_COL_INTERLEAVED_LR = 9, MATROSKA_VIDEO_STEREOMODE_TYPE_ANAGLYPH_CYAN_RED = 10, MATROSKA_VIDEO_STEREOMODE_TYPE_RIGHT_LEFT = 11,
  MATROSKA_VIDEO_STEREOMODE_TYPE_ANAGLYPH_GREEN_MAG = 12, MATROSKA_VIDEO_STEREOMODE_TYPE_BOTH_EYES_BLOCK_LR = 13, MATROSKA_VIDEO_STEREOMODE_TYPE_BOTH_EYES_BLOCK_RL = 14
}
 

Variables

const CodecTags ff_mkv_codec_tags []
 
const CodecMime ff_mkv_mime_tags []
 
const AVMetadataConv ff_mkv_metadata_conv []
 
const char *const ff_matroska_video_stereo_mode [MATROSKA_VIDEO_STEREO_MODE_COUNT]
 
const char *const ff_matroska_video_stereo_plane [MATROSKA_VIDEO_STEREO_PLANE_COUNT]
 

Macro Definition Documentation

#define EBML_ID_CRC32   0xBF

Definition at line 46 of file matroska.h.

Referenced by ebml_parse_id().

#define EBML_ID_DOCTYPE   0x4282

Definition at line 40 of file matroska.h.

Referenced by mkv_write_header().

#define EBML_ID_DOCTYPEREADVERSION   0x4285

Definition at line 42 of file matroska.h.

Referenced by mkv_write_header().

#define EBML_ID_DOCTYPEVERSION   0x4287

Definition at line 41 of file matroska.h.

Referenced by mkv_write_header().

#define EBML_ID_EBMLMAXIDLENGTH   0x42F2

Definition at line 38 of file matroska.h.

Referenced by mkv_write_header().

#define EBML_ID_EBMLMAXSIZELENGTH   0x42F3

Definition at line 39 of file matroska.h.

Referenced by mkv_write_header().

#define EBML_ID_EBMLREADVERSION   0x42F7

Definition at line 37 of file matroska.h.

Referenced by mkv_write_header().

#define EBML_ID_EBMLVERSION   0x4286

Definition at line 36 of file matroska.h.

Referenced by mkv_write_header().

#define EBML_ID_HEADER   0x1A45DFA3

Definition at line 33 of file matroska.h.

Referenced by matroska_probe(), and mkv_write_header().

#define EBML_ID_VOID   0xEC

Definition at line 45 of file matroska.h.

Referenced by ebml_parse_id(), and put_ebml_void().

#define EBML_MAX_DEPTH   16

Definition at line 269 of file matroska.h.

Referenced by ebml_read_master(), and matroska_parse_seekhead_entry().

#define EBML_VERSION   1

Definition at line 30 of file matroska.h.

Referenced by matroska_read_header().

#define MATROSKA_ID_ATTACHEDFILE   0x61A7

Definition at line 200 of file matroska.h.

Referenced by mkv_write_attachments().

#define MATROSKA_ID_ATTACHMENTS   0x1941A469

Definition at line 61 of file matroska.h.

Referenced by matroska_resync(), and mkv_write_attachments().

#define MATROSKA_ID_AUDIOBITDEPTH   0x6264

Definition at line 129 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_AUDIOCHANNELS   0x9F

Definition at line 130 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_AUDIOOUTSAMPLINGFREQ   0x78B5

Definition at line 127 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_AUDIOSAMPLINGFREQ   0xB5

Definition at line 126 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_BLOCK   0xA1

Definition at line 195 of file matroska.h.

Referenced by ass_get_duration(), mkv_write_packet_internal(), and mkv_write_srt_blocks().

#define MATROSKA_ID_BLOCKADDID   0xEE

Definition at line 190 of file matroska.h.

#define MATROSKA_ID_BLOCKADDITIONAL   0xA5

Definition at line 191 of file matroska.h.

#define MATROSKA_ID_BLOCKADDITIONS   0x75A1

Definition at line 188 of file matroska.h.

#define MATROSKA_ID_BLOCKDURATION   0x9B

Definition at line 196 of file matroska.h.

Referenced by ass_get_duration(), mkv_write_packet_internal(), and mkv_write_srt_blocks().

#define MATROSKA_ID_BLOCKGROUP   0xA0

Definition at line 187 of file matroska.h.

Referenced by ass_get_duration(), mkv_write_packet_internal(), and mkv_write_srt_blocks().

#define MATROSKA_ID_BLOCKMORE   0xA6

Definition at line 189 of file matroska.h.

#define MATROSKA_ID_BLOCKREFERENCE   0xFB

Definition at line 197 of file matroska.h.

#define MATROSKA_ID_CHAPLANG   0x437C

Definition at line 214 of file matroska.h.

Referenced by mkv_write_chapters().

#define MATROSKA_ID_CHAPSTRING   0x85

Definition at line 213 of file matroska.h.

Referenced by mkv_write_chapters().

#define MATROSKA_ID_CHAPTERATOM   0xB6

Definition at line 209 of file matroska.h.

Referenced by mkv_write_chapters().

#define MATROSKA_ID_CHAPTERDISPLAY   0x80

Definition at line 212 of file matroska.h.

Referenced by mkv_write_chapters().

#define MATROSKA_ID_CHAPTERFLAGENABLED   0x4598

Definition at line 221 of file matroska.h.

Referenced by mkv_write_chapters().

#define MATROSKA_ID_CHAPTERFLAGHIDDEN   0x98

Definition at line 220 of file matroska.h.

Referenced by mkv_write_chapters().

#define MATROSKA_ID_CHAPTERPHYSEQUIV   0x63C3

Definition at line 222 of file matroska.h.

#define MATROSKA_ID_CHAPTERS   0x1043A770

Definition at line 63 of file matroska.h.

Referenced by matroska_resync(), and mkv_write_chapters().

#define MATROSKA_ID_CHAPTERTIMEEND   0x92

Definition at line 211 of file matroska.h.

Referenced by mkv_write_chapters().

#define MATROSKA_ID_CHAPTERTIMESTART   0x91

Definition at line 210 of file matroska.h.

Referenced by mkv_write_chapters().

#define MATROSKA_ID_CHAPTERUID   0x73C4

Definition at line 219 of file matroska.h.

Referenced by mkv_write_chapters().

#define MATROSKA_ID_CLUSTER   0x1F43B675
#define MATROSKA_ID_CLUSTERPOSITION   0xA7

Definition at line 185 of file matroska.h.

#define MATROSKA_ID_CLUSTERPREVSIZE   0xAB

Definition at line 186 of file matroska.h.

#define MATROSKA_ID_CLUSTERTIMECODE   0xE7

Definition at line 184 of file matroska.h.

Referenced by mkv_write_packet_internal().

#define MATROSKA_ID_CODECDECODEALL   0xAA

Definition at line 93 of file matroska.h.

#define MATROSKA_ID_CODECDOWNLOADURL   0x26B240

Definition at line 92 of file matroska.h.

#define MATROSKA_ID_CODECID   0x86

Definition at line 88 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_CODECINFOURL   0x3B4040

Definition at line 91 of file matroska.h.

#define MATROSKA_ID_CODECNAME   0x258688

Definition at line 90 of file matroska.h.

#define MATROSKA_ID_CODECPRIVATE   0x63A2

Definition at line 89 of file matroska.h.

Referenced by mkv_write_codecprivate().

#define MATROSKA_ID_CUEBLOCKNUMBER   0x5378

Definition at line 159 of file matroska.h.

#define MATROSKA_ID_CUECLUSTERPOSITION   0xF1

Definition at line 158 of file matroska.h.

Referenced by mkv_write_cues().

#define MATROSKA_ID_CUES   0x1C53BB6B
#define MATROSKA_ID_CUETIME   0xB3

Definition at line 153 of file matroska.h.

Referenced by mkv_write_cues().

#define MATROSKA_ID_CUETRACK   0xF7

Definition at line 157 of file matroska.h.

Referenced by mkv_write_cues().

#define MATROSKA_ID_CUETRACKPOSITION   0xB7

Definition at line 154 of file matroska.h.

Referenced by mkv_write_cues().

#define MATROSKA_ID_DATEUTC   0x4461

Definition at line 71 of file matroska.h.

Referenced by mkv_write_header().

#define MATROSKA_ID_DURATION   0x4489

Definition at line 67 of file matroska.h.

Referenced by mkv_write_trailer().

#define MATROSKA_ID_EDITIONENTRY   0x45B9

Definition at line 208 of file matroska.h.

Referenced by mkv_write_chapters().

#define MATROSKA_ID_EDITIONFLAGDEFAULT   0x45DB

Definition at line 217 of file matroska.h.

Referenced by mkv_write_chapters().

#define MATROSKA_ID_EDITIONFLAGHIDDEN   0x45BD

Definition at line 216 of file matroska.h.

Referenced by mkv_write_chapters().

#define MATROSKA_ID_EDITIONFLAGORDERED   0x45DD

Definition at line 218 of file matroska.h.

#define MATROSKA_ID_EDITIONUID   0x45BC

Definition at line 215 of file matroska.h.

#define MATROSKA_ID_ENCODINGCOMPALGO   0x4254

Definition at line 137 of file matroska.h.

#define MATROSKA_ID_ENCODINGCOMPRESSION   0x5034

Definition at line 136 of file matroska.h.

#define MATROSKA_ID_ENCODINGCOMPSETTINGS   0x4255

Definition at line 138 of file matroska.h.

#define MATROSKA_ID_ENCODINGENCAESSETTINGS   0x47E7

Definition at line 141 of file matroska.h.

#define MATROSKA_ID_ENCODINGENCALGO   0x47E1

Definition at line 142 of file matroska.h.

#define MATROSKA_ID_ENCODINGENCKEYID   0x47E2

Definition at line 143 of file matroska.h.

#define MATROSKA_ID_ENCODINGENCRYPTION   0x5035

Definition at line 140 of file matroska.h.

#define MATROSKA_ID_ENCODINGORDER   0x5031

Definition at line 133 of file matroska.h.

#define MATROSKA_ID_ENCODINGSCOPE   0x5032

Definition at line 134 of file matroska.h.

#define MATROSKA_ID_ENCODINGSIGALGO   0x47E5

Definition at line 144 of file matroska.h.

#define MATROSKA_ID_ENCODINGSIGHASHALGO   0x47E6

Definition at line 145 of file matroska.h.

#define MATROSKA_ID_ENCODINGSIGKEYID   0x47E4

Definition at line 146 of file matroska.h.

#define MATROSKA_ID_ENCODINGSIGNATURE   0x47E3

Definition at line 147 of file matroska.h.

#define MATROSKA_ID_ENCODINGTYPE   0x5033

Definition at line 135 of file matroska.h.

#define MATROSKA_ID_FILEDATA   0x465C

Definition at line 204 of file matroska.h.

Referenced by mkv_write_attachments().

#define MATROSKA_ID_FILEDESC   0x467E

Definition at line 201 of file matroska.h.

Referenced by mkv_write_attachments().

#define MATROSKA_ID_FILEMIMETYPE   0x4660

Definition at line 203 of file matroska.h.

Referenced by mkv_write_attachments().

#define MATROSKA_ID_FILENAME   0x466E

Definition at line 202 of file matroska.h.

Referenced by mkv_write_attachments().

#define MATROSKA_ID_FILEUID   0x46AE

Definition at line 205 of file matroska.h.

Referenced by mkv_write_attachments().

#define MATROSKA_ID_INFO   0x1549A966

Definition at line 56 of file matroska.h.

Referenced by matroska_resync(), and mkv_write_header().

#define MATROSKA_ID_MUXINGAPP   0x4D80

Definition at line 70 of file matroska.h.

Referenced by mkv_write_header().

#define MATROSKA_ID_POINTENTRY   0xBB

Definition at line 150 of file matroska.h.

Referenced by mkv_write_cues().

#define MATROSKA_ID_SEEKENTRY   0x4DBB

Definition at line 177 of file matroska.h.

Referenced by mkv_write_seekhead().

#define MATROSKA_ID_SEEKHEAD   0x114D9B74

Definition at line 60 of file matroska.h.

Referenced by matroska_parse_seekhead_entry(), matroska_resync(), and mkv_write_seekhead().

#define MATROSKA_ID_SEEKID   0x53AB

Definition at line 180 of file matroska.h.

Referenced by mkv_write_seekhead().

#define MATROSKA_ID_SEEKPOSITION   0x53AC

Definition at line 181 of file matroska.h.

Referenced by mkv_write_seekhead().

#define MATROSKA_ID_SEGMENT   0x18538067

Definition at line 53 of file matroska.h.

Referenced by ebml_parse_elem(), and mkv_write_header().

#define MATROSKA_ID_SEGMENTUID   0x73A4

Definition at line 72 of file matroska.h.

Referenced by mkv_write_header().

#define MATROSKA_ID_SIMPLEBLOCK   0xA3

Definition at line 192 of file matroska.h.

Referenced by mkv_write_packet_internal().

#define MATROSKA_ID_SIMPLETAG   0x67C8

Definition at line 163 of file matroska.h.

Referenced by mkv_write_simpletag().

#define MATROSKA_ID_TAG   0x7373

Definition at line 162 of file matroska.h.

Referenced by mkv_write_tag().

#define MATROSKA_ID_TAGDEFAULT   0x4484

Definition at line 167 of file matroska.h.

#define MATROSKA_ID_TAGDEFAULT_BUG   0x44B4

Definition at line 168 of file matroska.h.

#define MATROSKA_ID_TAGLANG   0x447A

Definition at line 166 of file matroska.h.

Referenced by mkv_write_simpletag().

#define MATROSKA_ID_TAGNAME   0x45A3

Definition at line 164 of file matroska.h.

Referenced by mkv_write_simpletag().

#define MATROSKA_ID_TAGS   0x1254C367

Definition at line 59 of file matroska.h.

Referenced by matroska_resync(), and mkv_write_tag().

#define MATROSKA_ID_TAGSTRING   0x4487

Definition at line 165 of file matroska.h.

Referenced by mkv_write_simpletag().

#define MATROSKA_ID_TAGTARGETS   0x63C0

Definition at line 169 of file matroska.h.

Referenced by mkv_write_tag().

#define MATROSKA_ID_TAGTARGETS_ATTACHUID   0x63C6

Definition at line 174 of file matroska.h.

#define MATROSKA_ID_TAGTARGETS_CHAPTERUID   0x63C4

Definition at line 173 of file matroska.h.

Referenced by mkv_write_tags().

#define MATROSKA_ID_TAGTARGETS_TRACKUID   0x63C5

Definition at line 172 of file matroska.h.

Referenced by mkv_write_tags().

#define MATROSKA_ID_TAGTARGETS_TYPE   0x63CA

Definition at line 170 of file matroska.h.

#define MATROSKA_ID_TAGTARGETS_TYPEVALUE   0x68CA

Definition at line 171 of file matroska.h.

#define MATROSKA_ID_TIMECODESCALE   0x2AD7B1

Definition at line 66 of file matroska.h.

Referenced by mkv_write_header().

#define MATROSKA_ID_TITLE   0x7BA9

Definition at line 68 of file matroska.h.

Referenced by mkv_write_header().

#define MATROSKA_ID_TRACKAUDIO   0xE1

Definition at line 82 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_TRACKCOMBINEPLANES   0xE3

Definition at line 84 of file matroska.h.

#define MATROSKA_ID_TRACKCONTENTENCODING   0x6240

Definition at line 104 of file matroska.h.

#define MATROSKA_ID_TRACKCONTENTENCODINGS   0x6D80

Definition at line 103 of file matroska.h.

#define MATROSKA_ID_TRACKDEFAULTDURATION   0x23E383

Definition at line 102 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_TRACKENTRY   0xAE

Definition at line 75 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_TRACKFLAGDEFAULT   0x88

Definition at line 97 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_TRACKFLAGENABLED   0xB9

Definition at line 96 of file matroska.h.

#define MATROSKA_ID_TRACKFLAGFORCED   0x55AA

Definition at line 98 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_TRACKFLAGLACING   0x9C

Definition at line 99 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_TRACKLANGUAGE   0x22B59C

Definition at line 95 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_TRACKMAXBLKADDID   0x55EE

Definition at line 106 of file matroska.h.

#define MATROSKA_ID_TRACKMAXCACHE   0x6DF8

Definition at line 101 of file matroska.h.

#define MATROSKA_ID_TRACKMINCACHE   0x6DE7

Definition at line 100 of file matroska.h.

#define MATROSKA_ID_TRACKNAME   0x536E

Definition at line 94 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_TRACKNUMBER   0xD7

Definition at line 78 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_TRACKOPERATION   0xE2

Definition at line 83 of file matroska.h.

#define MATROSKA_ID_TRACKPLANE   0xE4

Definition at line 85 of file matroska.h.

#define MATROSKA_ID_TRACKPLANETYPE   0xE6

Definition at line 87 of file matroska.h.

#define MATROSKA_ID_TRACKPLANEUID   0xE5

Definition at line 86 of file matroska.h.

#define MATROSKA_ID_TRACKS   0x1654AE6B

Definition at line 57 of file matroska.h.

Referenced by matroska_resync(), and mkv_write_tracks().

#define MATROSKA_ID_TRACKTIMECODESCALE   0x23314F

Definition at line 105 of file matroska.h.

#define MATROSKA_ID_TRACKTYPE   0x83

Definition at line 80 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_TRACKUID   0x73C5

Definition at line 79 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_TRACKVIDEO   0xE0

Definition at line 81 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_VIDEOALPHAMODE   0x53C0

Definition at line 121 of file matroska.h.

#define MATROSKA_ID_VIDEOASPECTRATIO   0x54B3

Definition at line 122 of file matroska.h.

#define MATROSKA_ID_VIDEOCOLORSPACE   0x2EB524

Definition at line 123 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_VIDEODISPLAYHEIGHT   0x54BA

Definition at line 111 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_VIDEODISPLAYUNIT   0x54B2

Definition at line 118 of file matroska.h.

#define MATROSKA_ID_VIDEODISPLAYWIDTH   0x54B0

Definition at line 110 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_VIDEOFLAGINTERLACED   0x9A

Definition at line 119 of file matroska.h.

#define MATROSKA_ID_VIDEOFRAMERATE   0x2383E3

Definition at line 109 of file matroska.h.

#define MATROSKA_ID_VIDEOPIXELCROPB   0x54AA

Definition at line 114 of file matroska.h.

#define MATROSKA_ID_VIDEOPIXELCROPL   0x54CC

Definition at line 116 of file matroska.h.

#define MATROSKA_ID_VIDEOPIXELCROPR   0x54DD

Definition at line 117 of file matroska.h.

#define MATROSKA_ID_VIDEOPIXELCROPT   0x54BB

Definition at line 115 of file matroska.h.

#define MATROSKA_ID_VIDEOPIXELHEIGHT   0xBA

Definition at line 113 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_VIDEOPIXELWIDTH   0xB0

Definition at line 112 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_VIDEOSTEREOMODE   0x53B8

Definition at line 120 of file matroska.h.

Referenced by mkv_write_tracks().

#define MATROSKA_ID_WRITINGAPP   0x5741

Definition at line 69 of file matroska.h.

Referenced by mkv_write_header().

#define MATROSKA_VIDEO_STEREO_MODE_COUNT   15

Definition at line 271 of file matroska.h.

Referenced by matroska_read_header(), and mkv_write_tracks().

#define MATROSKA_VIDEO_STEREO_PLANE_COUNT   3

Definition at line 272 of file matroska.h.

Referenced by matroska_read_header().

Typedef Documentation

typedef struct CodecTags CodecTags

Enumeration Type Documentation

Enumerator
MATROSKA_TRACK_ENCODING_COMP_ZLIB 
MATROSKA_TRACK_ENCODING_COMP_BZLIB 
MATROSKA_TRACK_ENCODING_COMP_LZO 
MATROSKA_TRACK_ENCODING_COMP_HEADERSTRIP 

Definition at line 234 of file matroska.h.

Enumerator
MATROSKA_TRACK_TYPE_NONE 
MATROSKA_TRACK_TYPE_VIDEO 
MATROSKA_TRACK_TYPE_AUDIO 
MATROSKA_TRACK_TYPE_COMPLEX 
MATROSKA_TRACK_TYPE_LOGO 
MATROSKA_TRACK_TYPE_SUBTITLE 
MATROSKA_TRACK_TYPE_CONTROL 

Definition at line 224 of file matroska.h.

Enumerator
MATROSKA_VIDEO_STEREOMODE_TYPE_MONO 
MATROSKA_VIDEO_STEREOMODE_TYPE_LEFT_RIGHT 
MATROSKA_VIDEO_STEREOMODE_TYPE_BOTTOM_TOP 
MATROSKA_VIDEO_STEREOMODE_TYPE_TOP_BOTTOM 
MATROSKA_VIDEO_STEREOMODE_TYPE_CHECKERBOARD_RL 
MATROSKA_VIDEO_STEREOMODE_TYPE_CHECKERBOARD_LR 
MATROSKA_VIDEO_STEREOMODE_TYPE_ROW_INTERLEAVED_RL 
MATROSKA_VIDEO_STEREOMODE_TYPE_ROW_INTERLEAVED_LR 
MATROSKA_VIDEO_STEREOMODE_TYPE_COL_INTERLEAVED_RL 
MATROSKA_VIDEO_STEREOMODE_TYPE_COL_INTERLEAVED_LR 
MATROSKA_VIDEO_STEREOMODE_TYPE_ANAGLYPH_CYAN_RED 
MATROSKA_VIDEO_STEREOMODE_TYPE_RIGHT_LEFT 
MATROSKA_VIDEO_STEREOMODE_TYPE_ANAGLYPH_GREEN_MAG 
MATROSKA_VIDEO_STEREOMODE_TYPE_BOTH_EYES_BLOCK_LR 
MATROSKA_VIDEO_STEREOMODE_TYPE_BOTH_EYES_BLOCK_RL 

Definition at line 241 of file matroska.h.

Variable Documentation

const char* const ff_matroska_video_stereo_mode[MATROSKA_VIDEO_STEREO_MODE_COUNT]

Definition at line 120 of file matroska.c.

Referenced by matroska_read_header(), and mkv_write_tracks().

const char* const ff_matroska_video_stereo_plane[MATROSKA_VIDEO_STEREO_PLANE_COUNT]

Definition at line 138 of file matroska.c.

Referenced by matroska_read_header().

const CodecTags ff_mkv_codec_tags[]

Definition at line 27 of file matroska.c.

Referenced by matroska_read_header(), mkv_query_codec(), and mkv_write_tracks().

const AVMetadataConv ff_mkv_metadata_conv[]

Definition at line 114 of file matroska.c.

Referenced by matroska_convert_tag(), and mkv_write_tags().

const CodecMime ff_mkv_mime_tags[]

Definition at line 101 of file matroska.c.

Referenced by matroska_read_header(), and mkv_write_attachments().