annotate stream/stream_dvd.h @ 19644:775ac4efed3c

added missing reference to radio.xml
author Gabrov
date Sat, 02 Sep 2006 21:04:06 +0000
parents 64d82a45a05d
children b3855eac66ca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18681
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
1
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
2 #ifdef USE_DVDREAD
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
3
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
4 #ifdef USE_MPDVDKIT
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
5 #include "libmpdvdkit2/dvd_reader.h"
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
6 #include "libmpdvdkit2/ifo_types.h"
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
7 #include "libmpdvdkit2/ifo_read.h"
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
8 #include "libmpdvdkit2/nav_read.h"
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
9 #else
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
10 #include <dvdread/dvd_reader.h>
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
11 #include <dvdread/ifo_types.h>
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
12 #include <dvdread/ifo_read.h>
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
13 #include <dvdread/nav_read.h>
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
14 #endif
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
15
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
16 typedef struct {
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
17 dvd_reader_t *dvd;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
18 dvd_file_t *title;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
19 ifo_handle_t *vmg_file;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
20 tt_srpt_t *tt_srpt;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
21 ifo_handle_t *vts_file;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
22 vts_ptt_srpt_t *vts_ptt_srpt;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
23 pgc_t *cur_pgc;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
24 //
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
25 int cur_title;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
26 int cur_cell;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
27 int last_cell;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
28 int cur_pack;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
29 int cell_last_pack;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
30 // Navi:
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
31 int packs_left;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
32 dsi_t dsi_pack;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
33 int angle_seek;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
34 // audio datas
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
35 int nr_of_channels;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
36 stream_language_t audio_streams[32];
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
37 // subtitles
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
38 int nr_of_subtitles;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
39 stream_language_t subtitles[32];
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
40 } dvd_priv_t;
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
41
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
42 int dvd_number_of_subs(stream_t *stream);
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
43 int dvd_lang_from_sid(stream_t *stream, int id);
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
44 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
45 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
46 int dvd_chapter_from_cell(dvd_priv_t *dvd,int title,int cell);
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
47
303506bac0b5 moved stream_dvd's interface to stream_dvd.h
nicodvb
parents:
diff changeset
48 #endif