#include <stdio.h>
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"
#include "riff.h"
#include "isom.h"
#include "rm.h"
#include "matroska.h"
#include "libavcodec/mpeg4audio.h"
#include "libavutil/intfloat.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/avstring.h"
#include "libavutil/lzo.h"
#include "libavutil/dict.h"
Go to the source code of this file.
Definition in file matroskadec.c.
enum EbmlType |
EBML_NONE | |
EBML_UINT | |
EBML_FLOAT | |
EBML_STR | |
EBML_UTF8 | |
EBML_BIN | |
EBML_NEST | |
EBML_PASS | |
EBML_STOP | |
EBML_TYPE_COUNT |
Definition at line 53 of file matroskadec.c.
static void ebml_free | ( | EbmlSyntax * | syntax, | |
void * | data | |||
) | [static] |
Definition at line 953 of file matroskadec.c.
Referenced by matroska_parse_cluster(), matroska_parse_cluster_incremental(), matroska_read_close(), and matroska_read_header().
static int ebml_level_end | ( | MatroskaDemuxContext * | matroska | ) | [static] |
Definition at line 620 of file matroskadec.c.
Referenced by ebml_parse_nest(), and matroska_parse_cluster_incremental().
static int ebml_parse | ( | MatroskaDemuxContext * | matroska, | |
EbmlSyntax * | syntax, | |||
void * | data | |||
) | [static] |
Definition at line 850 of file matroskadec.c.
Referenced by ebml_parse_nest(), matroska_parse_cluster(), matroska_parse_cluster_incremental(), matroska_parse_seekhead_entry(), and matroska_read_header().
static int ebml_parse_elem | ( | MatroskaDemuxContext * | matroska, | |
EbmlSyntax * | syntax, | |||
void * | data | |||
) | [static] |
static int ebml_parse_id | ( | MatroskaDemuxContext * | matroska, | |
EbmlSyntax * | syntax, | |||
uint32_t | id, | |||
void * | data | |||
) | [static] |
static int ebml_parse_nest | ( | MatroskaDemuxContext * | matroska, | |
EbmlSyntax * | syntax, | |||
void * | data | |||
) | [static] |
static int ebml_read_ascii | ( | AVIOContext * | pb, | |
int | size, | |||
char ** | str | |||
) | [static] |
static int ebml_read_binary | ( | AVIOContext * | pb, | |
int | length, | |||
EbmlBin * | bin | |||
) | [static] |
static int ebml_read_float | ( | AVIOContext * | pb, | |
int | size, | |||
double * | num | |||
) | [static] |
static int ebml_read_length | ( | MatroskaDemuxContext * | matroska, | |
AVIOContext * | pb, | |||
uint64_t * | number | |||
) | [static] |
Read a EBML length value.
This needs special handling for the "unknown length" case which has multiple encodings.
Definition at line 688 of file matroskadec.c.
Referenced by ebml_parse_elem().
static int ebml_read_master | ( | MatroskaDemuxContext * | matroska, | |
uint64_t | length | |||
) | [static] |
static int ebml_read_num | ( | MatroskaDemuxContext * | matroska, | |
AVIOContext * | pb, | |||
int | max_size, | |||
uint64_t * | number | |||
) | [static] |
Definition at line 643 of file matroskadec.c.
Referenced by ebml_parse(), ebml_read_length(), and matroska_ebmlnum_uint().
static int ebml_read_uint | ( | AVIOContext * | pb, | |
int | size, | |||
uint64_t * | num | |||
) | [static] |
static int matroska_aac_profile | ( | char * | codec_id | ) | [static] |
static int matroska_aac_sri | ( | int | samplerate | ) | [static] |
static void matroska_add_index_entries | ( | MatroskaDemuxContext * | matroska | ) | [static] |
Definition at line 1328 of file matroskadec.c.
Referenced by matroska_parse_cues(), and matroska_read_header().
static void matroska_clear_queue | ( | MatroskaDemuxContext * | matroska | ) | [static] |
Definition at line 1822 of file matroskadec.c.
Referenced by matroska_read_close(), and matroska_read_seek().
static void matroska_convert_tag | ( | AVFormatContext * | s, | |
EbmlList * | list, | |||
AVDictionary ** | metadata, | |||
char * | prefix | |||
) | [static] |
static void matroska_convert_tags | ( | AVFormatContext * | s | ) | [static] |
static int matroska_decode_buffer | ( | uint8_t ** | buf, | |
int * | buf_size, | |||
MatroskaTrack * | track | |||
) | [static] |
Definition at line 1036 of file matroskadec.c.
Referenced by matroska_parse_block(), and matroska_read_header().
static int matroska_deliver_packet | ( | MatroskaDemuxContext * | matroska, | |
AVPacket * | pkt | |||
) | [static] |
static int matroska_ebmlnum_sint | ( | MatroskaDemuxContext * | matroska, | |
uint8_t * | data, | |||
uint32_t | size, | |||
int64_t * | num | |||
) | [static] |
static int matroska_ebmlnum_uint | ( | MatroskaDemuxContext * | matroska, | |
uint8_t * | data, | |||
uint32_t | size, | |||
uint64_t * | num | |||
) | [static] |
Definition at line 804 of file matroskadec.c.
Referenced by matroska_ebmlnum_sint(), and matroska_parse_block().
static void matroska_execute_seekhead | ( | MatroskaDemuxContext * | matroska | ) | [static] |
static MatroskaTrack* matroska_find_track_by_num | ( | MatroskaDemuxContext * | matroska, | |
int | num | |||
) | [static] |
Definition at line 1022 of file matroskadec.c.
Referenced by matroska_add_index_entries(), and matroska_parse_block().
static void matroska_fix_ass_packet | ( | MatroskaDemuxContext * | matroska, | |
AVPacket * | pkt, | |||
uint64_t | display_duration | |||
) | [static] |
static void matroska_metadata_creation_time | ( | AVDictionary ** | metadata, | |
int64_t | date_utc | |||
) | [static] |
static int matroska_parse_block | ( | MatroskaDemuxContext * | matroska, | |
uint8_t * | data, | |||
int | size, | |||
int64_t | pos, | |||
uint64_t | cluster_time, | |||
uint64_t | duration, | |||
int | is_keyframe, | |||
int64_t | cluster_pos | |||
) | [static] |
Definition at line 1835 of file matroskadec.c.
Referenced by matroska_parse_cluster(), and matroska_parse_cluster_incremental().
static int matroska_parse_cluster | ( | MatroskaDemuxContext * | matroska | ) | [static] |
Definition at line 2167 of file matroskadec.c.
Referenced by matroska_read_packet(), and matroska_read_seek().
static int matroska_parse_cluster_incremental | ( | MatroskaDemuxContext * | matroska | ) | [static] |
static void matroska_parse_cues | ( | MatroskaDemuxContext * | matroska | ) | [static] |
static int matroska_parse_seekhead_entry | ( | MatroskaDemuxContext * | matroska, | |
int | idx | |||
) | [static] |
Definition at line 1247 of file matroskadec.c.
Referenced by matroska_execute_seekhead(), and matroska_parse_cues().
static int matroska_probe | ( | AVProbeData * | p | ) | [static] |
Definition at line 980 of file matroskadec.c.
static int matroska_read_close | ( | AVFormatContext * | s | ) | [static] |
Definition at line 2281 of file matroskadec.c.
static int matroska_read_header | ( | AVFormatContext * | s | ) | [static] |
Definition at line 1402 of file matroskadec.c.
static int matroska_read_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
Definition at line 2196 of file matroskadec.c.
static int matroska_read_seek | ( | AVFormatContext * | s, | |
int | stream_index, | |||
int64_t | timestamp, | |||
int | flags | |||
) | [static] |
Definition at line 2211 of file matroskadec.c.
static int matroska_resync | ( | MatroskaDemuxContext * | matroska, | |
int64_t | last_pos | |||
) | [static] |
Definition at line 587 of file matroskadec.c.
Referenced by matroska_read_header(), and matroska_read_packet().
EbmlSyntax ebml_header[] [static] |
Initial value:
{ { EBML_ID_EBMLREADVERSION, EBML_UINT, 0, 0x42, {.u=EBML_VERSION} }, { EBML_ID_EBMLMAXSIZELENGTH, EBML_UINT, 0, 0x42, {.u=8} }, { EBML_ID_EBMLMAXIDLENGTH, EBML_UINT, 0, 0x42, {.u=4} }, { EBML_ID_DOCTYPE, EBML_STR, 0, 0x42, {.s="(none)"} }, { EBML_ID_DOCTYPEREADVERSION, EBML_UINT, 0, 0x42, {.u=1} }, { EBML_ID_EBMLVERSION, EBML_NONE }, { EBML_ID_DOCTYPEVERSION, EBML_NONE }, { 0 } }
Definition at line 283 of file matroskadec.c.
Referenced by mkv_write_header().
EbmlSyntax ebml_syntax[] [static] |
Initial value:
{ { EBML_ID_HEADER, EBML_NEST, 0, 0, {.n=ebml_header} }, { 0 } }
Definition at line 294 of file matroskadec.c.
Initial value:
{ .name = "matroska,webm", .long_name = NULL_IF_CONFIG_SMALL("Matroska/WebM file format"), .priv_data_size = sizeof(MatroskaDemuxContext), .read_probe = matroska_probe, .read_header = matroska_read_header, .read_packet = matroska_read_packet, .read_close = matroska_read_close, .read_seek = matroska_read_seek, }
Definition at line 2298 of file matroskadec.c.
EbmlSyntax matroska_attachment[] [static] |
Initial value:
{ { MATROSKA_ID_FILEUID, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_FILENAME, EBML_UTF8, 0, 0x42 }, { MATROSKA_ID_FILEMIMETYPE, EBML_STR, 0, 0x42 }, { MATROSKA_ID_FILEDATA, EBML_BIN, 0, 0x42 }, { MATROSKA_ID_FILEDESC, EBML_NONE }, { 0 } }
Definition at line 404 of file matroskadec.c.
EbmlSyntax matroska_attachments[] [static] |
Initial value:
{ { MATROSKA_ID_ATTACHEDFILE, EBML_NEST, sizeof(MatroskaAttachement), 0x42, {.n=matroska_attachment} }, { 0 } }
Definition at line 413 of file matroskadec.c.
EbmlSyntax matroska_blockgroup[] [static] |
Initial value:
{ { MATROSKA_ID_BLOCK, EBML_BIN, 0, 0x42 }, { MATROSKA_ID_SIMPLEBLOCK, EBML_BIN, 0, 0x42 }, { MATROSKA_ID_BLOCKDURATION, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_BLOCKREFERENCE, EBML_UINT, 0, 0x42 }, { 1, EBML_UINT, 0, 0x42, {.u=1} }, { 0 } }
Definition at line 526 of file matroskadec.c.
EbmlSyntax matroska_chapter[] [static] |
Initial value:
{ { MATROSKA_ID_CHAPTERATOM, EBML_NEST, sizeof(MatroskaChapter), 0x42, {.n=matroska_chapter_entry} }, { MATROSKA_ID_EDITIONUID, EBML_NONE }, { MATROSKA_ID_EDITIONFLAGHIDDEN, EBML_NONE }, { MATROSKA_ID_EDITIONFLAGDEFAULT, EBML_NONE }, { MATROSKA_ID_EDITIONFLAGORDERED, EBML_NONE }, { 0 } }
Definition at line 436 of file matroskadec.c.
EbmlSyntax matroska_chapter_display[] [static] |
Initial value:
{ { MATROSKA_ID_CHAPSTRING, EBML_UTF8, 0, 0x42 }, { MATROSKA_ID_CHAPLANG, EBML_NONE }, { 0 } }
Definition at line 418 of file matroskadec.c.
EbmlSyntax matroska_chapter_entry[] [static] |
Initial value:
{ { MATROSKA_ID_CHAPTERTIMESTART, EBML_UINT, 0, 0x42, {.u=AV_NOPTS_VALUE} }, { MATROSKA_ID_CHAPTERTIMEEND, EBML_UINT, 0, 0x42, {.u=AV_NOPTS_VALUE} }, { MATROSKA_ID_CHAPTERUID, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_CHAPTERDISPLAY, EBML_NEST, 0, 0, {.n=matroska_chapter_display} }, { MATROSKA_ID_CHAPTERFLAGHIDDEN, EBML_NONE }, { MATROSKA_ID_CHAPTERFLAGENABLED, EBML_NONE }, { MATROSKA_ID_CHAPTERPHYSEQUIV, EBML_NONE }, { MATROSKA_ID_CHAPTERATOM, EBML_NONE }, { 0 } }
Definition at line 424 of file matroskadec.c.
EbmlSyntax matroska_chapters[] [static] |
Initial value:
{ { MATROSKA_ID_EDITIONENTRY, EBML_NEST, 0, 0, {.n=matroska_chapter} }, { 0 } }
Definition at line 445 of file matroskadec.c.
EbmlSyntax matroska_cluster[] [static] |
Initial value:
{ { MATROSKA_ID_CLUSTERTIMECODE,EBML_UINT,0, 0x42 }, { MATROSKA_ID_BLOCKGROUP, EBML_NEST, sizeof(MatroskaBlock), 0x42, {.n=matroska_blockgroup} }, { MATROSKA_ID_SIMPLEBLOCK, EBML_PASS, sizeof(MatroskaBlock), 0x42, {.n=matroska_blockgroup} }, { MATROSKA_ID_CLUSTERPOSITION,EBML_NONE }, { MATROSKA_ID_CLUSTERPREVSIZE,EBML_NONE }, { 0 } }
Definition at line 535 of file matroskadec.c.
EbmlSyntax matroska_cluster_incremental[] [static] |
Initial value:
{ { MATROSKA_ID_CLUSTERTIMECODE,EBML_UINT,0, 0x42 }, { MATROSKA_ID_BLOCKGROUP, EBML_STOP }, { MATROSKA_ID_SIMPLEBLOCK, EBML_STOP }, { MATROSKA_ID_CLUSTERPOSITION,EBML_NONE }, { MATROSKA_ID_CLUSTERPREVSIZE,EBML_NONE }, { 0 } }
Definition at line 567 of file matroskadec.c.
EbmlSyntax matroska_cluster_incremental_parsing[] [static] |
Initial value:
{ { MATROSKA_ID_CLUSTERTIMECODE,EBML_UINT,0, 0x42 }, { MATROSKA_ID_BLOCKGROUP, EBML_NEST, sizeof(MatroskaBlock), 0x42, {.n=matroska_blockgroup} }, { MATROSKA_ID_SIMPLEBLOCK, EBML_PASS, sizeof(MatroskaBlock), 0x42, {.n=matroska_blockgroup} }, { MATROSKA_ID_CLUSTERPOSITION,EBML_NONE }, { MATROSKA_ID_CLUSTERPREVSIZE,EBML_NONE }, { MATROSKA_ID_INFO, EBML_NONE }, { MATROSKA_ID_CUES, EBML_NONE }, { MATROSKA_ID_TAGS, EBML_NONE }, { MATROSKA_ID_SEEKHEAD, EBML_NONE }, { MATROSKA_ID_CLUSTER, EBML_STOP }, { 0 } }
Definition at line 553 of file matroskadec.c.
EbmlSyntax matroska_clusters[] [static] |
Initial value:
{ { MATROSKA_ID_CLUSTER, EBML_NEST, 0, 0, {.n=matroska_cluster} }, { MATROSKA_ID_INFO, EBML_NONE }, { MATROSKA_ID_CUES, EBML_NONE }, { MATROSKA_ID_TAGS, EBML_NONE }, { MATROSKA_ID_SEEKHEAD, EBML_NONE }, { 0 } }
Definition at line 544 of file matroskadec.c.
EbmlSyntax matroska_clusters_incremental[] [static] |
Initial value:
{ { MATROSKA_ID_CLUSTER, EBML_NEST, 0, 0, {.n=matroska_cluster_incremental} }, { MATROSKA_ID_INFO, EBML_NONE }, { MATROSKA_ID_CUES, EBML_NONE }, { MATROSKA_ID_TAGS, EBML_NONE }, { MATROSKA_ID_SEEKHEAD, EBML_NONE }, { 0 } }
Definition at line 576 of file matroskadec.c.
const char* const matroska_doctypes[] = { "matroska", "webm" } [static] |
Definition at line 585 of file matroskadec.c.
Referenced by matroska_probe(), and matroska_read_header().
EbmlSyntax matroska_index[] [static] |
Initial value:
{ { MATROSKA_ID_POINTENTRY, EBML_NEST, sizeof(MatroskaIndex), 0x42, {.n=matroska_index_entry} }, { 0 } }
Definition at line 463 of file matroskadec.c.
EbmlSyntax matroska_index_entry[] [static] |
Initial value:
{ { MATROSKA_ID_CUETIME, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_CUETRACKPOSITION, EBML_NEST, sizeof(MatroskaIndexPos), 0x42, {.n=matroska_index_pos} }, { 0 } }
Definition at line 457 of file matroskadec.c.
EbmlSyntax matroska_index_pos[] [static] |
Initial value:
{ { MATROSKA_ID_CUETRACK, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_CUECLUSTERPOSITION, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_CUEBLOCKNUMBER, EBML_NONE }, { 0 } }
Definition at line 450 of file matroskadec.c.
EbmlSyntax matroska_info[] [static] |
Initial value:
{ { MATROSKA_ID_TIMECODESCALE, EBML_UINT, 0, 0x42, {.u=1000000} }, { MATROSKA_ID_DURATION, EBML_FLOAT, 0, 0x42 }, { MATROSKA_ID_TITLE, EBML_UTF8, 0, 0x42 }, { MATROSKA_ID_WRITINGAPP, EBML_NONE }, { MATROSKA_ID_MUXINGAPP, EBML_NONE }, { MATROSKA_ID_DATEUTC, EBML_BIN, 0, 0x42 }, { MATROSKA_ID_SEGMENTUID, EBML_NONE }, { 0 } }
Definition at line 299 of file matroskadec.c.
EbmlSyntax matroska_seekhead[] [static] |
Initial value:
{ { MATROSKA_ID_SEEKENTRY, EBML_NEST, sizeof(MatroskaSeekhead), 0x42, {.n=matroska_seekhead_entry} }, { 0 } }
Definition at line 504 of file matroskadec.c.
EbmlSyntax matroska_seekhead_entry[] [static] |
Initial value:
{ { MATROSKA_ID_SEEKID, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_SEEKPOSITION, EBML_UINT, 0, 0x42, {.u=-1} }, { 0 } }
Definition at line 498 of file matroskadec.c.
EbmlSyntax matroska_segment[] [static] |
Initial value:
{ { MATROSKA_ID_INFO, EBML_NEST, 0, 0, {.n=matroska_info } }, { MATROSKA_ID_TRACKS, EBML_NEST, 0, 0, {.n=matroska_tracks } }, { MATROSKA_ID_ATTACHMENTS, EBML_NEST, 0, 0, {.n=matroska_attachments} }, { MATROSKA_ID_CHAPTERS, EBML_NEST, 0, 0, {.n=matroska_chapters } }, { MATROSKA_ID_CUES, EBML_NEST, 0, 0, {.n=matroska_index } }, { MATROSKA_ID_TAGS, EBML_NEST, 0, 0, {.n=matroska_tags } }, { MATROSKA_ID_SEEKHEAD, EBML_NEST, 0, 0, {.n=matroska_seekhead } }, { MATROSKA_ID_CLUSTER, EBML_STOP }, { 0 } }
Definition at line 509 of file matroskadec.c.
EbmlSyntax matroska_segments[] [static] |
Initial value:
{ { MATROSKA_ID_SEGMENT, EBML_NEST, 0, 0, {.n=matroska_segment } }, { 0 } }
Definition at line 521 of file matroskadec.c.
EbmlSyntax matroska_simpletag[] [static] |
Initial value:
{ { MATROSKA_ID_TAGNAME, EBML_UTF8, 0, 0x42 }, { MATROSKA_ID_TAGSTRING, EBML_UTF8, 0, 0x42 }, { MATROSKA_ID_TAGLANG, EBML_STR, 0, 0x42, {.s="und"} }, { MATROSKA_ID_TAGDEFAULT, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_TAGDEFAULT_BUG, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_SIMPLETAG, EBML_NEST, sizeof(MatroskaTag), 0x42, {.n=matroska_simpletag} }, { 0 } }
Definition at line 468 of file matroskadec.c.
EbmlSyntax matroska_tag[] [static] |
Initial value:
{ { MATROSKA_ID_SIMPLETAG, EBML_NEST, sizeof(MatroskaTag), 0x42, {.n=matroska_simpletag} }, { MATROSKA_ID_TAGTARGETS, EBML_NEST, 0, 0x42, {.n=matroska_tagtargets} }, { 0 } }
Definition at line 487 of file matroskadec.c.
EbmlSyntax matroska_tags[] [static] |
Initial value:
{ { MATROSKA_ID_TAG, EBML_NEST, sizeof(MatroskaTags), 0x42, {.n=matroska_tag} }, { 0 } }
Definition at line 493 of file matroskadec.c.
EbmlSyntax matroska_tagtargets[] [static] |
Initial value:
{ { MATROSKA_ID_TAGTARGETS_TYPE, EBML_STR, 0, 0x42 }, { MATROSKA_ID_TAGTARGETS_TYPEVALUE, EBML_UINT, 0, 0x42, {.u=50} }, { MATROSKA_ID_TAGTARGETS_TRACKUID, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_TAGTARGETS_CHAPTERUID,EBML_UINT, 0, 0x42 }, { MATROSKA_ID_TAGTARGETS_ATTACHUID, EBML_UINT, 0, 0x42 }, { 0 } }
Definition at line 478 of file matroskadec.c.
EbmlSyntax matroska_track[] [static] |
Initial value:
{ { MATROSKA_ID_TRACKNUMBER, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_TRACKNAME, EBML_UTF8, 0, 0x42 }, { MATROSKA_ID_TRACKUID, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_TRACKTYPE, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_CODECID, EBML_STR, 0, 0x42 }, { MATROSKA_ID_CODECPRIVATE, EBML_BIN, 0, 0x42 }, { MATROSKA_ID_TRACKLANGUAGE, EBML_UTF8, 0, 0x42, {.s="eng"} }, { MATROSKA_ID_TRACKDEFAULTDURATION, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_TRACKTIMECODESCALE, EBML_FLOAT,0, 0x42, {.f=1.0} }, { MATROSKA_ID_TRACKFLAGDEFAULT, EBML_UINT, 0, 0x42, {.u=1} }, { MATROSKA_ID_TRACKFLAGFORCED, EBML_UINT, 0, 0x42, {.u=0} }, { MATROSKA_ID_TRACKVIDEO, EBML_NEST, 0, 0x42, {.n=matroska_track_video} }, { MATROSKA_ID_TRACKAUDIO, EBML_NEST, 0, 0x42, {.n=matroska_track_audio} }, { MATROSKA_ID_TRACKOPERATION, EBML_NEST, 0, 0x42, {.n=matroska_track_operation} }, { MATROSKA_ID_TRACKCONTENTENCODINGS,EBML_NEST, 0, 0, {.n=matroska_track_encodings} }, { MATROSKA_ID_TRACKFLAGENABLED, EBML_NONE }, { MATROSKA_ID_TRACKFLAGLACING, EBML_NONE }, { MATROSKA_ID_CODECNAME, EBML_NONE }, { MATROSKA_ID_CODECDECODEALL, EBML_NONE }, { MATROSKA_ID_CODECINFOURL, EBML_NONE }, { MATROSKA_ID_CODECDOWNLOADURL, EBML_NONE }, { MATROSKA_ID_TRACKMINCACHE, EBML_NONE }, { MATROSKA_ID_TRACKMAXCACHE, EBML_NONE }, { MATROSKA_ID_TRACKMAXBLKADDID, EBML_NONE }, { 0 } }
Definition at line 371 of file matroskadec.c.
EbmlSyntax matroska_track_audio[] [static] |
Initial value:
{ { MATROSKA_ID_AUDIOSAMPLINGFREQ, EBML_FLOAT,0, 0x42, {.f=8000.0} }, { MATROSKA_ID_AUDIOOUTSAMPLINGFREQ,EBML_FLOAT,0,0x42 }, { MATROSKA_ID_AUDIOBITDEPTH, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_AUDIOCHANNELS, EBML_UINT, 0, 0x42, {.u=1} }, { 0 } }
Definition at line 328 of file matroskadec.c.
EbmlSyntax matroska_track_combine_planes[] [static] |
Initial value:
{ { MATROSKA_ID_TRACKPLANE, EBML_NEST, sizeof(MatroskaTrackPlane), 0x42, {.n=matroska_track_plane} }, { 0 } }
Definition at line 361 of file matroskadec.c.
EbmlSyntax matroska_track_encoding[] [static] |
Initial value:
{ { MATROSKA_ID_ENCODINGSCOPE, EBML_UINT, 0, 0x42, {.u=1} }, { MATROSKA_ID_ENCODINGTYPE, EBML_UINT, 0, 0x42, {.u=0} }, { MATROSKA_ID_ENCODINGCOMPRESSION,EBML_NEST, 0, 0x42, {.n=matroska_track_encoding_compression} }, { MATROSKA_ID_ENCODINGORDER, EBML_NONE }, { 0 } }
Definition at line 342 of file matroskadec.c.
EbmlSyntax matroska_track_encoding_compression[] [static] |
Initial value:
{ { MATROSKA_ID_ENCODINGCOMPALGO, EBML_UINT, 0, 0x42, {.u=0} }, { MATROSKA_ID_ENCODINGCOMPSETTINGS,EBML_BIN, 0, 0x42 }, { 0 } }
Definition at line 336 of file matroskadec.c.
EbmlSyntax matroska_track_encodings[] [static] |
Initial value:
{ { MATROSKA_ID_TRACKCONTENTENCODING, EBML_NEST, sizeof(MatroskaTrackEncoding), 0x42, {.n=matroska_track_encoding} }, { 0 } }
Definition at line 350 of file matroskadec.c.
EbmlSyntax matroska_track_operation[] [static] |
Initial value:
{ { MATROSKA_ID_TRACKCOMBINEPLANES, EBML_NEST, 0, 0, {.n=matroska_track_combine_planes} }, { 0 } }
Definition at line 366 of file matroskadec.c.
EbmlSyntax matroska_track_plane[] [static] |
Initial value:
{ { MATROSKA_ID_TRACKPLANEUID, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_TRACKPLANETYPE, EBML_UINT, 0, 0x42 }, { 0 } }
Definition at line 355 of file matroskadec.c.
EbmlSyntax matroska_track_video[] [static] |
Initial value:
{ { MATROSKA_ID_VIDEOFRAMERATE, EBML_FLOAT,0, 0x42 }, { MATROSKA_ID_VIDEODISPLAYWIDTH, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_VIDEODISPLAYHEIGHT, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_VIDEOPIXELWIDTH, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_VIDEOPIXELHEIGHT, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_VIDEOCOLORSPACE, EBML_BIN, 0, 0x42 }, { MATROSKA_ID_VIDEOSTEREOMODE, EBML_UINT, 0, 0x42 }, { MATROSKA_ID_VIDEOPIXELCROPB, EBML_NONE }, { MATROSKA_ID_VIDEOPIXELCROPT, EBML_NONE }, { MATROSKA_ID_VIDEOPIXELCROPL, EBML_NONE }, { MATROSKA_ID_VIDEOPIXELCROPR, EBML_NONE }, { MATROSKA_ID_VIDEODISPLAYUNIT, EBML_NONE }, { MATROSKA_ID_VIDEOFLAGINTERLACED,EBML_NONE }, { MATROSKA_ID_VIDEOASPECTRATIO, EBML_NONE }, { 0 } }
Definition at line 310 of file matroskadec.c.
EbmlSyntax matroska_tracks[] [static] |
Initial value:
{ { MATROSKA_ID_TRACKENTRY, EBML_NEST, sizeof(MatroskaTrack), 0x42, {.n=matroska_track} }, { 0 } }
Definition at line 399 of file matroskadec.c.