annotate dvdnav.h @ 138:5ce26c18c455 src

dvd_read_name can be static and does not need the whole vm_t*
author mroi
date Sat, 29 Mar 2003 12:21:15 +0000
parents f22458f928b8
children f7a26cd00c93
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
1 /*
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
2 * Copyright (C) 2001 Rich Wareham <richwareham@users.sourceforge.net>
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
3 *
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
4 * This file is part of libdvdnav, a DVD navigation library.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
5 *
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
6 * libdvdnav is free software; you can redistribute it and/or modify
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
7 * it under the terms of the GNU General Public License as published by
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
8 * the Free Software Foundation; either version 2 of the License, or
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
9 * (at your option) any later version.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
10 *
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
11 * libdvdnav is distributed in the hope that it will be useful,
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
14 * GNU General Public License for more details.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
15 *
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
16 * You should have received a copy of the GNU General Public License
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
17 * along with this program; if not, write to the Free Software
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
19 *
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
20 * $Id$
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
21 *
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
22 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
23
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
24 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
25 * \file dvdnav.h
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
26 * The main file you should include if you want to access dvdnav
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
27 * functionality.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
28 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
29
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
30 #ifndef DVDNAV_H_INCLUDED
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
31 #define DVDNAV_H_INCLUDED
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
32
5
c1b55dc1bfed Add API call to get number of programmes in current title.
richwareham
parents: 4
diff changeset
33 #ifdef __cplusplus
c1b55dc1bfed Add API call to get number of programmes in current title.
richwareham
parents: 4
diff changeset
34 extern "C" {
c1b55dc1bfed Add API call to get number of programmes in current title.
richwareham
parents: 4
diff changeset
35 #endif
c1b55dc1bfed Add API call to get number of programmes in current title.
richwareham
parents: 4
diff changeset
36
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
37 /* Defines the various events and dvdnav_event_t */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
38 #include "dvdnav_events.h"
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
39
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
40 /* Various useful types */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
41 #include "dvd_types.h"
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
42
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
43 #include <dvdread/dvd_reader.h>
91
df9712507b30 Add a new API function, to allow for more flexible menu button control.
jcdutton
parents: 90
diff changeset
44 #include <dvdread/ifo_types.h> /* For vm_cmd_t */
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
45
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
46 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
47 * Opaque data-type can be viewed as a 'DVD handle'. You should get
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
48 * a pointer to a dvdnav_t from the dvdnav_open() function.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
49 * \sa dvdnav_open()
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
50 */
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
51 typedef struct dvdnav_s dvdnav_t;
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
52
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
53 /* Status */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
54 typedef int dvdnav_status_t;
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
55
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
56 #define DVDNAV_STATUS_ERR 0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
57 #define DVDNAV_STATUS_OK 1
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
58
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
59 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
60 * \defgroup init Initialisation & housekeeping functions
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
61 * These functions allow you to open a DVD device and associate it
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
62 * with a dvdnav_t.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
63 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
64 * Unless otherwise stated, all functions return DVDNAV_STATUS_OK if
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
65 * they succeeded, otherwise DVDNAV_STATUS_ERR is returned and the error may
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
66 * be obtained by calling dvdnav_err_to_string().
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
67 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
68 * A minimal <tt>libdvdnav</tt> program should always call dvdnav_open()
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
69 * and dvdnav_close().
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
70 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
71 * \par Example:
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
72 * \include minimal.c
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
73 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
74 * @{
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
75 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
76
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
77 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
78 * Attempts to open the DVD drive at the specifiec path and pre-cache
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
79 * any CSS-keys that your hacked libdvdread may use.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
80 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
81 * \param dest Pointer to a dvdnav_t pointer to fill in.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
82 * \param path Any libdvdread acceptable path
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
83 */
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
84 dvdnav_status_t dvdnav_open(dvdnav_t** dest, const char *path);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
85
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
86 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
87 * Closes a dvdnav_t previously opened with dvdnav_open(), freeing any
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
88 * memory associated with it.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
89 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
90 * \param self dvdnav_t to close.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
91 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
92 dvdnav_status_t dvdnav_close(dvdnav_t *self);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
93
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
94 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
95 * Resets the virtual machine and buffers in a previously opened dvdnav
4
99bed5d6db2f Added reset patch from Kees Cook <kees@outflux.net>
richwareham
parents: 0
diff changeset
96 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
97 * \param self dvdnav_t to reset.
4
99bed5d6db2f Added reset patch from Kees Cook <kees@outflux.net>
richwareham
parents: 0
diff changeset
98 */
99bed5d6db2f Added reset patch from Kees Cook <kees@outflux.net>
richwareham
parents: 0
diff changeset
99 dvdnav_status_t dvdnav_reset(dvdnav_t *self);
99bed5d6db2f Added reset patch from Kees Cook <kees@outflux.net>
richwareham
parents: 0
diff changeset
100
99bed5d6db2f Added reset patch from Kees Cook <kees@outflux.net>
richwareham
parents: 0
diff changeset
101 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
102 * Fills a pointer with a value pointing to a string describing
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
103 * the path associated with an open dvdnav_t. It assigns it NULL
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
104 * on error.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
105 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
106 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
107 * \param path Pointer to char* to fill in.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
108 */
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
109 dvdnav_status_t dvdnav_path(dvdnav_t *self, const char** path);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
110
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
111 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
112 * Returns a human-readable string describing the last error.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
113 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
114 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
115 * \returns A pointer to said string.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
116 */
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
117 const char* dvdnav_err_to_string(dvdnav_t *self);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
118
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
119 /** \@} */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
120
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
121 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
122 * \defgroup char Changing and Reading DVD Player characteristics
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
123 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
124 * These functions allow you to manipulate the various global characteristics
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
125 * of the DVD playback engine.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
126 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
127 * @{
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
128 */
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
129
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
130 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
131 * Returns the region mask (bit 0 set implies region 1, bit 1 set implies
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
132 * region 2, etc) of the virtual machine. Generally you will only need to set
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
133 * this if you are playing RCE discs which query the virtual machine as to its
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
134 * region setting.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
135 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
136 * \par Note:
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
137 * This has <b>nothing</b> to do with the region setting of the DVD drive.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
138 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
139 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
140 * \param region Pointer to an int which will receive the region code mask.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
141 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
142 dvdnav_status_t dvdnav_get_region_mask(dvdnav_t *self, int *region);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
143
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
144 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
145 * Sets the region mask of the virtual machine.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
146 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
147 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
148 * \param mask 0x00..0xff -- the desired region mask.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
149 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
150 * \sa dvdnav_get_region_mask()
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
151 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
152 dvdnav_status_t dvdnav_set_region_mask(dvdnav_t *self, int mask);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
153
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
154 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
155 * Specify whether read-ahead caching should be used. You may not want this if your
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
156 * decoding engine does its own buffering.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
157 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
158 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
159 * \param use_readahead 0 - no, 1 - yes
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
160 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
161 dvdnav_status_t dvdnav_set_readahead_flag(dvdnav_t *self, int use_readahead);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
162
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
163 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
164 * Query whether readahead caching/buffering will be used.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
165 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
166 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
167 * \param flag Pointer to int to recieve flag value.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
168 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
169 * \sa dvdnav_get_readahead_flag()
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
170 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
171 dvdnav_status_t dvdnav_get_readahead_flag(dvdnav_t *self, int* flag);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
172
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
173 /**
132
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
174 * Specify whether the positioning works PGC or PG based.
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
175 * Programs (PGs) on DVDs are similar to Chapters and the program chain (PGC)
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
176 * usually covers a whole feature. This affects the behaviour of the
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
177 * functions dvdnav_get_position() and dvdnav_sector_search().
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
178 * Default is PG based positioning.
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
179 *
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
180 * \param self Pointer to dvdnav_t associated with this operation.
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
181 * \param pgc 0 - PG based, 1 - PGC based
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
182 */
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
183 dvdnav_status_t dvdnav_set_PGC_positioning_flag(dvdnav_t *self, int pgc);
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
184
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
185 /**
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
186 * Query whether positioning is PG or PGC based.
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
187 *
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
188 * \param self Pointer to dvdnav_t associated with this operation.
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
189 * \param flag Pointer to int to recieve flag value.
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
190 *
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
191 * \sa dvdnav_set_PGC_positioning_flag()
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
192 */
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
193 dvdnav_status_t dvdnav_get_PGC_positioning_flag(dvdnav_t *self, int *flag);
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
194
f22458f928b8 PGC based positioning
mroi
parents: 123
diff changeset
195 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
196 * @}
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
197 */
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
198
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
199 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
200 * \defgroup data Reading Data
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
201 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
202 * These functions are used to poll the playback enginge and actually get data
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
203 * off the DVD.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
204 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
205 * @{
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
206 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
207
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
208 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
209 * Attempts to get the next block off the DVD and copies it into the buffer 'buf'.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
210 * If there is any special actions that may need to be performed, the value
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
211 * pointed to by 'event' gets set
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
212 * accordingly.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
213 *
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
214 * If 'event' is DVDNAV_BLOCK_OK then 'buf' is filled with the next block
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
215 * (note that means it has to be at /least/ 2048 bytes big). 'len' is
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
216 * then set to 2048.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
217 *
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
218 * Otherwise, buf is filled with an appropriate event structure and
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
219 * len is set to the length of that structure.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
220 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
221 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
222 * \param buf Buffer (at least 2048 octets) to fill with next block/event structure.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
223 * \param event Pointer to int to get event type.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
224 * \param len Pointer to int to get the number of octets written into buf.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
225 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
226 dvdnav_status_t dvdnav_get_next_block(dvdnav_t *self, unsigned char *buf,
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
227 int *event, int *len);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
228
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
229 /**
60
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
230 * This basically does the same as dvdnav_get_next_block. The only difference is
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
231 * that it avoids a memcopy, when the requested block was found in the cache.
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
232 * I such a case (cache hit) this function will return a different pointer than
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
233 * the one handed in, pointing directly into the relevant block in the cache.
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
234 * Those pointer must _never_ be freed but instead returned to the library via
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
235 * dvdnav_free_cache_block().
60
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
236 *
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
237 * \param self Pointer to dvdnav_t associated with this operation.
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
238 * \param buf Buffer (at least 2048 octets) to fill with next block/event structure.
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
239 * A different buffer might be returned, if the block was found in the internal cache.
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
240 * \param event Pointer to int to get event type.
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
241 * \param len Pointer to int to get the number of octets written into buf.
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
242 */
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
243 dvdnav_status_t dvdnav_get_next_cache_block(dvdnav_t *self, unsigned char **buf,
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
244 int *event, int *len);
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
245
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
246 /**
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
247 * All buffers which came from the internal cache (when dvdnav_get_next_cache_block()
60
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
248 * returned a buffer different from the one handed in) have to be freed with this
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
249 * function. Although handing in other buffers not from the cache doesn't cause any harm.
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
250 *
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
251 * \param self Pointer to dvdnav_t associated with this operation.
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
252 * \param buf Buffer received from internal cache.
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
253 */
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
254 dvdnav_status_t dvdnav_free_cache_block(dvdnav_t *self, unsigned char *buf);
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
255
30995ad032cf use new memcopy'less read ahead cache
mroi
parents: 59
diff changeset
256 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
257 * Get video aspect code.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
258 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
259 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
260 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
261 * \returns Video aspect ratio code, 0 -- 4:3, 2 -- 16:9
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
262 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
263 uint8_t dvdnav_get_video_aspect(dvdnav_t *self);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
264
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
265 /**
55
5674fbd44f26 report all spu types (widescreen, letterbox and pan&scan), not widescreen
mroi
parents: 44
diff changeset
266 * Get video scaling permissions.
5674fbd44f26 report all spu types (widescreen, letterbox and pan&scan), not widescreen
mroi
parents: 44
diff changeset
267 *
5674fbd44f26 report all spu types (widescreen, letterbox and pan&scan), not widescreen
mroi
parents: 44
diff changeset
268 * \param self Pointer to dvdnav_t associated with this operation.
5674fbd44f26 report all spu types (widescreen, letterbox and pan&scan), not widescreen
mroi
parents: 44
diff changeset
269 *
5674fbd44f26 report all spu types (widescreen, letterbox and pan&scan), not widescreen
mroi
parents: 44
diff changeset
270 * \returns Video scaling permissions, bit0 - deny letterboxing, bit1 - deny pan&scan
5674fbd44f26 report all spu types (widescreen, letterbox and pan&scan), not widescreen
mroi
parents: 44
diff changeset
271 */
5674fbd44f26 report all spu types (widescreen, letterbox and pan&scan), not widescreen
mroi
parents: 44
diff changeset
272 uint8_t dvdnav_get_video_scale_permission(dvdnav_t *self);
5674fbd44f26 report all spu types (widescreen, letterbox and pan&scan), not widescreen
mroi
parents: 44
diff changeset
273
5674fbd44f26 report all spu types (widescreen, letterbox and pan&scan), not widescreen
mroi
parents: 44
diff changeset
274 /**
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
275 * Return a string describing the title. This is an ID string encoded on the
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
276 * disc byt the author. In many cases this is a descriptive string such as
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
277 * `<tt>THE_MATRIX</tt>' but sometimes is sigularly uninformative such as
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
278 * `<tt>PDVD-011421</tt>'.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
279 *
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
280 * \param self Pointer to dvdnav_t associated with this operation.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
281 * \param title_str Pointer to C-style string to receive a string describing the title.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
282 */
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
283 dvdnav_status_t dvdnav_get_title_string(dvdnav_t *self, const char **title_str);
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
284
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
285 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
286 * @}
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
287 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
288
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
289 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
290 * \defgroup nav Navigation Commands
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
291 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
292 * @{
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
293 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
294
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
295 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
296 * Returns the number of titles on the disk.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
297 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
298 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
299 * \param titles Pointer to int to receive number of titles.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
300 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
301 dvdnav_status_t dvdnav_get_number_of_titles(dvdnav_t *self, int *titles);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
302
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
303 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
304 * Returns the number of programs within the current title.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
305 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
306 * \param self Pointer to dvdnav_t associated with this operation.
95
e7ebabe059b9 Start to get dvd mrl working in xine.
jcdutton
parents: 91
diff changeset
307 * \param titles int to select title.
e7ebabe059b9 Start to get dvd mrl working in xine.
jcdutton
parents: 91
diff changeset
308 * \param parts Pointer to int to receive number of parts.
5
c1b55dc1bfed Add API call to get number of programmes in current title.
richwareham
parents: 4
diff changeset
309 */
95
e7ebabe059b9 Start to get dvd mrl working in xine.
jcdutton
parents: 91
diff changeset
310 dvdnav_status_t dvdnav_get_number_of_parts(dvdnav_t *self, int title, int *parts);
5
c1b55dc1bfed Add API call to get number of programmes in current title.
richwareham
parents: 4
diff changeset
311
c1b55dc1bfed Add API call to get number of programmes in current title.
richwareham
parents: 4
diff changeset
312 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
313 * If we are currently in a still-frame this function skips it (or attempts to).
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
314 * This might fail if this still-frame is of infinite duration as most DVD
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
315 * authors wouldn't expect you to be able to do this <tt>:)</tt>
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
316 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
317 * \param self Pointer to dvdnav_t associated with this operation.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
318 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
319 dvdnav_status_t dvdnav_still_skip(dvdnav_t *self);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
320
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
321 /**
116
4d711d0518e9 new event DVDNAV_WAIT
mroi
parents: 114
diff changeset
322 * If we are currently in WAIT state, that is: the application is required to
4d711d0518e9 new event DVDNAV_WAIT
mroi
parents: 114
diff changeset
323 * wait for its fifos to become empty, calling this signals libdvdnav that this
4d711d0518e9 new event DVDNAV_WAIT
mroi
parents: 114
diff changeset
324 * is achieved and that it can continue.
4d711d0518e9 new event DVDNAV_WAIT
mroi
parents: 114
diff changeset
325 *
4d711d0518e9 new event DVDNAV_WAIT
mroi
parents: 114
diff changeset
326 * \param self Pointer to dvdnav_t associated with this operation.
4d711d0518e9 new event DVDNAV_WAIT
mroi
parents: 114
diff changeset
327 */
4d711d0518e9 new event DVDNAV_WAIT
mroi
parents: 114
diff changeset
328 dvdnav_status_t dvdnav_wait_skip(dvdnav_t *self);
4d711d0518e9 new event DVDNAV_WAIT
mroi
parents: 114
diff changeset
329
4d711d0518e9 new event DVDNAV_WAIT
mroi
parents: 114
diff changeset
330 /**
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
331 * Returns the still time status from the next cell
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
332 *
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
333 * \param self Pointer to dvdnav_t associated with this operation.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
334 */
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
335 uint32_t dvdnav_get_next_still_flag(dvdnav_t *self);
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
336
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
337 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
338 * Plays a specified title of the DVD.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
339 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
340 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
341 * \param title 1..99 -- Title number to play.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
342 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
343 dvdnav_status_t dvdnav_title_play(dvdnav_t *self, int title);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
344
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
345 /**
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
346 * Plays the specifiec title, starting from the specified part.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
347 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
348 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
349 * \param title 1..99 -- Title number to play.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
350 * \param part 1..999 -- Part to start from.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
351 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
352 dvdnav_status_t dvdnav_part_play(dvdnav_t *self, int title, int part);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
353
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
354 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
355 * Play the specified amount of parts of the specified title of
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
356 * the DVD then STOP.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
357 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
358 * \par Note:
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
359 * Currently unimplemented!
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
360 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
361 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
362 * \param title 1..99 -- Title number to play.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
363 * \param part 1..999 -- Part to start from.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
364 * \param parts_to_play 1..999 -- Number of parts to play.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
365 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
366 dvdnav_status_t dvdnav_part_play_auto_stop(dvdnav_t *self, int title,
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
367 int part, int parts_to_play);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
368
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
369 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
370 * Play the specified title starting from the specified time
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
371 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
372 * \par Note:
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
373 * Currently unimplemented!
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
374 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
375 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
376 * \param title 1..99 -- Title number to play.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
377 * \param time Timecode to start from (hours, minutes, seconds + frames).
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
378 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
379 dvdnav_status_t dvdnav_time_play(dvdnav_t *self, int title,
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
380 unsigned long int time);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
381
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
382 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
383 * Stops playing the current title (causes a STOP action in
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
384 * dvdnav_get_next_block()).
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
385 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
386 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
387 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
388 * \sa dvdnav_get_next_block()
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
389 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
390 dvdnav_status_t dvdnav_stop(dvdnav_t *self);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
391
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
392 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
393 * Stop playing current title and play the "GoUp"-program chain
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
394 * (which generally leads to the title menu or a higer-level menu).
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
395 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
396 * \param self Pointer to dvdnav_t associated with this operation.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
397 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
398 dvdnav_status_t dvdnav_go_up(dvdnav_t *self);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
399
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
400 /**
123
da88fc974592 update some comments
mroi
parents: 116
diff changeset
401 * Stop playing the current position and jump to the specified menu.
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
402 *
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
403 * \param self Pointer to dvdnav_t associated with this operation.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
404 * \param menu Which menu to call (see DVDMenuID_t).
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
405 *
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
406 * \sa DVDMenuID_t (from <tt>libdvdread</tt>)
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
407 */
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
408 dvdnav_status_t dvdnav_menu_call(dvdnav_t *self, DVDMenuID_t menu);
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
409
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
410 /**
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
411 * Return the title number and part currently being played or
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
412 * -1 if in a menu.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
413 *
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
414 * \param self Pointer to dvdnav_t associated with this operation.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
415 * \param title Pointer to into which will receive the current title number.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
416 * \param part Pointer to into which will receive the current part number.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
417 */
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
418 dvdnav_status_t dvdnav_current_title_info(dvdnav_t *self, int *title,
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
419 int *part);
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
420
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
421 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
422 * @}
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
423 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
424
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
425 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
426 * \defgroup search Searching
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
427 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
428 * @{
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
429 */
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
430
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
431 /**
123
da88fc974592 update some comments
mroi
parents: 116
diff changeset
432 * Stop playing the current position and start playback of the title
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
433 * from the specified timecode.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
434 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
435 * \par Note:
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
436 * Currently unimplemented!
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
437 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
438 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
439 * \param time Timecode to start from.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
440 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
441 dvdnav_status_t dvdnav_time_search(dvdnav_t *self,
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
442 unsigned long int time);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
443
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
444 /**
123
da88fc974592 update some comments
mroi
parents: 116
diff changeset
445 * Stop playing the current position and start playback from the last
da88fc974592 update some comments
mroi
parents: 116
diff changeset
446 * VOBU boundary before the given sector. The sector number is not
da88fc974592 update some comments
mroi
parents: 116
diff changeset
447 * meant to be an absolute physical DVD sector, but a relative sector
da88fc974592 update some comments
mroi
parents: 116
diff changeset
448 * in the current program. This function cannot leave the current
da88fc974592 update some comments
mroi
parents: 116
diff changeset
449 * program and will fail, if asked to do so.
da88fc974592 update some comments
mroi
parents: 116
diff changeset
450 *
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
451 * from the specified sector offset.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
452 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
453 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
454 * \param offset Sector offset to start from.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
455 * \param origin Start from here, start or end.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
456 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
457 dvdnav_status_t dvdnav_sector_search(dvdnav_t *self,
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
458 unsigned long int offset, int origin);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
459
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
460 /**
123
da88fc974592 update some comments
mroi
parents: 116
diff changeset
461 * Stop playing the current position and start playback of the current title
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
462 * from the specified part (chapter).
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
463 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
464 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
465 * \param part 1..999 -- Part to start from.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
466 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
467 dvdnav_status_t dvdnav_part_search(dvdnav_t *self, int part);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
468
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
469 /**
123
da88fc974592 update some comments
mroi
parents: 116
diff changeset
470 * Stop playing the current position and start playback at the
da88fc974592 update some comments
mroi
parents: 116
diff changeset
471 * previous program (if it exists).
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
472 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
473 * \param self Pointer to dvdnav_t associated with this operation.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
474 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
475 dvdnav_status_t dvdnav_prev_pg_search(dvdnav_t *self);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
476
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
477 /**
123
da88fc974592 update some comments
mroi
parents: 116
diff changeset
478 * Stop playing the current position and start playback at the
da88fc974592 update some comments
mroi
parents: 116
diff changeset
479 * first program.
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
480 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
481 * \param self Pointer to dvdnav_t associated with this operation.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
482 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
483 dvdnav_status_t dvdnav_top_pg_search(dvdnav_t *self);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
484
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
485 /**
123
da88fc974592 update some comments
mroi
parents: 116
diff changeset
486 * Stop playing the current position and start playback at the
da88fc974592 update some comments
mroi
parents: 116
diff changeset
487 * next program (if it exists).
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
488 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
489 * \param self Pointer to dvdnav_t associated with this operation.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
490 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
491 dvdnav_status_t dvdnav_next_pg_search(dvdnav_t *self);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
492
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
493 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
494 * Return the current position (in blocks) within the current
123
da88fc974592 update some comments
mroi
parents: 116
diff changeset
495 * program and the length (in blocks) of current program.
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
496 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
497 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
498 * \param pos Pointer to unsigned int to get the current position.
123
da88fc974592 update some comments
mroi
parents: 116
diff changeset
499 * \param len Pointer to unsinged int to hold the length of the current program.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
500 */
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
501 dvdnav_status_t dvdnav_get_position(dvdnav_t *self, unsigned int *pos,
8
66708b4a1b5e Stop C++ bitching about some things and extend the menus example
richwareham
parents: 5
diff changeset
502 unsigned int *len);
66708b4a1b5e Stop C++ bitching about some things and extend the menus example
richwareham
parents: 5
diff changeset
503
66708b4a1b5e Stop C++ bitching about some things and extend the menus example
richwareham
parents: 5
diff changeset
504 /**
66708b4a1b5e Stop C++ bitching about some things and extend the menus example
richwareham
parents: 5
diff changeset
505 * Return the current position (in blocks) within the current
66708b4a1b5e Stop C++ bitching about some things and extend the menus example
richwareham
parents: 5
diff changeset
506 * title and the length (in blocks) of said title.
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
507 *
123
da88fc974592 update some comments
mroi
parents: 116
diff changeset
508 * \par Note:
da88fc974592 update some comments
mroi
parents: 116
diff changeset
509 * Current implementation is wrong and likely to behave unpredictably.
da88fc974592 update some comments
mroi
parents: 116
diff changeset
510 * Use is discouraged.
da88fc974592 update some comments
mroi
parents: 116
diff changeset
511 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
512 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
513 * \param pos Pointer to unsigned int to get the current position.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
514 * \param len Pointer to unsinged int to hold the length of the current title.
8
66708b4a1b5e Stop C++ bitching about some things and extend the menus example
richwareham
parents: 5
diff changeset
515 */
66708b4a1b5e Stop C++ bitching about some things and extend the menus example
richwareham
parents: 5
diff changeset
516 dvdnav_status_t dvdnav_get_position_in_title(dvdnav_t *self,
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
517 unsigned int *pos,
8
66708b4a1b5e Stop C++ bitching about some things and extend the menus example
richwareham
parents: 5
diff changeset
518 unsigned int *len);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
519
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
520 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
521 * @}
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
522 */
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
523
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
524 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
525 * \defgroup highlight Highlights
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
526 *
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
527 * Most functions related to highlights take a NAV PCI packet as a parameter.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
528 * While you can get the such a packet from libdvdnav, for players with internal
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
529 * FIFOs, this will result in errors, because due to the FIFO length, libdvdnav will
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
530 * be ahead in the stream compared to what the user is seeing on screen.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
531 * Therefore, player applications who have a NAV packet available, which is
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
532 * better in sync with the actual playback should always pass this one to these
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
533 * functions.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
534 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
535 * @{
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
536 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
537
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
538 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
539 * Get the currently highlighted button
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
540 * number (1..36) or 0 if no button is highlighed.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
541 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
542 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
543 * \param button Pointer to the value to fill in.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
544 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
545 dvdnav_status_t dvdnav_get_current_highlight(dvdnav_t *self, int* button);
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
546
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
547 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
548 * Returns the Presentation Control Information (PCI) structure associated
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
549 * with the current position.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
550 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
551 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
552 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
553 * \sa pci_t (in <tt>libdvdread</tt>)
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
554 */
22
3c1df0cb3aee Start of rewrite of libdvdnav. Still need to re-implement seeking.
jcdutton
parents: 21
diff changeset
555 pci_t* dvdnav_get_current_nav_pci(dvdnav_t *self);
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
556
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
557 /**
67
61c0ee1bbb7a Moved get_current_nav_pci into dvdnac.c, changed example to use it instead of 'home-rolled'
richwareham
parents: 66
diff changeset
558 * Returns the DSI (data seach information) structure associated
66
2bd4a78eefce Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents: 60
diff changeset
559 * with the current position.
2bd4a78eefce Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents: 60
diff changeset
560 *
2bd4a78eefce Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents: 60
diff changeset
561 * \param self Pointer to dvdnav_t associated with this operation.
2bd4a78eefce Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents: 60
diff changeset
562 *
67
61c0ee1bbb7a Moved get_current_nav_pci into dvdnac.c, changed example to use it instead of 'home-rolled'
richwareham
parents: 66
diff changeset
563 * \sa pci_t (in <tt>libdvdread</tt>)
66
2bd4a78eefce Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents: 60
diff changeset
564 */
2bd4a78eefce Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents: 60
diff changeset
565 dsi_t* dvdnav_get_current_nav_dsi(dvdnav_t *self);
2bd4a78eefce Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents: 60
diff changeset
566
2bd4a78eefce Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents: 60
diff changeset
567 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
568 * Get the area associated with a certain button.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
569 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
570 * \param nav_pci Pointer to the PCI structure you may have got via
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
571 * dvdnav_get_current_nav_pci().
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
572 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
573 * \param button Button number to query.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
574 * \param mode 0..3 -- Button mode to query.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
575 * \param highlight Pointer to dvdnav_highlight_area_t to fill in.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
576 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
577 * \sa dvdnav_highlight_area_t
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
578 */
22
3c1df0cb3aee Start of rewrite of libdvdnav. Still need to re-implement seeking.
jcdutton
parents: 21
diff changeset
579 dvdnav_status_t dvdnav_get_highlight_area(pci_t* nav_pci , int32_t button, int32_t mode,
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
580 dvdnav_highlight_area_t* highlight);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
581
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
582 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
583 * Move button highlight around as suggested by function name (e.g. with arrow keys).
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
584 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
585 * \param self Pointer to dvdnav_t associated with this operation.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
586 */
98
457f35f43ba6 Improved DVD menu selection.
jcdutton
parents: 95
diff changeset
587 dvdnav_status_t dvdnav_upper_button_select(dvdnav_t *self, pci_t *pci);
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
588
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
589 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
590 * Move button highlight around as suggested by function name (e.g. with arrow keys).
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
591 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
592 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
593 */
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
594
98
457f35f43ba6 Improved DVD menu selection.
jcdutton
parents: 95
diff changeset
595 dvdnav_status_t dvdnav_lower_button_select(dvdnav_t *self, pci_t *pci);
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
596
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
597 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
598 * Move button highlight around as suggested by function name (e.g. with arrow keys).
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
599 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
600 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
601 */
98
457f35f43ba6 Improved DVD menu selection.
jcdutton
parents: 95
diff changeset
602 dvdnav_status_t dvdnav_right_button_select(dvdnav_t *self, pci_t *pci);
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
603
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
604 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
605 * Move button highlight around as suggested by function name (e.g. with arrow keys).
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
606 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
607 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
608 */
98
457f35f43ba6 Improved DVD menu selection.
jcdutton
parents: 95
diff changeset
609 dvdnav_status_t dvdnav_left_button_select(dvdnav_t *self, pci_t *pci);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
610
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
611 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
612 * Activate (press) the currently highlighted button.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
613 * \param self Pointer to dvdnav_t associated with this operation.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
614 */
98
457f35f43ba6 Improved DVD menu selection.
jcdutton
parents: 95
diff changeset
615 dvdnav_status_t dvdnav_button_activate(dvdnav_t *self, pci_t *pci);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
616
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
617 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
618 * Highlight a specific button.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
619 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
620 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
621 * \param button 1..39 -- Button number to activate.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
622 */
98
457f35f43ba6 Improved DVD menu selection.
jcdutton
parents: 95
diff changeset
623 dvdnav_status_t dvdnav_button_select(dvdnav_t *self, pci_t *pci, int button);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
624
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
625 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
626 * Activate (press) specified button.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
627 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
628 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
629 * \param button 1..39 -- Button number to activate.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
630 */
98
457f35f43ba6 Improved DVD menu selection.
jcdutton
parents: 95
diff changeset
631 dvdnav_status_t dvdnav_button_select_and_activate(dvdnav_t *self, pci_t *pci, int button);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
632
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
633 /**
91
df9712507b30 Add a new API function, to allow for more flexible menu button control.
jcdutton
parents: 90
diff changeset
634 * Activate (press) a button and execute specified command.
df9712507b30 Add a new API function, to allow for more flexible menu button control.
jcdutton
parents: 90
diff changeset
635 *
df9712507b30 Add a new API function, to allow for more flexible menu button control.
jcdutton
parents: 90
diff changeset
636 * \param self Pointer to dvdnav_t associated with this operation.
df9712507b30 Add a new API function, to allow for more flexible menu button control.
jcdutton
parents: 90
diff changeset
637 * \param cmd DVD Command to execute.
df9712507b30 Add a new API function, to allow for more flexible menu button control.
jcdutton
parents: 90
diff changeset
638 */
df9712507b30 Add a new API function, to allow for more flexible menu button control.
jcdutton
parents: 90
diff changeset
639 dvdnav_status_t dvdnav_button_activate_cmd(dvdnav_t *self, int32_t button, vm_cmd_t *cmd);
df9712507b30 Add a new API function, to allow for more flexible menu button control.
jcdutton
parents: 90
diff changeset
640
df9712507b30 Add a new API function, to allow for more flexible menu button control.
jcdutton
parents: 90
diff changeset
641 /**
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
642 * Select button at specified (image) co-ordinates.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
643 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
644 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
645 * \param x X co-ordinate in image.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
646 * \param y Y xo-ordinate in image.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
647 */
98
457f35f43ba6 Improved DVD menu selection.
jcdutton
parents: 95
diff changeset
648 dvdnav_status_t dvdnav_mouse_select(dvdnav_t *self, pci_t *pci, int x, int y);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
649
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
650 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
651 * Activate (press) button at specified co-ordinates.
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
652 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
653 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
654 * \param x X co-ordinate in image.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
655 * \param y Y xo-ordinate in image.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
656 */
98
457f35f43ba6 Improved DVD menu selection.
jcdutton
parents: 95
diff changeset
657 dvdnav_status_t dvdnav_mouse_activate(dvdnav_t *self, pci_t *pci, int x, int y);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
658
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
659 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
660 * @}
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
661 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
662
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
663 /**
44
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
664 * \defgroup languages Languages
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
665 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
666 * @{
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
667 */
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
668
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
669 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
670 * Set which menu language we should use.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
671 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
672 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
673 * \param code 2 char ISO639 Language code in a C-style string.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
674 */
44
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
675 dvdnav_status_t dvdnav_menu_language_select(dvdnav_t *self,
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
676 char *code);
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
677
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
678 /**
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
679 * Set which audio language we should use.
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
680 *
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
681 * \param self Pointer to dvdnav_t associated with this operation.
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
682 * \param code 2 char ISO639 Language code in a C-style string.
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
683 */
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
684 dvdnav_status_t dvdnav_audio_language_select(dvdnav_t *self,
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
685 char *code);
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
686
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
687 /**
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
688 * Set which spu language we should use.
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
689 *
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
690 * \param self Pointer to dvdnav_t associated with this operation.
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
691 * \param code 2 char ISO639 Language code in a C-style string.
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
692 */
c50cb59dbb19 Add dvd menu language selection api.
jcdutton
parents: 43
diff changeset
693 dvdnav_status_t dvdnav_spu_language_select(dvdnav_t *self,
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
694 char *code);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
695
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
696 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
697 * @}
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
698 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
699
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
700 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
701 * \defgroup streams Sub-Picture Unit (Subtitles) and Audio Streams
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
702 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
703 * All these commands manipulate the audio/subtitle stream numbers that the
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
704 * player engine thinks is playing. Note that all the streams are still returned
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
705 * multiplexed by dvdnav_get_next_block(). You should try to make sure that the
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
706 * MPEG demuxer and the player engine both have the same thoughts on what stream the
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
707 * user is currently listening to.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
708 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
709 * \sa dvdnav_get_next_block()
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
710 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
711 * @{
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
712 */
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
713
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
714 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
715 * Set a specific PHYSICAL MPEG stream.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
716 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
717 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
718 * \param audio 0..7 -- Stream number.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
719 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
720 dvdnav_status_t dvdnav_physical_audio_stream_change(dvdnav_t *self,
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
721 int audio);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
722
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
723 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
724 * Set a specific logical audio stream.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
725 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
726 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
727 * \param audio 0..7 -- Stream number.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
728 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
729 dvdnav_status_t dvdnav_logical_audio_stream_change(dvdnav_t *self,
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
730 int audio);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
731
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
732 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
733 * Set the int pointed to to the current PHYSICAL audio
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
734 * stream.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
735 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
736 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
737 * \param audio Pointer to int which will receive value.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
738 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
739 dvdnav_status_t dvdnav_get_physical_audio_stream(dvdnav_t *self, int* audio);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
740
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
741 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
742 * Set the int pointed to to the current LOGICAL audio
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
743 * stream.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
744 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
745 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
746 * \param audio Pointer to int which will receive value.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
747 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
748 dvdnav_status_t dvdnav_get_logical_audio_stream(dvdnav_t *self, int* audio);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
749
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
750 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
751 * Set a specific PHYSICAL MPEG SPU stream and whether it should be
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
752 * displayed.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
753 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
754 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
755 * \param stream 0..31 or 63 (dummy) -- Stram number.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
756 * \param display: 0..1 -- Is this actually being displayed?
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
757 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
758 dvdnav_status_t dvdnav_physical_spu_stream_change(dvdnav_t *self,
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
759 int stream, int display);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
760
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
761 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
762 * Set a specific LOGICAL SPU stream and whether it should be
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
763 * displayed.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
764 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
765 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
766 * \param stream 0..31 or 63 (dummy) -- Stram number.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
767 * \param display: 0..1 -- Is this actually being displayed?
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
768 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
769 dvdnav_status_t dvdnav_logical_spu_stream_change(dvdnav_t *self,
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
770 int stream, int display);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
771
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
772 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
773 * Set the ints pointed to to the current PHYSICAL SPU
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
774 * stream & display flag.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
775 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
776 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
777 * \param stream Pointer which will receive value.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
778 * \param display Pointer which will receive value.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
779 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
780 dvdnav_status_t dvdnav_get_physical_spu_stream(dvdnav_t *self,
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
781 int* stream, int* display);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
782
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
783 /**
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
784 * Set the ints pointed to to the current LOGICAL SPU
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
785 * stream & display flag.
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
786 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
787 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
788 * \param stream Pointer which will receive value.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
789 * \param display Pointer which will receive value.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
790 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
791 dvdnav_status_t dvdnav_get_logical_spu_stream(dvdnav_t *self,
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
792 int* stream, int* disply);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
793
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
794 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
795 * Converts a *logical* audio stream id into country code
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
796 * (returns <tt>0xffff</tt> if no such stream).
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
797 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
798 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
799 * \param stream Stream number
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
800 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
801 uint16_t dvdnav_audio_stream_to_lang(dvdnav_t *self, uint8_t stream);
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
802
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
803 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
804 * Converts a *logical* subpicture stream id into country code
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
805 * (returns <tt>0xffff</tt> if no such stream).
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
806 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
807 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
808 * \param stream Stream number
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
809 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
810 uint16_t dvdnav_spu_stream_to_lang(dvdnav_t *self, uint8_t stream);
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
811
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
812 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
813 * Converts a *physical* audio stream id into a logical stream number
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
814 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
815 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
816 * \param audio_num Stream number
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
817 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
818 int8_t dvdnav_get_audio_logical_stream(dvdnav_t *self, uint8_t audio_num);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
819
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
820 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
821 * Converts a *physical* subpicture stream id into a logical stream number
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
822 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
823 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
824 * \param subp_num Stream number
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
825 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
826 int8_t dvdnav_get_spu_logical_stream(dvdnav_t *self, uint8_t subp_num);
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
827
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
828 /**
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
829 * Get active audio stream.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
830 *
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
831 * \param self Pointer to dvdnav_t associated with this operation.
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
832 */
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
833 int8_t dvdnav_get_active_audio_stream(dvdnav_t *self);
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
834
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
835 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
836 * Get active spu stream.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
837 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
838 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
839 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
840 int8_t dvdnav_get_active_spu_stream(dvdnav_t *self);
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
841
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
842 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
843 * @}
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
844 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
845
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
846 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
847 * \defgroup angles Multiple angles
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
848 *
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
849 * The <tt>libdvdnav</tt> library abstracts away the difference between seamless and
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
850 * non-seamless angles. From the point of view of the programmer you just set the
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
851 * angle number and all is well in the world.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
852 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
853 * \par Note:
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
854 * It is quite possible that some tremendously strange DVD feature might change the
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
855 * angle number from under you. Generally you should always view the results from
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
856 * dvdnav_get_angle_info() as definitive only up to the next time you call
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
857 * dvdnav_get_next_block().
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
858 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
859 * @{
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
860 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
861
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
862 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
863 * Sets the current angle. If you try to follow a non existant angle
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
864 * the call fails.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
865 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
866 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
867 * \param angle 1..9 -- Currentl angle to follow.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
868 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
869 dvdnav_status_t dvdnav_angle_change(dvdnav_t *self, int angle);
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
870
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
871 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
872 * Returns the current angle and number of angles present.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
873 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
874 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
875 * \param current_angle Pointer to int which will get the current angle.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
876 * \param number_of_angles Pointer to int which will get the number of angles.
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
877 */
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
878 dvdnav_status_t dvdnav_get_angle_info(dvdnav_t *self, int* current_angle,
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
879 int *number_of_angles);
66
2bd4a78eefce Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents: 60
diff changeset
880
2bd4a78eefce Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents: 60
diff changeset
881 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
882 * @}
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
883 */
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
884
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
885 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
886 * \defgroup domain Domain Queries
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
887 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
888 * The following functions can be used to query whether we are in
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
889 * particular domains or not.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
890 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
891 * @{
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
892 */
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
893
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
894 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
895 * Are we in the First Play domain. (Menu)
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
896 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
897 * \returns -1 on failure, 1 if condition is true, 0 if condition is false
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
898 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
899 int8_t dvdnav_is_domain_fp(dvdnav_t *self);
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
900
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
901 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
902 * Are we in the Video management Menu domain. (Menu)
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
903 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
904 * \returns -1 on failure, 1 if condition is true, 0 if condition is false
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
905 */
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
906 int8_t dvdnav_is_domain_vmgm(dvdnav_t *self);
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
907
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
908 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
909 * Are we in the Video Title Menu domain (Menu)
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
910 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
911 * \returns -1 on failure, 1 if condition is true, 0 if condition is false
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
912 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
913 int8_t dvdnav_is_domain_vtsm(dvdnav_t *self);
114
b6834e6359cf big libdvdnav cleanup, quoting the ChangeLog:
mroi
parents: 98
diff changeset
914
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
915 /**
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
916 * Are we in the Video Title domain (playing movie)?
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
917 * \param self Pointer to dvdnav_t associated with this operation.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
918 * \returns -1 on failure, 1 if condition is true, 0 if condition is false
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
919 */
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
920 int8_t dvdnav_is_domain_vts(dvdnav_t *self);
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
921
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
922 /**
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
923 * @}
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
924 */
43
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
925
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
926 /*
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
927 * The following info appears on the front page of the reference manual. It is
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
928 * included here to keep it with the main dvdnav source files. The copyright notice
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
929 * refers to the comments _only_. All machine-readable source code is covered by
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
930 * the copyright notice at the top of this file.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
931 *
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
932 * Oh, and the official language of the documentation is English --
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
933 * English English (as in the English spoken in England) not US English.
0ba15bf3dc25 Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents: 22
diff changeset
934 */
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
935
5
c1b55dc1bfed Add API call to get number of programmes in current title.
richwareham
parents: 4
diff changeset
936 #ifdef __cplusplus
c1b55dc1bfed Add API call to get number of programmes in current title.
richwareham
parents: 4
diff changeset
937 }
c1b55dc1bfed Add API call to get number of programmes in current title.
richwareham
parents: 4
diff changeset
938 #endif
c1b55dc1bfed Add API call to get number of programmes in current title.
richwareham
parents: 4
diff changeset
939
0
3ddf0eaece51 Initial revision
richwareham
parents:
diff changeset
940 #endif /* DVDNAV_H_INCLUDED */