Mercurial > mplayer.hg
annotate stream/stream_dvdnav.h @ 27025:e598c9756181
Ability for specifying TV standard individually for each TV channel.
Slightly modified patch by Ildar devel at pop3 dot ru
author | voroshil |
---|---|
date | Sat, 14 Jun 2008 09:14:16 +0000 |
parents | 1c6b9d0c63aa |
children | 9e6d01e4d29f |
rev | line source |
---|---|
23689
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
21603
diff
changeset
|
1 #ifndef MPLAYER_STREAM_DVDNAV_H |
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
21603
diff
changeset
|
2 #define MPLAYER_STREAM_DVDNAV_H |
19302 | 3 |
26184
7ee4ae1648e6
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
25830
diff
changeset
|
4 #include <stdint.h> |
7ee4ae1648e6
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
25830
diff
changeset
|
5 #include "stream.h" |
7ee4ae1648e6
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
25830
diff
changeset
|
6 |
19302 | 7 typedef struct { |
8 int event; /* event number fromd dvdnav_events.h */ | |
9 void * details; /* event details */ | |
10 int len; /* bytes in details */ | |
11 } dvdnav_event_t; | |
12 | |
13 typedef struct { | |
21200 | 14 uint16_t sx, sy; |
15 uint16_t ex, ey; | |
26973 | 16 uint32_t palette; |
21200 | 17 } nav_highlight_t; |
18 | |
26986
4bee4b9ec054
Rename some functions as they are mplayer related and not
ben
parents:
26984
diff
changeset
|
19 int mp_dvdnav_number_of_subs(stream_t *stream); |
26989
1c6b9d0c63aa
Add routine that provides audio ID corresponding to logical number
ben
parents:
26986
diff
changeset
|
20 int mp_dvdnav_aid_from_audio_num(stream_t *stream, int audio_num); |
26986
4bee4b9ec054
Rename some functions as they are mplayer related and not
ben
parents:
26984
diff
changeset
|
21 int mp_dvdnav_aid_from_lang(stream_t *stream, unsigned char *language); |
4bee4b9ec054
Rename some functions as they are mplayer related and not
ben
parents:
26984
diff
changeset
|
22 int mp_dvdnav_lang_from_aid(stream_t *stream, int id, unsigned char *buf); |
4bee4b9ec054
Rename some functions as they are mplayer related and not
ben
parents:
26984
diff
changeset
|
23 int mp_dvdnav_sid_from_lang(stream_t *stream, unsigned char *language); |
4bee4b9ec054
Rename some functions as they are mplayer related and not
ben
parents:
26984
diff
changeset
|
24 int mp_dvdnav_lang_from_sid(stream_t *stream, int sid, unsigned char *buf); |
25824 | 25 void mp_dvdnav_handle_input(stream_t *stream, int cmd, int *button); |
19851
adfd08588514
report mouse coordinates after movement to dvdnav; this permits to enable button selection using the mouse; patch by Jonas Jermann and me
nicodvb
parents:
19774
diff
changeset
|
26 void mp_dvdnav_update_mouse_pos(stream_t *stream, int32_t x, int32_t y, int* button); |
21219 | 27 void mp_dvdnav_get_highlight (stream_t *stream, nav_highlight_t *hl); |
21538
c9b6588932b5
export spu palette; part of a patch by Otvos Attila
nicodvb
parents:
21219
diff
changeset
|
28 unsigned int *mp_dvdnav_get_spu_clut(stream_t *stream); |
25817 | 29 void mp_dvdnav_switch_title(stream_t *stream, int title); |
25824 | 30 int mp_dvdnav_is_eof (stream_t *stream); |
31 int mp_dvdnav_skip_still (stream_t *stream); | |
32 int mp_dvdnav_skip_wait (stream_t *stream); | |
33 void mp_dvdnav_read_wait (stream_t *stream, int mode, int automode); | |
34 int mp_dvdnav_cell_has_changed (stream_t *stream, int clear); | |
26983
a9626d7ae755
Add routine to determine if audio has changed in dvdnav stream.
ben
parents:
26973
diff
changeset
|
35 int mp_dvdnav_audio_has_changed (stream_t *stream, int clear); |
26984
540400f89398
Add routine to determine if SPU has changed in dvdnav stream.
ben
parents:
26983
diff
changeset
|
36 int mp_dvdnav_spu_has_changed (stream_t *stream, int clear); |
25830 | 37 int mp_dvdnav_stream_has_changed (stream_t *stream); |
19302 | 38 |
25535
3baf6a2283da
Add explanatory comments to the #endif part of multiple inclusion guards.
diego
parents:
24493
diff
changeset
|
39 #endif /* MPLAYER_STREAM_DVDNAV_H */ |