Mercurial > libdvdnav.hg
annotate dvdnav.h @ 290:54b6a000f6da src
decoder.h needs inclusion of sys/time.h
author | nicodvb |
---|---|
date | Sat, 21 Apr 2007 22:01:34 +0000 |
parents | 52877d182e96 |
children | 675f6faff0fd |
rev | line source |
---|---|
0 | 1 /* |
2 * Copyright (C) 2001 Rich Wareham <richwareham@users.sourceforge.net> | |
3 * | |
4 * This file is part of libdvdnav, a DVD navigation library. | |
5 * | |
6 * libdvdnav is free software; you can redistribute it and/or modify | |
7 * it under the terms of the GNU General Public License as published by | |
8 * the Free Software Foundation; either version 2 of the License, or | |
9 * (at your option) any later version. | |
10 * | |
11 * libdvdnav is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License | |
17 * along with this program; if not, write to the Free Software | |
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA | |
19 * | |
20 * $Id$ | |
21 * | |
22 */ | |
23 | |
147 | 24 /* |
25 * This is the main header file applications should include if they want | |
26 * to access dvdnav functionality. | |
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
|
27 */ |
0ba15bf3dc25
Biiiiiiig change to let doxygen generate 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 |
0 | 29 #ifndef DVDNAV_H_INCLUDED |
30 #define DVDNAV_H_INCLUDED | |
31 | |
268
5256576e85cd
define MP_DVDNAV to identify the version of the library used used
nicodvb
parents:
266
diff
changeset
|
32 #define MP_DVDNAV 1 |
5256576e85cd
define MP_DVDNAV to identify the version of the library used used
nicodvb
parents:
266
diff
changeset
|
33 |
5
c1b55dc1bfed
Add API call to get number of programmes in current title.
richwareham
parents:
4
diff
changeset
|
34 #ifdef __cplusplus |
c1b55dc1bfed
Add API call to get number of programmes in current title.
richwareham
parents:
4
diff
changeset
|
35 extern "C" { |
c1b55dc1bfed
Add API call to get number of programmes in current title.
richwareham
parents:
4
diff
changeset
|
36 #endif |
c1b55dc1bfed
Add API call to get number of programmes in current title.
richwareham
parents:
4
diff
changeset
|
37 |
285
52877d182e96
moved all header inclusions from .h to .c files; my word, I've never seen such a horrible entanglement as in this mess
nicodvb
parents:
272
diff
changeset
|
38 #ifndef DVDNAV_COMPILE |
139
f7a26cd00c93
* only install the headers that really are intended for public use
mroi
parents:
132
diff
changeset
|
39 # include <dvdnav/dvd_types.h> |
169 | 40 # include <dvdnav/dvd_reader.h> |
41 # include <dvdnav/ifo_types.h> /* For vm_cmd_t */ | |
285
52877d182e96
moved all header inclusions from .h to .c files; my word, I've never seen such a horrible entanglement as in this mess
nicodvb
parents:
272
diff
changeset
|
42 # include <dvdnav/dvdnav_events.h> |
139
f7a26cd00c93
* only install the headers that really are intended for public use
mroi
parents:
132
diff
changeset
|
43 #endif |
0 | 44 |
45 | |
147 | 46 |
47 /********************************************************************* | |
48 * dvdnav data types * | |
49 *********************************************************************/ | |
50 | |
51 /* | |
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
|
52 * 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
|
53 * a pointer to a dvdnav_t from the dvdnav_open() function. |
147 | 54 * Never call free() on the pointer, you have to give it back with |
55 * dvdnav_close(). | |
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
|
56 */ |
0 | 57 typedef struct dvdnav_s dvdnav_t; |
58 | |
147 | 59 /* Status as reported by most of libdvdnav's functions */ |
195 | 60 typedef int32_t dvdnav_status_t; |
0 | 61 |
147 | 62 /* |
63 * Unless otherwise stated, all functions return DVDNAV_STATUS_OK if | |
64 * they succeeded, otherwise DVDNAV_STATUS_ERR is returned and the error may | |
65 * be obtained by calling dvdnav_err_to_string(). | |
66 */ | |
193 | 67 #define DVDNAV_STATUS_ERR 0 |
68 #define DVDNAV_STATUS_OK 1 | |
0 | 69 |
266 | 70 #define DVDNAV_FORMAT_AC3 0 |
71 #define DVDNAV_FORMAT_MPEGAUDIO 3 | |
72 #define DVDNAV_FORMAT_LPCM 4 | |
73 #define DVDNAV_FORMAT_DTS 5 | |
74 #define DVDNAV_FORMAT_SDDS 6 | |
147 | 75 |
76 /********************************************************************* | |
77 * initialisation & housekeeping functions * | |
78 *********************************************************************/ | |
79 | |
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 * 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
|
82 * with a dvdnav_t. |
0 | 83 */ |
84 | |
147 | 85 /* |
86 * Attempts to open the DVD drive at the specified path and pre-cache | |
87 * the CSS-keys. libdvdread is used to access the DVD, so any source | |
88 * supported by libdvdread can be given with "path". Currently, | |
89 * libdvdread can access: DVD drives, DVD image files, DVD file-by-file | |
90 * copies. | |
0 | 91 * |
147 | 92 * The resulting dvdnav_t handle will be written to *dest. |
0 | 93 */ |
147 | 94 dvdnav_status_t dvdnav_open(dvdnav_t **dest, const char *path); |
0 | 95 |
147 | 96 /* |
0 | 97 * Closes a dvdnav_t previously opened with dvdnav_open(), freeing any |
98 * memory associated with it. | |
99 */ | |
100 dvdnav_status_t dvdnav_close(dvdnav_t *self); | |
101 | |
147 | 102 /* |
103 * Resets the DVD virtual machine and cache buffers. | |
4
99bed5d6db2f
Added reset patch from Kees Cook <kees@outflux.net>
richwareham
parents:
0
diff
changeset
|
104 */ |
99bed5d6db2f
Added reset patch from Kees Cook <kees@outflux.net>
richwareham
parents:
0
diff
changeset
|
105 dvdnav_status_t dvdnav_reset(dvdnav_t *self); |
99bed5d6db2f
Added reset patch from Kees Cook <kees@outflux.net>
richwareham
parents:
0
diff
changeset
|
106 |
147 | 107 /* |
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
|
108 * Fills a pointer with a value pointing to a string describing |
147 | 109 * the path associated with an open dvdnav_t. It assigns *path to NULL |
0 | 110 * on error. |
111 */ | |
147 | 112 dvdnav_status_t dvdnav_path(dvdnav_t *self, const char **path); |
0 | 113 |
147 | 114 /* |
0 | 115 * Returns a human-readable string describing the last error. |
116 */ | |
114 | 117 const char* dvdnav_err_to_string(dvdnav_t *self); |
0 | 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 |
147 | 120 /********************************************************************* |
121 * changing and reading DVD player characteristics * | |
122 *********************************************************************/ | |
123 | |
124 /* | |
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
|
125 * 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
|
126 * 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
|
127 */ |
0 | 128 |
147 | 129 /* |
130 * Sets the region mask (bit 0 set implies region 1, bit 1 set implies | |
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 * 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
|
132 * 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
|
133 * 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
|
134 * |
147 | 135 * This has _nothing_ to do with the region setting of the DVD drive. |
0 | 136 */ |
195 | 137 dvdnav_status_t dvdnav_set_region_mask(dvdnav_t *self, int32_t region_mask); |
0 | 138 |
147 | 139 /* |
140 * Returns the region mask (bit 0 set implies region 1, bit 1 set implies | |
141 * region 2, etc) of the virtual machine. | |
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
|
142 * |
147 | 143 * This has _nothing_ to do with the region setting of the DVD drive. |
0 | 144 */ |
195 | 145 dvdnav_status_t dvdnav_get_region_mask(dvdnav_t *self, int32_t *region_mask); |
0 | 146 |
147 | 147 /* |
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
|
148 * Specify whether read-ahead caching should be used. You may not want this if your |
114 | 149 * decoding engine does its own buffering. |
147 | 150 * |
151 * The default read-ahead cache does not use an additional thread for the reading | |
152 * (see read_cache.c for a threaded cache, but note that this code is currently | |
153 * unmaintained). It prebuffers on VOBU level by reading ahead several buffers | |
154 * on every read request. The speed of this prebuffering has been optimized to | |
155 * also work on slow DVD drives. | |
0 | 156 * |
147 | 157 * If in addition you want to prevent memcpy's to improve performance, have a look |
158 * at dvdnav_get_next_cache_block(). | |
0 | 159 */ |
195 | 160 dvdnav_status_t dvdnav_set_readahead_flag(dvdnav_t *self, int32_t read_ahead_flag); |
0 | 161 |
147 | 162 /* |
163 * Query whether read-ahead caching/buffering will be used. | |
164 */ | |
195 | 165 dvdnav_status_t dvdnav_get_readahead_flag(dvdnav_t *self, int32_t *read_ahead_flag); |
147 | 166 |
167 /* | |
132 | 168 * Specify whether the positioning works PGC or PG based. |
147 | 169 * Programs (PGs) on DVDs are similar to Chapters and a program chain (PGC) |
132 | 170 * usually covers a whole feature. This affects the behaviour of the |
147 | 171 * functions dvdnav_get_position() and dvdnav_sector_search(). See there. |
132 | 172 * Default is PG based positioning. |
173 */ | |
195 | 174 dvdnav_status_t dvdnav_set_PGC_positioning_flag(dvdnav_t *self, int32_t pgc_based_flag); |
132 | 175 |
147 | 176 /* |
132 | 177 * Query whether positioning is PG or PGC based. |
178 */ | |
195 | 179 dvdnav_status_t dvdnav_get_PGC_positioning_flag(dvdnav_t *self, int32_t *pgc_based_flag); |
147 | 180 |
132 | 181 |
147 | 182 /********************************************************************* |
183 * reading data * | |
184 *********************************************************************/ | |
185 | |
186 /* | |
187 * These functions are used to poll the playback enginge and actually get data | |
188 * off the DVD. | |
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
|
189 */ |
0 | 190 |
147 | 191 /* |
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
|
192 * 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
|
193 * If there is any special actions that may need to be performed, the value |
147 | 194 * pointed to by 'event' gets set accordingly. |
0 | 195 * |
196 * If 'event' is DVDNAV_BLOCK_OK then 'buf' is filled with the next block | |
197 * (note that means it has to be at /least/ 2048 bytes big). 'len' is | |
198 * then set to 2048. | |
199 * | |
200 * 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
|
201 * 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
|
202 * |
147 | 203 * See the dvdnav_events.h header for information on the various events. |
0 | 204 */ |
195 | 205 dvdnav_status_t dvdnav_get_next_block(dvdnav_t *self, uint8_t *buf, |
206 int32_t *event, int32_t *len); | |
0 | 207 |
147 | 208 /* |
60 | 209 * This basically does the same as dvdnav_get_next_block. The only difference is |
210 * that it avoids a memcopy, when the requested block was found in the cache. | |
211 * I such a case (cache hit) this function will return a different pointer than | |
212 * the one handed in, pointing directly into the relevant block in the cache. | |
147 | 213 * Those pointers must _never_ be freed but instead returned to the library via |
114 | 214 * dvdnav_free_cache_block(). |
60 | 215 */ |
195 | 216 dvdnav_status_t dvdnav_get_next_cache_block(dvdnav_t *self, uint8_t **buf, |
217 int32_t *event, int32_t *len); | |
60 | 218 |
147 | 219 /* |
114 | 220 * All buffers which came from the internal cache (when dvdnav_get_next_cache_block() |
60 | 221 * returned a buffer different from the one handed in) have to be freed with this |
222 * function. Although handing in other buffers not from the cache doesn't cause any harm. | |
223 */ | |
224 dvdnav_status_t dvdnav_free_cache_block(dvdnav_t *self, unsigned char *buf); | |
225 | |
147 | 226 /* |
227 * If we are currently in a still-frame this function skips it. | |
55
5674fbd44f26
report all spu types (widescreen, letterbox and pan&scan), not widescreen
mroi
parents:
44
diff
changeset
|
228 * |
147 | 229 * See also the DVDNAV_STILL_FRAME event. |
0 | 230 */ |
231 dvdnav_status_t dvdnav_still_skip(dvdnav_t *self); | |
232 | |
147 | 233 /* |
116 | 234 * If we are currently in WAIT state, that is: the application is required to |
235 * wait for its fifos to become empty, calling this signals libdvdnav that this | |
236 * is achieved and that it can continue. | |
237 * | |
147 | 238 * See also the DVDNAV_WAIT event. |
116 | 239 */ |
240 dvdnav_status_t dvdnav_wait_skip(dvdnav_t *self); | |
241 | |
147 | 242 /* |
243 * Returns the still time from the currently playing cell. | |
244 * The still time is given in seconds with 0xff meaning an indefinite still. | |
114 | 245 * |
147 | 246 * This function can be used to detect still frames before they are reached. |
247 * Some players might need this to prepare for a frame to be shown for a | |
248 * longer time than usual. | |
114 | 249 */ |
250 uint32_t dvdnav_get_next_still_flag(dvdnav_t *self); | |
251 | |
147 | 252 /* |
253 * Stops playback. The next event obtained with one of the get_next_block | |
254 * functions will be a DVDNAV_STOP event. | |
0 | 255 * |
147 | 256 * It is not required to call this before dvdnav_close(). |
257 */ | |
258 dvdnav_status_t dvdnav_stop(dvdnav_t *self); | |
259 | |
260 | |
261 /********************************************************************* | |
262 * title/part navigation * | |
263 *********************************************************************/ | |
264 | |
265 /* | |
266 * Returns the number of titles on the disk. | |
267 */ | |
195 | 268 dvdnav_status_t dvdnav_get_number_of_titles(dvdnav_t *self, int32_t *titles); |
147 | 269 |
270 /* | |
271 * Returns the number of parts within the given title. | |
272 */ | |
195 | 273 dvdnav_status_t dvdnav_get_number_of_parts(dvdnav_t *self, int32_t title, int32_t *parts); |
147 | 274 |
275 /* | |
276 * Plays the specified title of the DVD from its beginning (that is: part 1). | |
0 | 277 */ |
195 | 278 dvdnav_status_t dvdnav_title_play(dvdnav_t *self, int32_t title); |
0 | 279 |
147 | 280 /* |
281 * Plays the specified title, starting from the specified part. | |
0 | 282 */ |
195 | 283 dvdnav_status_t dvdnav_part_play(dvdnav_t *self, int32_t title, int32_t part); |
0 | 284 |
147 | 285 /* |
0 | 286 * Play the specified amount of parts of the specified title of |
287 * the DVD then STOP. | |
288 * | |
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
|
289 * Currently unimplemented! |
0 | 290 */ |
195 | 291 dvdnav_status_t dvdnav_part_play_auto_stop(dvdnav_t *self, int32_t title, |
292 int32_t part, int32_t parts_to_play); | |
0 | 293 |
147 | 294 /* |
295 * Play the specified title starting from the specified time. | |
0 | 296 * |
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
|
297 * Currently unimplemented! |
0 | 298 */ |
195 | 299 dvdnav_status_t dvdnav_time_play(dvdnav_t *self, int32_t title, |
300 uint64_t time); | |
0 | 301 |
147 | 302 /* |
123 | 303 * Stop playing the current position and jump to the specified menu. |
114 | 304 * |
147 | 305 * See also DVDMenuID_t from libdvdread |
114 | 306 */ |
307 dvdnav_status_t dvdnav_menu_call(dvdnav_t *self, DVDMenuID_t menu); | |
308 | |
147 | 309 /* |
164 | 310 * Return the title number and part currently being played. |
311 * A title of 0 indicates, we are in a menu. In this case, part | |
312 * is set to the current menu's ID. | |
114 | 313 */ |
195 | 314 dvdnav_status_t dvdnav_current_title_info(dvdnav_t *self, int32_t *title, |
315 int32_t *part); | |
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
|
316 |
147 | 317 /* |
318 * Return the current position (in blocks) within the current | |
319 * title and the length (in blocks) of said title. | |
320 * | |
321 * Current implementation is wrong and likely to behave unpredictably! | |
322 * Use is discouraged! | |
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
|
323 */ |
147 | 324 dvdnav_status_t dvdnav_get_position_in_title(dvdnav_t *self, |
195 | 325 uint32_t *pos, |
326 uint32_t *len); | |
0 | 327 |
147 | 328 /* |
329 * This function is only available for compatibility reasons. | |
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
|
330 * |
147 | 331 * Stop playing the current position and start playback of the current title |
332 * from the specified part. | |
0 | 333 */ |
195 | 334 dvdnav_status_t dvdnav_part_search(dvdnav_t *self, int32_t part); |
147 | 335 |
0 | 336 |
147 | 337 /********************************************************************* |
338 * program chain/program navigation * | |
339 *********************************************************************/ | |
340 | |
341 /* | |
123 | 342 * Stop playing the current position and start playback from the last |
343 * VOBU boundary before the given sector. The sector number is not | |
344 * meant to be an absolute physical DVD sector, but a relative sector | |
345 * in the current program. This function cannot leave the current | |
346 * program and will fail, if asked to do so. | |
0 | 347 * |
147 | 348 * If program chain based positioning is enabled |
349 * (see dvdnav_set_PGC_positioning_flag()), this will seek to the relative | |
350 * sector inside the current program chain. | |
351 * | |
352 * 'origin' can be one of SEEK_SET, SEEK_CUR, SEEK_END as defined in | |
353 * fcntl.h. | |
0 | 354 */ |
355 dvdnav_status_t dvdnav_sector_search(dvdnav_t *self, | |
195 | 356 uint64_t offset, int32_t origin); |
0 | 357 |
147 | 358 /* |
269
77e472cef5f8
implemented dvdnav_get_current_time() with obvious meaning
nicodvb
parents:
268
diff
changeset
|
359 returns the current stream time in PTS ticks as reported by the IFO structures |
77e472cef5f8
implemented dvdnav_get_current_time() with obvious meaning
nicodvb
parents:
268
diff
changeset
|
360 divide it by 90000 to get the current play time in seconds |
77e472cef5f8
implemented dvdnav_get_current_time() with obvious meaning
nicodvb
parents:
268
diff
changeset
|
361 */ |
77e472cef5f8
implemented dvdnav_get_current_time() with obvious meaning
nicodvb
parents:
268
diff
changeset
|
362 int64_t dvdnav_get_current_time(dvdnav_t *this); |
77e472cef5f8
implemented dvdnav_get_current_time() with obvious meaning
nicodvb
parents:
268
diff
changeset
|
363 |
77e472cef5f8
implemented dvdnav_get_current_time() with obvious meaning
nicodvb
parents:
268
diff
changeset
|
364 /* |
147 | 365 * Stop playing the current position and start playback of the title |
366 * from the specified timecode. | |
0 | 367 * |
147 | 368 * Currently unimplemented! |
0 | 369 */ |
147 | 370 dvdnav_status_t dvdnav_time_search(dvdnav_t *self, |
195 | 371 uint64_t time); |
0 | 372 |
147 | 373 /* |
374 * Stop playing current position and play the "GoUp"-program chain. | |
375 * (which generally leads to the title menu or a higer-level menu). | |
376 */ | |
377 dvdnav_status_t dvdnav_go_up(dvdnav_t *self); | |
378 | |
379 /* | |
123 | 380 * Stop playing the current position and start playback at the |
381 * previous program (if it exists). | |
0 | 382 */ |
383 dvdnav_status_t dvdnav_prev_pg_search(dvdnav_t *self); | |
384 | |
147 | 385 /* |
123 | 386 * Stop playing the current position and start playback at the |
387 * first program. | |
0 | 388 */ |
389 dvdnav_status_t dvdnav_top_pg_search(dvdnav_t *self); | |
390 | |
147 | 391 /* |
123 | 392 * Stop playing the current position and start playback at the |
393 * next program (if it exists). | |
0 | 394 */ |
395 dvdnav_status_t dvdnav_next_pg_search(dvdnav_t *self); | |
396 | |
147 | 397 /* |
0 | 398 * Return the current position (in blocks) within the current |
123 | 399 * program and the length (in blocks) of current program. |
147 | 400 * |
401 * If program chain based positioning is enabled | |
402 * (see dvdnav_set_PGC_positioning_flag()), this will return the | |
403 * relative position in and the length of the current program chain. | |
0 | 404 */ |
195 | 405 dvdnav_status_t dvdnav_get_position(dvdnav_t *self, uint32_t *pos, |
406 uint32_t *len); | |
8
66708b4a1b5e
Stop C++ bitching about some things and extend the menus example
richwareham
parents:
5
diff
changeset
|
407 |
0 | 408 |
147 | 409 /********************************************************************* |
410 * menu highlights * | |
411 *********************************************************************/ | |
0 | 412 |
147 | 413 /* |
114 | 414 * Most functions related to highlights take a NAV PCI packet as a parameter. |
415 * While you can get the such a packet from libdvdnav, for players with internal | |
416 * FIFOs, this will result in errors, because due to the FIFO length, libdvdnav will | |
417 * be ahead in the stream compared to what the user is seeing on screen. | |
418 * Therefore, player applications who have a NAV packet available, which is | |
419 * better in sync with the actual playback should always pass this one to these | |
420 * functions. | |
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
|
421 */ |
0ba15bf3dc25
Biiiiiiig change to let doxygen generate 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 |
147 | 423 /* |
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
|
424 * Get the currently highlighted button |
147 | 425 * number (1..36) or 0 if no button is highlighted. |
0 | 426 */ |
195 | 427 dvdnav_status_t dvdnav_get_current_highlight(dvdnav_t *self, int32_t *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
|
428 |
147 | 429 /* |
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
|
430 * 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
|
431 * 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
|
432 * |
147 | 433 * Read the general notes above. |
434 * See also libdvdreads nav_types.h for definition of pci_t. | |
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 */ |
22
3c1df0cb3aee
Start of rewrite of libdvdnav. Still need to re-implement seeking.
jcdutton
parents:
21
diff
changeset
|
436 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
|
437 |
147 | 438 /* |
439 * Returns the DSI (data search information) structure associated | |
66
2bd4a78eefce
Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents:
60
diff
changeset
|
440 * with the current position. |
2bd4a78eefce
Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents:
60
diff
changeset
|
441 * |
147 | 442 * Read the general notes above. |
443 * See also libdvdreads nav_types.h for definition of dsi_t. | |
66
2bd4a78eefce
Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents:
60
diff
changeset
|
444 */ |
2bd4a78eefce
Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents:
60
diff
changeset
|
445 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
|
446 |
147 | 447 /* |
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
|
448 * 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
|
449 */ |
147 | 450 dvdnav_status_t dvdnav_get_highlight_area(pci_t *nav_pci , int32_t button, int32_t mode, |
451 dvdnav_highlight_area_t *highlight); | |
0 | 452 |
147 | 453 /* |
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
|
454 * Move button highlight around as suggested by function name (e.g. with arrow keys). |
0 | 455 */ |
98 | 456 dvdnav_status_t dvdnav_upper_button_select(dvdnav_t *self, pci_t *pci); |
457 dvdnav_status_t dvdnav_lower_button_select(dvdnav_t *self, pci_t *pci); | |
458 dvdnav_status_t dvdnav_right_button_select(dvdnav_t *self, pci_t *pci); | |
459 dvdnav_status_t dvdnav_left_button_select(dvdnav_t *self, pci_t *pci); | |
0 | 460 |
147 | 461 /* |
462 * Activate ("press") the currently highlighted button. | |
0 | 463 */ |
98 | 464 dvdnav_status_t dvdnav_button_activate(dvdnav_t *self, pci_t *pci); |
0 | 465 |
147 | 466 /* |
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
|
467 * Highlight a specific button. |
0 | 468 */ |
195 | 469 dvdnav_status_t dvdnav_button_select(dvdnav_t *self, pci_t *pci, int32_t button); |
0 | 470 |
147 | 471 /* |
472 * Activate ("press") specified button. | |
0 | 473 */ |
195 | 474 dvdnav_status_t dvdnav_button_select_and_activate(dvdnav_t *self, pci_t *pci, int32_t button); |
0 | 475 |
147 | 476 /* |
91
df9712507b30
Add a new API function, to allow for more flexible menu button control.
jcdutton
parents:
90
diff
changeset
|
477 * 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
|
478 */ |
df9712507b30
Add a new API function, to allow for more flexible menu button control.
jcdutton
parents:
90
diff
changeset
|
479 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
|
480 |
147 | 481 /* |
482 * Select button at specified video frame coordinates. | |
0 | 483 */ |
195 | 484 dvdnav_status_t dvdnav_mouse_select(dvdnav_t *self, pci_t *pci, int32_t x, int32_t y); |
0 | 485 |
147 | 486 /* |
487 * Activate ("press") button at specified video frame coordinates. | |
0 | 488 */ |
195 | 489 dvdnav_status_t dvdnav_mouse_activate(dvdnav_t *self, pci_t *pci, int32_t x, int32_t y); |
0 | 490 |
147 | 491 |
492 /********************************************************************* | |
493 * languages * | |
494 *********************************************************************/ | |
495 | |
496 /* | |
497 * The language codes expected by these functions are two character | |
498 * codes as defined in ISO639. | |
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
|
499 */ |
0ba15bf3dc25
Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents:
22
diff
changeset
|
500 |
147 | 501 /* |
207 | 502 * Set which menu language we should use per default. |
0 | 503 */ |
44 | 504 dvdnav_status_t dvdnav_menu_language_select(dvdnav_t *self, |
505 char *code); | |
506 | |
147 | 507 /* |
207 | 508 * Set which audio language we should use per default. |
44 | 509 */ |
510 dvdnav_status_t dvdnav_audio_language_select(dvdnav_t *self, | |
511 char *code); | |
512 | |
147 | 513 /* |
207 | 514 * Set which spu language we should use per default. |
44 | 515 */ |
516 dvdnav_status_t dvdnav_spu_language_select(dvdnav_t *self, | |
0 | 517 char *code); |
518 | |
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
|
519 |
147 | 520 /********************************************************************* |
521 * obtaining stream attributes * | |
522 *********************************************************************/ | |
0 | 523 |
147 | 524 /* |
525 * Return a string describing the title of the DVD. | |
526 * This is an ID string encoded on the disc by the author. In many cases | |
527 * this is a descriptive string such as `THE_MATRIX' but sometimes is sigularly | |
528 * uninformative such as `PDVD-011421'. Some DVD authors even forget to set this, | |
529 * so you may also read the default of the authoring software they used, like | |
530 * `DVDVolume'. | |
0 | 531 */ |
147 | 532 dvdnav_status_t dvdnav_get_title_string(dvdnav_t *self, const char **title_str); |
0 | 533 |
147 | 534 /* |
535 * Get video aspect code. | |
536 * The aspect code does only change on VTS boundaries. | |
537 * See the DVDNAV_VTS_CHANGE event. | |
538 * | |
539 * 0 -- 4:3, 2 -- 16:9 | |
0 | 540 */ |
147 | 541 uint8_t dvdnav_get_video_aspect(dvdnav_t *self); |
0 | 542 |
147 | 543 /* |
544 * Get video scaling permissions. | |
545 * The scaling permission does only change on VTS boundaries. | |
546 * See the DVDNAV_VTS_CHANGE event. | |
0 | 547 * |
147 | 548 * bit0 set = deny letterboxing, bit1 set = deny pan&scan |
0 | 549 */ |
147 | 550 uint8_t dvdnav_get_video_scale_permission(dvdnav_t *self); |
0 | 551 |
147 | 552 /* |
553 * Converts a *logical* audio stream id into language code | |
554 * (returns 0xffff if no such stream). | |
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
|
555 */ |
0ba15bf3dc25
Biiiiiiig change to let doxygen generate 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 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
|
557 |
147 | 558 /* |
266 | 559 * Returns the format of *logical* audio stream 'stream' |
560 * (returns 0xffff if no such stream). | |
561 */ | |
271
814e79060099
renamed dvdnav_audio_stream_to_format() as dvdnav_audio_stream_format() as implemeted in dvdnav.c; patch by Andreas Oman (andreas olebyn nu)
nicodvb
parents:
269
diff
changeset
|
562 uint16_t dvdnav_audio_stream_format(dvdnav_t *self, uint8_t stream); |
266 | 563 |
564 /* | |
272
baec6f29fb76
added dvdnav_audio_stream_channels(); patch by Andreas Oman (andreas olebyn nu)
nicodvb
parents:
271
diff
changeset
|
565 * Returns number of channelsn in *logical* audio stream 'stream' |
baec6f29fb76
added dvdnav_audio_stream_channels(); patch by Andreas Oman (andreas olebyn nu)
nicodvb
parents:
271
diff
changeset
|
566 * (returns 0xffff if no such stream). |
baec6f29fb76
added dvdnav_audio_stream_channels(); patch by Andreas Oman (andreas olebyn nu)
nicodvb
parents:
271
diff
changeset
|
567 */ |
baec6f29fb76
added dvdnav_audio_stream_channels(); patch by Andreas Oman (andreas olebyn nu)
nicodvb
parents:
271
diff
changeset
|
568 uint16_t dvdnav_audio_stream_channels(dvdnav_t *self, uint8_t stream); |
baec6f29fb76
added dvdnav_audio_stream_channels(); patch by Andreas Oman (andreas olebyn nu)
nicodvb
parents:
271
diff
changeset
|
569 |
baec6f29fb76
added dvdnav_audio_stream_channels(); patch by Andreas Oman (andreas olebyn nu)
nicodvb
parents:
271
diff
changeset
|
570 /* |
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
|
571 * Converts a *logical* subpicture stream id into country code |
147 | 572 * (returns 0xffff if no such stream). |
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
|
573 */ |
0ba15bf3dc25
Biiiiiiig change to let doxygen generate 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 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
|
575 |
147 | 576 /* |
577 * Converts a *physical* (MPEG) audio stream id into a logical stream number. | |
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
|
578 */ |
0ba15bf3dc25
Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents:
22
diff
changeset
|
579 int8_t dvdnav_get_audio_logical_stream(dvdnav_t *self, uint8_t audio_num); |
0 | 580 |
147 | 581 /* |
582 * Converts a *physical* (MPEG) subpicture stream id into a logical stream number. | |
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 */ |
0ba15bf3dc25
Biiiiiiig change to let doxygen generate 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 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
|
585 |
147 | 586 /* |
114 | 587 * Get active audio stream. |
588 */ | |
589 int8_t dvdnav_get_active_audio_stream(dvdnav_t *self); | |
590 | |
147 | 591 /* |
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
|
592 * 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
|
593 */ |
0ba15bf3dc25
Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents:
22
diff
changeset
|
594 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
|
595 |
262 | 596 /* |
597 * Get the set of user operations that are currently prohibited. | |
598 * There are potentially new restrictions right after | |
599 * DVDNAV_CHANNEL_HOP and DVDNAV_NAV_PACKET. | |
600 */ | |
601 user_ops_t dvdnav_get_restrictions(dvdnav_t *self); | |
147 | 602 |
264 | 603 |
147 | 604 /********************************************************************* |
605 * multiple angles * | |
606 *********************************************************************/ | |
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
|
607 |
147 | 608 /* |
609 * The libdvdnav library abstracts away the difference between seamless and | |
610 * non-seamless angles. From the point of view of the programmer you just set the | |
611 * angle number and all is well in the world. You will always see only the | |
612 * selected angle coming from the get_next_block functions. | |
0 | 613 * |
147 | 614 * Note: |
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
|
615 * 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
|
616 * 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
|
617 * 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
|
618 * 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
|
619 */ |
0ba15bf3dc25
Biiiiiiig change to let doxygen generate 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 |
147 | 621 /* |
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
|
622 * 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
|
623 * the call fails. |
0 | 624 */ |
195 | 625 dvdnav_status_t dvdnav_angle_change(dvdnav_t *self, int32_t angle); |
0 | 626 |
147 | 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 * Returns the current angle and number of angles present. |
0 | 629 */ |
195 | 630 dvdnav_status_t dvdnav_get_angle_info(dvdnav_t *self, int32_t *current_angle, |
631 int32_t *number_of_angles); | |
66
2bd4a78eefce
Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
richwareham
parents:
60
diff
changeset
|
632 |
147 | 633 /********************************************************************* |
634 * domain queries * | |
635 *********************************************************************/ | |
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
|
636 |
147 | 637 /* |
638 * Are we in the First Play domain? | |
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
|
639 */ |
0ba15bf3dc25
Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents:
22
diff
changeset
|
640 int8_t dvdnav_is_domain_fp(dvdnav_t *self); |
114 | 641 |
147 | 642 /* |
643 * Are we in the Video management Menu domain? | |
0 | 644 */ |
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
|
645 int8_t dvdnav_is_domain_vmgm(dvdnav_t *self); |
114 | 646 |
147 | 647 /* |
648 * Are we in the Video Title Menu domain? | |
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
|
649 */ |
0ba15bf3dc25
Biiiiiiig change to let doxygen generate some docs for the library. Note that I'm in no way sure that the autoconf stuff plays nice.
richwareham
parents:
22
diff
changeset
|
650 int8_t dvdnav_is_domain_vtsm(dvdnav_t *self); |
114 | 651 |
147 | 652 /* |
653 * Are we in the Video Title Set domain? | |
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
|
654 */ |
0ba15bf3dc25
Biiiiiiig change to let doxygen generate 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 int8_t dvdnav_is_domain_vts(dvdnav_t *self); |
0 | 656 |
657 | |
5
c1b55dc1bfed
Add API call to get number of programmes in current title.
richwareham
parents:
4
diff
changeset
|
658 #ifdef __cplusplus |
c1b55dc1bfed
Add API call to get number of programmes in current title.
richwareham
parents:
4
diff
changeset
|
659 } |
c1b55dc1bfed
Add API call to get number of programmes in current title.
richwareham
parents:
4
diff
changeset
|
660 #endif |
c1b55dc1bfed
Add API call to get number of programmes in current title.
richwareham
parents:
4
diff
changeset
|
661 |
0 | 662 #endif /* DVDNAV_H_INCLUDED */ |