Mercurial > mplayer.hg
annotate libvo/video_out_internal.h @ 26374:268f87e940ab
Remove useless checks
author | reimar |
---|---|
date | Sat, 12 Apr 2008 15:11:03 +0000 |
parents | 0585db9f5b32 |
children | 2a34d9fa52ab |
rev | line source |
---|---|
1 | 1 /* |
2 * video_out_internal.h | |
3 * | |
4 * Copyright (C) Aaron Holtzman - Aug 1999 | |
5 * | |
6 * This file is part of mpeg2dec, a free MPEG-2 video stream decoder. | |
7 * | |
8 * mpeg2dec 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, or (at your option) | |
11 * any later version. | |
12 * | |
13 * mpeg2dec 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 | |
21977
cea0eb833758
Fix FSF address and otherwise broken license headers.
diego
parents:
16171
diff
changeset
|
19 * along with mpeg2dec; if not, write to the Free Software |
cea0eb833758
Fix FSF address and otherwise broken license headers.
diego
parents:
16171
diff
changeset
|
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1 | 21 */ |
22 | |
26029 | 23 #ifndef MPLAYER_VIDEO_OUT_INTERNAL_H |
24 #define MPLAYER_VIDEO_OUT_INTERNAL_H | |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
21977
diff
changeset
|
25 |
26162
0585db9f5b32
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
26 #include <stdint.h> |
0585db9f5b32
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
27 |
7876 | 28 /* All video drivers will want this */ |
13787
e047e70a9767
Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents:
8148
diff
changeset
|
29 #include "libmpcodecs/vfcap.h" |
e047e70a9767
Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents:
8148
diff
changeset
|
30 #include "libmpcodecs/mp_image.h" |
7876 | 31 #include "geometry.h" |
5566 | 32 |
16171
fd51fd1ff231
Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
ivo
parents:
13787
diff
changeset
|
33 static int control(uint32_t request, void *data, ...); |
fd51fd1ff231
Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
ivo
parents:
13787
diff
changeset
|
34 static int config(uint32_t width, uint32_t height, uint32_t d_width, |
4433 | 35 uint32_t d_height, uint32_t fullscreen, char *title, |
7124
eca7dbad0166
finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
alex
parents:
5607
diff
changeset
|
36 uint32_t format); |
16171
fd51fd1ff231
Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
ivo
parents:
13787
diff
changeset
|
37 static int draw_frame(uint8_t *src[]); |
fd51fd1ff231
Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
ivo
parents:
13787
diff
changeset
|
38 static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y); |
1502 | 39 static void draw_osd(void); |
1 | 40 static void flip_page(void); |
31 | 41 static void check_events(void); |
1 | 42 static void uninit(void); |
16171
fd51fd1ff231
Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
ivo
parents:
13787
diff
changeset
|
43 static int query_format(uint32_t format); |
fd51fd1ff231
Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
ivo
parents:
13787
diff
changeset
|
44 static int preinit(const char *); |
1 | 45 |
46 #define LIBVO_EXTERN(x) vo_functions_t video_out_##x =\ | |
47 {\ | |
8148
5b39e79af5fe
removed get_info, using the same sheme as in libmpcodecs instead
alex
parents:
7876
diff
changeset
|
48 &info,\ |
4352 | 49 preinit,\ |
4433 | 50 config,\ |
4592
5fbfd8545c3b
query_ stuff replaced by new control() - patch by David Holm
arpi
parents:
4433
diff
changeset
|
51 control,\ |
1 | 52 draw_frame,\ |
53 draw_slice,\ | |
1501
d40f2b686846
changes according to -utf8 option, draw_osd() function added
atlka
parents:
616
diff
changeset
|
54 draw_osd,\ |
1 | 55 flip_page,\ |
31 | 56 check_events,\ |
4592
5fbfd8545c3b
query_ stuff replaced by new control() - patch by David Holm
arpi
parents:
4433
diff
changeset
|
57 uninit\ |
1 | 58 }; |
326 | 59 |
616 | 60 #include "osd.h" |
326 | 61 |
26029 | 62 #endif /* MPLAYER_VIDEO_OUT_INTERNAL_H */ |