demux_mkv: Parse ordered chapter information
[mplayer/glamo.git] / stream / stream_dvdnav.h
blob0f0a93211e29f7954d30e1c7a45eb8d28c1155c3
1 #ifndef MPLAYER_STREAM_DVDNAV_H
2 #define MPLAYER_STREAM_DVDNAV_H
4 #include <stdint.h>
5 #include "stream.h"
7 typedef struct {
8 uint16_t sx, sy;
9 uint16_t ex, ey;
10 uint32_t palette;
11 } nav_highlight_t;
13 int mp_dvdnav_number_of_subs(stream_t *stream);
14 int mp_dvdnav_aid_from_audio_num(stream_t *stream, int audio_num);
15 int mp_dvdnav_aid_from_lang(stream_t *stream, unsigned char *language);
16 int mp_dvdnav_lang_from_aid(stream_t *stream, int id, unsigned char *buf);
17 int mp_dvdnav_sid_from_lang(stream_t *stream, unsigned char *language);
18 int mp_dvdnav_lang_from_sid(stream_t *stream, int sid, unsigned char *buf);
19 void mp_dvdnav_handle_input(stream_t *stream, int cmd, int *button);
20 void mp_dvdnav_update_mouse_pos(stream_t *stream, int32_t x, int32_t y, int* button);
21 void mp_dvdnav_get_highlight (stream_t *stream, nav_highlight_t *hl);
22 unsigned int *mp_dvdnav_get_spu_clut(stream_t *stream);
23 void mp_dvdnav_switch_title(stream_t *stream, int title);
24 int mp_dvdnav_is_eof (stream_t *stream);
25 int mp_dvdnav_skip_still (stream_t *stream);
26 int mp_dvdnav_skip_wait (stream_t *stream);
27 void mp_dvdnav_read_wait (stream_t *stream, int mode, int automode);
28 int mp_dvdnav_cell_has_changed (stream_t *stream, int clear);
29 int mp_dvdnav_audio_has_changed (stream_t *stream, int clear);
30 int mp_dvdnav_spu_has_changed (stream_t *stream, int clear);
31 int mp_dvdnav_stream_has_changed (stream_t *stream);
33 #endif /* MPLAYER_STREAM_DVDNAV_H */