annotate stream/stream_dvdnav.h @ 35429:3a9048421524

Create new header file gui.h. This is for declarations and definitions used throughout the GUI which are internal ones and thus shall not appear in interface.h.
author ib
date Fri, 30 Nov 2012 11:14:30 +0000
parents e4de3e6665ae
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30426
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
1 /*
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
2 * This file is part of MPlayer.
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
3 *
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
5 * it under the terms of the GNU General Public License as published by
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
7 * (at your option) any later version.
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
8 *
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
12 * GNU General Public License for more details.
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
13 *
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
14 * You should have received a copy of the GNU General Public License along
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
17 */
ce0122361a39 Add license header to all files missing it in the stream subdirectory.
diego
parents: 27125
diff changeset
18
23689
3f0d00abc073 Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents: 21603
diff changeset
19 #ifndef MPLAYER_STREAM_DVDNAV_H
3f0d00abc073 Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents: 21603
diff changeset
20 #define MPLAYER_STREAM_DVDNAV_H
19302
cc4774869fbc renamed dvdnav_stream to stream_dvdnav for consistency
ben
parents:
diff changeset
21
26184
7ee4ae1648e6 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 25830
diff changeset
22 #include <stdint.h>
7ee4ae1648e6 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 25830
diff changeset
23 #include "stream.h"
7ee4ae1648e6 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 25830
diff changeset
24
19302
cc4774869fbc renamed dvdnav_stream to stream_dvdnav for consistency
ben
parents:
diff changeset
25 typedef struct {
21200
c7b5dd2b2291 better nav highlight handling
ben
parents: 21199
diff changeset
26 uint16_t sx, sy;
c7b5dd2b2291 better nav highlight handling
ben
parents: 21199
diff changeset
27 uint16_t ex, ey;
26973
2b6d87a07612 Save DVDNAV palette info.
ben
parents: 26184
diff changeset
28 uint32_t palette;
21200
c7b5dd2b2291 better nav highlight handling
ben
parents: 21199
diff changeset
29 } nav_highlight_t;
c7b5dd2b2291 better nav highlight handling
ben
parents: 21199
diff changeset
30
26986
4bee4b9ec054 Rename some functions as they are mplayer related and not
ben
parents: 26984
diff changeset
31 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
32 int mp_dvdnav_aid_from_audio_num(stream_t *stream, int audio_num);
31876
c52e80f24086 Add const qualifiers to function string arguments as appropriate.
reimar
parents: 30426
diff changeset
33 int mp_dvdnav_aid_from_lang(stream_t *stream, const unsigned char *language);
c52e80f24086 Add const qualifiers to function string arguments as appropriate.
reimar
parents: 30426
diff changeset
34 int mp_dvdnav_sid_from_lang(stream_t *stream, const unsigned char *language);
25824
eb338d06c638 Add support for dvdnav still frames playback.
ben
parents: 25817
diff changeset
35 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
36 void mp_dvdnav_update_mouse_pos(stream_t *stream, int32_t x, int32_t y, int* button);
21219
8258747951d7 keep nav highlight event in dvdnav priv structure
ben
parents: 21200
diff changeset
37 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
38 unsigned int *mp_dvdnav_get_spu_clut(stream_t *stream);
25817
883c6c3ae041 Add new command to switch between dvdnav titles
ben
parents: 25537
diff changeset
39 void mp_dvdnav_switch_title(stream_t *stream, int title);
25824
eb338d06c638 Add support for dvdnav still frames playback.
ben
parents: 25817
diff changeset
40 int mp_dvdnav_is_eof (stream_t *stream);
eb338d06c638 Add support for dvdnav still frames playback.
ben
parents: 25817
diff changeset
41 int mp_dvdnav_skip_still (stream_t *stream);
eb338d06c638 Add support for dvdnav still frames playback.
ben
parents: 25817
diff changeset
42 int mp_dvdnav_skip_wait (stream_t *stream);
eb338d06c638 Add support for dvdnav still frames playback.
ben
parents: 25817
diff changeset
43 void mp_dvdnav_read_wait (stream_t *stream, int mode, int automode);
eb338d06c638 Add support for dvdnav still frames playback.
ben
parents: 25817
diff changeset
44 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
45 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
46 int mp_dvdnav_spu_has_changed (stream_t *stream, int clear);
25830
32acf35f74e1 add a new state flag to dvdnav in order to notify if
ben
parents: 25824
diff changeset
47 int mp_dvdnav_stream_has_changed (stream_t *stream);
19302
cc4774869fbc renamed dvdnav_stream to stream_dvdnav for consistency
ben
parents:
diff changeset
48
25535
3baf6a2283da Add explanatory comments to the #endif part of multiple inclusion guards.
diego
parents: 24493
diff changeset
49 #endif /* MPLAYER_STREAM_DVDNAV_H */