annotate libmpdvdkit2/ifo_read.h @ 15724:35d05a4d14fd

sync to x264 rev263 (RDO)
author lorenm
date Wed, 15 Jun 2005 02:28:06 +0000
parents 25df9508f9a8
children 483e955893b8
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 IFO_READ_H_INCLUDED
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
2 #define IFO_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 /*
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
5 * Copyright (C) 2000, 2001, 2002 Björn Englund <d4bjorn@dtek.chalmers.se>,
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
6 * Håkan Hjort <d95hjort@dtek.chalmers.se>
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
7 *
14938
25df9508f9a8 Mark modified files as such to comply more closely with GPL ¡ø2a.
diego
parents: 7033
diff changeset
8 * 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
9 * 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
10 * $Id$
25df9508f9a8 Mark modified files as such to comply more closely with GPL ¡ø2a.
diego
parents: 7033
diff changeset
11 *
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
12 * This program is free software; you can redistribute it and/or modify
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
13 * it under the terms of the GNU General Public License as published by
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
14 * the Free Software Foundation; either version 2 of the License, or
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
15 * (at your option) any later version.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
16 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
17 * This program is distributed in the hope that it will be useful,
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
20 * GNU General Public License for more details.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
21 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
22 * You should have received a copy of the GNU General Public License
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
23 * along with this program; if not, write to the Free Software
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
25 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
26
7033
596919e4f601 apply mplayer-specific patches
arpi
parents: 7029
diff changeset
27 #include "ifo_types.h"
596919e4f601 apply mplayer-specific patches
arpi
parents: 7029
diff changeset
28 #include "dvd_reader.h"
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
29
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
30 #ifdef __cplusplus
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
31 extern "C" {
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
32 #endif
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
33
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
34 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
35 * handle = ifoOpen(dvd, title);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
36 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
37 * Opens an IFO and reads in all the data for the IFO file corresponding to the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
38 * given title. If title 0 is given, the video manager IFO file is read.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
39 * Returns a handle to a completely parsed structure.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
40 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
41 ifo_handle_t *ifoOpen(dvd_reader_t *, int );
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
42
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
43 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
44 * handle = ifoOpenVMGI(dvd);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
45 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
46 * Opens an IFO and reads in _only_ the vmgi_mat data. This call can be used
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
47 * together with the calls below to read in each segment of the IFO file on
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
48 * demand.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
49 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
50 ifo_handle_t *ifoOpenVMGI(dvd_reader_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
51
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
52 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
53 * handle = ifoOpenVTSI(dvd, title);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
54 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
55 * Opens an IFO and reads in _only_ the vtsi_mat data. This call can be used
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
56 * together with the calls below to read in each segment of the IFO file on
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
57 * demand.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
58 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
59 ifo_handle_t *ifoOpenVTSI(dvd_reader_t *, int);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
60
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
61 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
62 * ifoClose(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
63 * Cleans up the IFO information. This will free all data allocated for the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
64 * substructures.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
65 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
66 void ifoClose(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
67
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
68 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
69 * The following functions are for reading only part of the VMGI/VTSI files.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
70 * Returns 1 if the data was successfully read and 0 on error.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
71 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
72
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
73 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
74 * okay = ifoRead_PLT_MAIT(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
75 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
76 * Read in the Parental Management Information table, filling the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
77 * ifofile->ptl_mait structure and its substructures. This data is only
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
78 * located in the video manager information file. This fills the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
79 * ifofile->ptl_mait structure and all its substructures.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
80 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
81 int ifoRead_PTL_MAIT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
82
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
83 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
84 * okay = ifoRead_VTS_ATRT(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
85 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
86 * Read in the attribute table for the main menu vob, filling the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
87 * ifofile->vts_atrt structure and its substructures. Only located in the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
88 * video manager information file. This fills in the ifofile->vts_atrt
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
89 * structure and all its substructures.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
90 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
91 int ifoRead_VTS_ATRT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
92
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
93 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
94 * okay = ifoRead_TT_SRPT(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
95 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
96 * Reads the title info for the main menu, filling the ifofile->tt_srpt
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
97 * structure and its substructures. This data is only located in the video
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
98 * manager information file. This structure is mandatory in the IFO file.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
99 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
100 int ifoRead_TT_SRPT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
101
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
102 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
103 * okay = ifoRead_VTS_PTT_SRPT(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
104 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
105 * Reads in the part of title search pointer table, filling the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
106 * ifofile->vts_ptt_srpt structure and its substructures. This data is only
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
107 * located in the video title set information file. This structure is
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
108 * mandatory, and must be included in the VTSI file.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
109 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
110 int ifoRead_VTS_PTT_SRPT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
111
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
112 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
113 * okay = ifoRead_FP_PGC(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
114 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
115 * Reads in the first play program chain data, filling the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
116 * ifofile->first_play_pgc structure. This data is only located in the video
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
117 * manager information file. This structure is mandatory, and must be included
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
118 * in the VMGI file. **Possibly this is only optional.**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
119 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
120 int ifoRead_FP_PGC(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
121
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
122 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
123 * okay = ifoRead_PGCIT(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
124 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
125 * Reads in the program chain information table for the video title set. Fills
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
126 * in the ifofile->vts_pgcit structure and its substructures, which includes
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
127 * the data for each program chain in the set. This data is only located in
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
128 * the video title set information file. This structure is mandatory, and must
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
129 * be included in the VTSI file.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
130 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
131 int ifoRead_PGCIT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
132
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
133 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
134 * okay = ifoRead_PGCI_UT(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
135 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
136 * Reads in the menu PGCI unit table for the menu VOB. For the video manager,
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
137 * this corresponds to the VIDEO_TS.VOB file, and for each title set, this
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
138 * corresponds to the VTS_XX_0.VOB file. This data is located in both the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
139 * video manager and video title set information files. For VMGI files, this
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
140 * fills the ifofile->vmgi_pgci_ut structure and all its substructures. For
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
141 * VTSI files, this fills the ifofile->vtsm_pgci_ut structure.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
142 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
143 int ifoRead_PGCI_UT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
144
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
145 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
146 * okay = ifoRead_C_ADT(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
147 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
148 * Reads in the cell address table for the menu VOB. For the video manager,
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
149 * this corresponds to the VIDEO_TS.VOB file, and for each title set, this
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
150 * corresponds to the VTS_XX_0.VOB file. This data is located in both the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
151 * video manager and video title set information files. For VMGI files, this
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
152 * fills the ifofile->vmgm_c_adt structure and all its substructures. For VTSI
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
153 * files, this fills the ifofile->vtsm_c_adt structure.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
154 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
155 int ifoRead_C_ADT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
156
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
157 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
158 * okay = ifoRead_TITLE_C_ADT(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
159 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
160 * Reads in the cell address table for the video title set corresponding to
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
161 * this IFO file. This data is only located in the video title set information
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
162 * file. This structure is mandatory, and must be included in the VTSI file.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
163 * This call fills the ifofile->vts_c_adt structure and its substructures.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
164 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
165 int ifoRead_TITLE_C_ADT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
166
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
167 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
168 * okay = ifoRead_VOBU_ADMAP(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
169 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
170 * Reads in the VOBU address map for the menu VOB. For the video manager, this
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
171 * corresponds to the VIDEO_TS.VOB file, and for each title set, this
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
172 * corresponds to the VTS_XX_0.VOB file. This data is located in both the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
173 * video manager and video title set information files. For VMGI files, this
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
174 * fills the ifofile->vmgm_vobu_admap structure and all its substructures. For
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
175 * VTSI files, this fills the ifofile->vtsm_vobu_admap structure.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
176 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
177 int ifoRead_VOBU_ADMAP(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
178
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
179 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
180 * okay = ifoRead_TITLE_VOBU_ADMAP(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
181 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
182 * Reads in the VOBU address map for the associated video title set. This data
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
183 * is only located in the video title set information file. This structure is
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
184 * mandatory, and must be included in the VTSI file. Fills the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
185 * ifofile->vts_vobu_admap structure and its substructures.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
186 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
187 int ifoRead_TITLE_VOBU_ADMAP(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
188
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
189 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
190 * okay = ifoRead_TXTDT_MGI(ifofile);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
191 *
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
192 * Reads in the text data strings for the DVD. Fills the ifofile->txtdt_mgi
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
193 * structure and all its substructures. This data is only located in the video
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
194 * manager information file. This structure is mandatory, and must be included
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
195 * in the VMGI file.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
196 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
197 int ifoRead_TXTDT_MGI(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
198
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
199 /**
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
200 * The following functions are used for freeing parsed sections of the
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
201 * ifo_handle_t structure and the allocated substructures. The free calls
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
202 * below are safe: they will not mind if you attempt to free part of an IFO
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
203 * file which was not read in or which does not exist.
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
204 */
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
205 void ifoFree_PTL_MAIT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
206 void ifoFree_VTS_ATRT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
207 void ifoFree_TT_SRPT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
208 void ifoFree_VTS_PTT_SRPT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
209 void ifoFree_FP_PGC(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
210 void ifoFree_PGCIT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
211 void ifoFree_PGCI_UT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
212 void ifoFree_C_ADT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
213 void ifoFree_TITLE_C_ADT(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
214 void ifoFree_VOBU_ADMAP(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
215 void ifoFree_TITLE_VOBU_ADMAP(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
216 void ifoFree_TXTDT_MGI(ifo_handle_t *);
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
217
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
218 #ifdef __cplusplus
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
219 };
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
220 #endif
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
221 #endif /* IFO_READ_H_INCLUDED */