Document lmin and lmax lavcopts; mpeg vrc_buf_size values
[mplayer/greg.git] / libvo / vo_null.c
blob97fa750fe7dda5a9bd7bf2c34a1bef50088d6284
1 /*
2 * video_out_null.c
4 * Copyright (C) Aaron Holtzman - June 2000
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.
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.
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.
24 #include <stdio.h>
25 #include <stdlib.h>
26 #include <string.h>
27 #include <errno.h>
28 #include "config.h"
29 #include "video_out.h"
30 #include "video_out_internal.h"
32 static vo_info_t info =
34 "Null video output",
35 "null",
36 "Aaron Holtzman <aholtzma@ess.engr.uvic.ca>",
40 LIBVO_EXTERN(null)
42 static uint32_t image_width, image_height;
44 //static uint32_t
45 static uint32_t draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y)
46 //draw_slice(uint8_t *src[], uint32_t slice_num)
48 return 0;
51 static void draw_osd(void)
55 static void
56 flip_page(void)
60 static uint32_t
61 draw_frame(uint8_t *src[])
63 return 0;
66 static uint32_t
67 query_format(uint32_t format)
69 return 1;
72 static uint32_t
73 config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format)
75 image_width = width;
76 image_height = height;
77 return 0;
80 static void
81 uninit(void)
86 static void check_events(void)
90 static uint32_t preinit(const char *arg)
92 if(arg)
94 printf("vo_null: Unknown subdevice: %s\n",arg);
95 return ENOSYS;
97 return 0;
100 static uint32_t control(uint32_t request, void *data, ...)
102 switch (request) {
103 case VOCTRL_QUERY_FORMAT:
104 return query_format(*((uint32_t*)data));
106 return VO_NOTIMPL;