xine-lib: xine-lib-1.2.12/src/demuxers/demux_matroska.h File Reference

xine-lib 1.2.12

Data Structures | Macros | Functions
demux_matroska.h File Reference
`#include <ctype.h>`
`#include <stdio.h>`
`#include <fcntl.h>`
`#include <unistd.h>`
`#include <string.h>`
`#include <stdlib.h>`
`#include <zlib.h>`
`#include <xine/xine_internal.h>`
`#include <xine/demux.h>`
`#include <xine/buffer.h>`
`#include "bswap.h"`
`#include "ebml.h"`
`#include "matroska.h"`

Go to the source code of this file.

## Data Structures
struct | matroska_index_t
struct | demux_matroska_t

## Macros
#define | NUM_PREVIEW_BUFFERS 10
#define | MAX_STREAMS 128
#define | MAX_FRAMES 128
#define | WRAP_THRESHOLD 90000

## Functions
int | matroska_parse_chapters (demux_matroska_t *)
void | matroska_free_editions (demux_matroska_t *)
int | matroska_get_chapter (demux_matroska_t *, uint64_t, matroska_edition_t **)

## Macro Definition Documentation

## ◆ MAX_FRAMES

#define MAX_FRAMES 128

## ◆ MAX_STREAMS

#define MAX_STREAMS 128

## ◆ NUM_PREVIEW_BUFFERS

#define NUM_PREVIEW_BUFFERS 10

## ◆ WRAP_THRESHOLD

#define WRAP_THRESHOLD 90000

## Function Documentation

## ◆ matroska_free_editions()

void matroska_free_editions | ( | demux_matroska_t * | this | ) |

References free_edition().

Referenced by demux_matroska_dispose().

## ◆ matroska_get_chapter()

int matroska_get_chapter | ( | demux_matroska_t * | this,
|  | uint64_t | tc,
|  | matroska_edition_t ** | ed
| ) |  |

Referenced by handle_events(), and parse_cluster().

## ◆ matroska_parse_chapters()

int matroska_parse_chapters | ( | demux_matroska_t * | this | ) |

References ebml_get_next_level(), ebml_read_elem_head(), ebml_read_master(), ebml_skip(), free_edition(), ebml_elem_s::id, lprintf, MATROSKA_ID_CH_EDITIONENTRY, NULL, and parse_edition_entry().

Referenced by parse_top_level_head().