annotate libmpdvdkit2/nav_read.h @ 17825:2a20b0884be8

better max for frame code values, still allowing compact implementation
author ods15
date Sun, 12 Mar 2006 13:30:45 +0000
parents 483e955893b8
children 0783dd397f74
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.
25df9508f9a8 Mark modified files as such to comply more closely with GPL ¡ø2a.
diego
parents: 7033
diff changeset
8 * detailed CVS changelog at http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
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 */