2 * This file is part of MPlayer.
4 * MPlayer is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * MPlayer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #ifndef MPLAYER_STREAM_DVD_H
20 #define MPLAYER_STREAM_DVD_H
24 #include <dvdread/dvd_reader.h>
25 #include <dvdread/ifo_types.h>
26 #include <dvdread/ifo_read.h>
27 #include <dvdread/nav_read.h>
34 ifo_handle_t
*vmg_file
;
36 ifo_handle_t
*vts_file
;
37 vts_ptt_srpt_t
*vts_ptt_srpt
;
50 unsigned int *cell_times_table
;
53 stream_language_t audio_streams
[32];
56 stream_language_t subtitles
[32];
59 int dvd_number_of_subs(stream_t
*stream
);
60 int dvd_lang_from_aid(stream_t
*stream
, int id
);
61 int dvd_lang_from_sid(stream_t
*stream
, int id
);
62 int dvd_aid_from_lang(stream_t
*stream
, const unsigned char* lang
);
63 int dvd_sid_from_lang(stream_t
*stream
, const unsigned char* lang
);
64 int dvd_chapter_from_cell(dvd_priv_t
*dvd
,int title
,int cell
);
66 #endif /* MPLAYER_STREAM_DVD_H */