Mercurial > mplayer.hg
annotate libvo/vo_null.c @ 4572:67d10f13a930
Configurable OSD zones
author | nick |
---|---|
date | Thu, 07 Feb 2002 19:37:09 +0000 |
parents | df8e0f71cc3c |
children | 5fbfd8545c3b |
rev | line source |
---|---|
1 | 1 /* |
2 * video_out_null.c | |
3 * | |
4 * Copyright (C) Aaron Holtzman - June 2000 | |
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 | |
24 #include "config.h" | |
25 #include "video_out.h" | |
26 #include "video_out_internal.h" | |
27 | |
28 LIBVO_EXTERN(null) | |
29 | |
30 | |
31 static vo_info_t vo_info = | |
32 { | |
33 "Null video output", | |
34 "null", | |
35 "Aaron Holtzman <aholtzma@ess.engr.uvic.ca>", | |
36 "" | |
37 }; | |
38 | |
39 static uint32_t image_width, image_height; | |
40 | |
41 //static uint32_t | |
42 static uint32_t draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | |
43 //draw_slice(uint8_t *src[], uint32_t slice_num) | |
44 { | |
45 return 0; | |
46 } | |
47 | |
1501
d40f2b686846
changes according to -utf8 option, draw_osd() function added
atlka
parents:
31
diff
changeset
|
48 static void draw_osd(void) |
d40f2b686846
changes according to -utf8 option, draw_osd() function added
atlka
parents:
31
diff
changeset
|
49 { |
d40f2b686846
changes according to -utf8 option, draw_osd() function added
atlka
parents:
31
diff
changeset
|
50 } |
d40f2b686846
changes according to -utf8 option, draw_osd() function added
atlka
parents:
31
diff
changeset
|
51 |
1 | 52 static void |
53 flip_page(void) | |
54 { | |
55 } | |
56 | |
57 static uint32_t | |
58 draw_frame(uint8_t *src[]) | |
59 { | |
60 return 0; | |
61 } | |
62 | |
63 static uint32_t | |
64 query_format(uint32_t format) | |
65 { | |
66 return 1; | |
67 } | |
68 | |
69 static uint32_t | |
4433 | 70 config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format,const vo_tune_info_t *info) |
1 | 71 { |
72 image_width = width; | |
73 image_height = height; | |
74 return 0; | |
75 } | |
76 | |
77 static const vo_info_t* | |
78 get_info(void) | |
79 { | |
80 return &vo_info; | |
81 } | |
82 | |
83 static void | |
84 uninit(void) | |
85 { | |
86 } | |
87 | |
88 | |
31 | 89 static void check_events(void) |
90 { | |
91 } | |
1 | 92 |
4352 | 93 static uint32_t preinit(const char *arg) |
94 { | |
95 return 0; | |
96 } | |
31 | 97 |
4352 | 98 static void query_vaa(vo_vaa_t *vaa) |
99 { | |
100 memset(vaa,0,sizeof(vo_vaa_t)); | |
101 } |