1 #ifndef MPLAYER_STREAM_DVDNAV_H
2 #define MPLAYER_STREAM_DVDNAV_H
7 int event
; /* event number fromd dvdnav_events.h */
8 void * details
; /* event details */
9 int len
; /* bytes in details */
18 dvdnav_t
* dvdnav
; /* handle to libdvdnav stuff */
19 char * filename
; /* path */
20 unsigned int duration
; /* in milliseconds */
23 unsigned int spu_clut
[16], spu_set
;
24 dvdnav_highlight_event_t hlev
;
28 int dvdnav_number_of_subs(stream_t
*stream
);
29 int dvdnav_aid_from_lang(stream_t
*stream
, unsigned char *language
);
30 int dvdnav_lang_from_aid(stream_t
*stream
, int id
, unsigned char *buf
);
31 int dvdnav_sid_from_lang(stream_t
*stream
, unsigned char *language
);
32 int dvdnav_lang_from_sid(stream_t
*stream
, int sid
, unsigned char *buf
);
33 int mp_dvdnav_handle_input(stream_t
*stream
, int cmd
, int *button
);
34 void mp_dvdnav_update_mouse_pos(stream_t
*stream
, int32_t x
, int32_t y
, int* button
);
35 void mp_dvdnav_get_highlight (stream_t
*stream
, nav_highlight_t
*hl
);
36 unsigned int *mp_dvdnav_get_spu_clut(stream_t
*stream
);