annotate libmpdvdkit2/nav_read.h @ 19440:9847a1bd66a0

support for seeking to chapter and getting current playing chapter
author nicodvb
date Fri, 18 Aug 2006 19:05:37 +0000
parents 0783dd397f74
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
1 #ifndef NAV_READ_H_INCLUDED
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
2 #define NAV_READ_H_INCLUDED
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
3
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
4 /*
15874
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
5 * Copyright (C) 2000, 2001, 2002 Håkan Hjort <d95hjort@dtek.chalmers.se>.
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
6 *
14938
25df9508f9a8 Mark modified files as such to comply more closely with GPL ¡ø2a.
diego
parents: 7033
diff changeset
7 * Modified for use with MPlayer, changes contained in libdvdread_changes.diff.
18783
0783dd397f74 CVS --> Subversion in copyright notices
diego
parents: 15874
diff changeset
8 * detailed changelog at http://svn.mplayerhq.hu/mplayer/trunk/
14938
25df9508f9a8 Mark modified files as such to comply more closely with GPL ¡ø2a.
diego
parents: 7033
diff changeset
9 * $Id$
25df9508f9a8 Mark modified files as such to comply more closely with GPL ¡ø2a.
diego
parents: 7033
diff changeset
10 *
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
11 * This program is free software; you can redistribute it and/or modify
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
12 * it under the terms of the GNU General Public License as published by
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
13 * the Free Software Foundation; either version 2 of the License, or
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
14 * (at your option) any later version.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
15 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
16 * This program is distributed in the hope that it will be useful,
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
19 * GNU General Public License for more details.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
20 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
21 * You should have received a copy of the GNU General Public License
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
22 * along with this program; if not, write to the Free Software
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
24 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
25
7033
596919e4f601 apply mplayer-specific patches
arpi
parents: 7029
diff changeset
26 #include "nav_types.h"
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
27
15874
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
28 /**
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
29 * Parsing of NAV data, PCI and DSI parts.
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
30 */
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
31
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
32 #ifdef __cplusplus
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
33 extern "C" {
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
34 #endif
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
35
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
36 /**
15874
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
37 * Reads the PCI packet data pointed to into th pci struct.
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
38 *
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
39 * @param pci Pointer to the PCI data structure to be filled in.
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
40 * @param bufffer Pointer to the buffer of the on disc PCI data.
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
41 */
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
42 void navRead_PCI(pci_t *, unsigned char *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
43
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
44 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
45 * Reads the DSI packet data pointed to into dsi struct.
15874
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
46 *
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
47 * @param dsi Pointer to the DSI data structure to be filled in.
483e955893b8 update libdvdread to v0.9.4
aurel
parents: 14938
diff changeset
48 * @param bufffer Pointer to the buffer of the on disc DSI data.
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
49 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
50 void navRead_DSI(dsi_t *, unsigned char *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
51
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
52 #ifdef __cplusplus
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
53 };
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
54 #endif
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
55 #endif /* NAV_READ_H_INCLUDED */