Mercurial > mplayer.hg
comparison libvo/vo_null.c @ 1:3b5f5d1c5041
Initial revision
author | arpi_esp |
---|---|
date | Sat, 24 Feb 2001 20:28:24 +0000 |
parents | |
children | 1fc618eba830 |
comparison
equal
deleted
inserted
replaced
0:c1bb2c071d63 | 1:3b5f5d1c5041 |
---|---|
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 | |
48 static void | |
49 flip_page(void) | |
50 { | |
51 } | |
52 | |
53 static uint32_t | |
54 draw_frame(uint8_t *src[]) | |
55 { | |
56 return 0; | |
57 } | |
58 | |
59 static uint32_t | |
60 query_format(uint32_t format) | |
61 { | |
62 return 1; | |
63 } | |
64 | |
65 static uint32_t | |
66 init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format) | |
67 { | |
68 image_width = width; | |
69 image_height = height; | |
70 return 0; | |
71 } | |
72 | |
73 static const vo_info_t* | |
74 get_info(void) | |
75 { | |
76 return &vo_info; | |
77 } | |
78 | |
79 static void | |
80 uninit(void) | |
81 { | |
82 } | |
83 | |
84 | |
85 |