annotate stream/stream_dvd.h @ 27959:61c91710657a

Remove debug function.
author diego
date Sun, 23 Nov 2008 13:41:57 +0000
parents ea01824701a5
children 83266d299072
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
1 #ifndef MPLAYER_STREAM_DVD_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
2 #define MPLAYER_STREAM_DVD_H
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 25112
diff changeset
3
27043
c333185b1c3e Add missing #includes to fix 'make checkheaders'.
diego
parents: 26906
diff changeset
4 #include "config.h"
26184
7ee4ae1648e6 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
5 #include <stdint.h>
27341
e7c989f7a7c9 Start unifying names of internal preprocessor directives.
diego
parents: 27043
diff changeset
6 #ifdef CONFIG_DVDREAD_INTERNAL
27466
ea01824701a5 Rename internal libdvdread fork from dvdread to libdvdread
rathann
parents: 27341
diff changeset
7 #include "libdvdread/dvd_reader.h"
ea01824701a5 Rename internal libdvdread fork from dvdread to libdvdread
rathann
parents: 27341
diff changeset
8 #include "libdvdread/ifo_types.h"
ea01824701a5 Rename internal libdvdread fork from dvdread to libdvdread
rathann
parents: 27341
diff changeset
9 #include "libdvdread/ifo_read.h"
ea01824701a5 Rename internal libdvdread fork from dvdread to libdvdread
rathann
parents: 27341
diff changeset
10 #include "libdvdread/nav_read.h"
18681
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
11 #else
27466
ea01824701a5 Rename internal libdvdread fork from dvdread to libdvdread
rathann
parents: 27341
diff changeset
12 #include <dvdread/dvd_reader.h>
ea01824701a5 Rename internal libdvdread fork from dvdread to libdvdread
rathann
parents: 27341
diff changeset
13 #include <dvdread/ifo_types.h>
ea01824701a5 Rename internal libdvdread fork from dvdread to libdvdread
rathann
parents: 27341
diff changeset
14 #include <dvdread/ifo_read.h>
ea01824701a5 Rename internal libdvdread fork from dvdread to libdvdread
rathann
parents: 27341
diff changeset
15 #include <dvdread/nav_read.h>
18681
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
16 #endif
26184
7ee4ae1648e6 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
17 #include "stream.h"
18681
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
18
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
19 typedef struct {
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
20 dvd_reader_t *dvd;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
21 dvd_file_t *title;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
22 ifo_handle_t *vmg_file;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
23 tt_srpt_t *tt_srpt;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
24 ifo_handle_t *vts_file;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
25 vts_ptt_srpt_t *vts_ptt_srpt;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
26 pgc_t *cur_pgc;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
27 //
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
28 int cur_title;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
29 int cur_cell;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
30 int last_cell;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
31 int cur_pack;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
32 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
33 int cur_pgc_idx;
18681
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
34 // Navi:
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
35 int packs_left;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
36 dsi_t dsi_pack;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
37 int angle_seek;
20746
a40246d0c941 implemented STREAM_CTRL_GET_CURRENT_TIME and STREAM_CTRL_SEEK_TO_TIME (precise seeking)
nicodvb
parents: 20635
diff changeset
38 unsigned int *cell_times_table;
18681
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
39 // audio datas
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
40 int nr_of_channels;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
41 stream_language_t audio_streams[32];
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
42 // subtitles
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
43 int nr_of_subtitles;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
44 stream_language_t subtitles[32];
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
45 } dvd_priv_t;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
46
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
47 int dvd_number_of_subs(stream_t *stream);
20156
42b46a42f83b added OSD audio switching visualization
ptt
parents: 19763
diff changeset
48 int dvd_lang_from_aid(stream_t *stream, int id);
18681
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
49 int dvd_lang_from_sid(stream_t *stream, int id);
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
50 int dvd_aid_from_lang(stream_t *stream, unsigned char* lang);
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
51 int dvd_sid_from_lang(stream_t *stream, unsigned char* lang);
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
52 int dvd_chapter_from_cell(dvd_priv_t *dvd,int title,int cell);
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 25112
diff changeset
53
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
54 #endif /* MPLAYER_STREAM_DVD_H */