Mercurial > mplayer.hg
annotate libvo/video_out_internal.h @ 18961:9f1bbc70c773
Support for 16 bit ppms
author | reimar |
---|---|
date | Sat, 08 Jul 2006 19:23:26 +0000 |
parents | fd51fd1ff231 |
children | cea0eb833758 |
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 | |
19 * along with GNU Make; see the file COPYING. If not, write to | |
20 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
21 * | |
22 */ | |
23 | |
7876 | 24 /* 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
|
25 #include "libmpcodecs/vfcap.h" |
e047e70a9767
Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents:
8148
diff
changeset
|
26 #include "libmpcodecs/mp_image.h" |
7876 | 27 #include "geometry.h" |
5566 | 28 |
16171
fd51fd1ff231
Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
ivo
parents:
13787
diff
changeset
|
29 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
|
30 static int config(uint32_t width, uint32_t height, uint32_t d_width, |
4433 | 31 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
|
32 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
|
33 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
|
34 static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y); |
1502 | 35 static void draw_osd(void); |
1 | 36 static void flip_page(void); |
31 | 37 static void check_events(void); |
1 | 38 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
|
39 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
|
40 static int preinit(const char *); |
1 | 41 |
42 #define LIBVO_EXTERN(x) vo_functions_t video_out_##x =\ | |
43 {\ | |
8148
5b39e79af5fe
removed get_info, using the same sheme as in libmpcodecs instead
alex
parents:
7876
diff
changeset
|
44 &info,\ |
4352 | 45 preinit,\ |
4433 | 46 config,\ |
4592
5fbfd8545c3b
query_ stuff replaced by new control() - patch by David Holm
arpi
parents:
4433
diff
changeset
|
47 control,\ |
1 | 48 draw_frame,\ |
49 draw_slice,\ | |
1501
d40f2b686846
changes according to -utf8 option, draw_osd() function added
atlka
parents:
616
diff
changeset
|
50 draw_osd,\ |
1 | 51 flip_page,\ |
31 | 52 check_events,\ |
4592
5fbfd8545c3b
query_ stuff replaced by new control() - patch by David Holm
arpi
parents:
4433
diff
changeset
|
53 uninit\ |
1 | 54 }; |
326 | 55 |
616 | 56 #include "osd.h" |
326 | 57 |
58 | |
59 |