Mercurial > mplayer.hg
annotate stream/stream_dvd.h @ 25325:7c7885350d89
Identifiers starting with __ are reserved for the system.
author | diego |
---|---|
date | Tue, 11 Dec 2007 19:54:35 +0000 |
parents | a06ffbca3c37 |
children | 6ac1ece1f9fe |
rev | line source |
---|---|
20635
9ed557ae1383
Streamline and simplify internal vs external libdvdread handling.
diego
parents:
20615
diff
changeset
|
1 #ifdef USE_DVDREAD_INTERNAL |
20981
22cb9d5f1e21
Rename libdvdread to dvdread. We really only include only the dvdread
diego
parents:
20746
diff
changeset
|
2 #include "dvdread/dvd_reader.h" |
22cb9d5f1e21
Rename libdvdread to dvdread. We really only include only the dvdread
diego
parents:
20746
diff
changeset
|
3 #include "dvdread/ifo_types.h" |
22cb9d5f1e21
Rename libdvdread to dvdread. We really only include only the dvdread
diego
parents:
20746
diff
changeset
|
4 #include "dvdread/ifo_read.h" |
22cb9d5f1e21
Rename libdvdread to dvdread. We really only include only the dvdread
diego
parents:
20746
diff
changeset
|
5 #include "dvdread/nav_read.h" |
18681 | 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 | |
12 | |
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; | |
21 // | |
22 int cur_title; | |
23 int cur_cell; | |
24 int last_cell; | |
25 int cur_pack; | |
26 int cell_last_pack; | |
20746
a40246d0c941
implemented STREAM_CTRL_GET_CURRENT_TIME and STREAM_CTRL_SEEK_TO_TIME (precise seeking)
nicodvb
parents:
20635
diff
changeset
|
27 int cur_pgc_idx; |
18681 | 28 // Navi: |
29 int packs_left; | |
30 dsi_t dsi_pack; | |
31 int angle_seek; | |
20746
a40246d0c941
implemented STREAM_CTRL_GET_CURRENT_TIME and STREAM_CTRL_SEEK_TO_TIME (precise seeking)
nicodvb
parents:
20635
diff
changeset
|
32 unsigned int *cell_times_table; |
18681 | 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; | |
40 | |
41 int dvd_number_of_subs(stream_t *stream); | |
20156 | 42 int dvd_lang_from_aid(stream_t *stream, int id); |
18681 | 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); |