Add explanatory comments to the #endif part of multiple inclusion guards.
[mplayer/greg.git] / stream / stream_dvd.h
blob89987a88bd4410ae80ffea5617bfd1b5f07d532d
1 #ifdef USE_DVDREAD_INTERNAL
2 #include "dvdread/dvd_reader.h"
3 #include "dvdread/ifo_types.h"
4 #include "dvdread/ifo_read.h"
5 #include "dvdread/nav_read.h"
6 #else
7 #include <dvdread/dvd_reader.h>
8 #include <dvdread/ifo_types.h>
9 #include <dvdread/ifo_read.h>
10 #include <dvdread/nav_read.h>
11 #endif
13 typedef struct {
14 dvd_reader_t *dvd;
15 dvd_file_t *title;
16 ifo_handle_t *vmg_file;
17 tt_srpt_t *tt_srpt;
18 ifo_handle_t *vts_file;
19 vts_ptt_srpt_t *vts_ptt_srpt;
20 pgc_t *cur_pgc;
22 int cur_title;
23 int cur_cell;
24 int last_cell;
25 int cur_pack;
26 int cell_last_pack;
27 int cur_pgc_idx;
28 // Navi:
29 int packs_left;
30 dsi_t dsi_pack;
31 int angle_seek;
32 unsigned int *cell_times_table;
33 // audio datas
34 int nr_of_channels;
35 stream_language_t audio_streams[32];
36 // subtitles
37 int nr_of_subtitles;
38 stream_language_t subtitles[32];
39 } dvd_priv_t;
41 int dvd_number_of_subs(stream_t *stream);
42 int dvd_lang_from_aid(stream_t *stream, int id);
43 int dvd_lang_from_sid(stream_t *stream, int id);
44 int dvd_aid_from_lang(stream_t *stream, unsigned char* lang);
45 int dvd_sid_from_lang(stream_t *stream, unsigned char* lang);
46 int dvd_chapter_from_cell(dvd_priv_t *dvd,int title,int cell);