Mercurial > mplayer.hg
annotate libmpdvdkit2/dvd_input.h @ 14610:9e81b41838e6
Print CPUflags and extension support on x86_64, too
author | reimar |
---|---|
date | Sat, 29 Jan 2005 21:26:20 +0000 |
parents | 7a80c6ac5058 |
children | 25df9508f9a8 |
rev | line source |
---|---|
7029 | 1 #ifndef DVD_INPUT_H_INCLUDED |
2 #define DVD_INPUT_H_INCLUDED | |
3 | |
4 /* | |
5 * Copyright (C) 2001, 2002 Samuel Hocevar <sam@zoy.org>, | |
6 * Håkan Hjort <d95hjort@dtek.chalmers.se> | |
7 * | |
8 * This program is free software; you can redistribute it and/or modify | |
9 * it under the terms of the GNU General Public License as published by | |
10 * the Free Software Foundation; either version 2 of the License, or | |
11 * (at your option) any later version. | |
12 * | |
13 * This program is distributed in the hope that it will be useful, | |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 * GNU General Public License for more details. | |
17 * | |
18 * You should have received a copy of the GNU General Public License | |
19 * along with this program; if not, write to the Free Software | |
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. | |
21 */ | |
22 | |
23 /** | |
24 * Defines and flags. Make sure they fit the libdvdcss API! | |
25 */ | |
26 #define DVDINPUT_NOFLAGS 0 | |
27 | |
28 #define DVDINPUT_READ_DECRYPT (1 << 0) | |
29 | |
30 #define DVDINPUT_SEEK_MPEG (1 << 0) | |
31 #define DVDINPUT_SEEK_KEY (1 << 1) | |
32 | |
33 | |
34 typedef struct dvd_input_s *dvd_input_t; | |
35 | |
36 /** | |
37 * Pointers which will be filled either the input meathods functions. | |
38 */ | |
14607
7a80c6ac5058
several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x
iive
parents:
7029
diff
changeset
|
39 extern dvd_input_t (*DVDinput_open) (const char *); |
7a80c6ac5058
several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x
iive
parents:
7029
diff
changeset
|
40 extern int (*DVDinput_close) (dvd_input_t); |
7a80c6ac5058
several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x
iive
parents:
7029
diff
changeset
|
41 extern int (*DVDinput_seek) (dvd_input_t, int, int); |
7a80c6ac5058
several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x
iive
parents:
7029
diff
changeset
|
42 extern int (*DVDinput_title) (dvd_input_t, int); |
7a80c6ac5058
several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x
iive
parents:
7029
diff
changeset
|
43 extern int (*DVDinput_read) (dvd_input_t, void *, int, int); |
7a80c6ac5058
several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x
iive
parents:
7029
diff
changeset
|
44 extern char * (*DVDinput_error) (dvd_input_t); |
7029 | 45 |
46 /** | |
47 * Setup function accessed by dvd_reader.c. Returns 1 if there is CSS support. | |
48 */ | |
49 int DVDInputSetup(void); | |
50 | |
51 #endif /* DVD_INPUT_H_INCLUDED */ |