4 * Copyright (C) Aaron Holtzman - June 2000
6 * This file is part of mpeg2dec, a free MPEG-2 video stream decoder.
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)
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.
29 #include "video_out.h"
30 #include "video_out_internal.h"
32 static vo_info_t info
=
36 "Aaron Holtzman <aholtzma@ess.engr.uvic.ca>",
42 static uint32_t image_width
, image_height
;
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)
51 static void draw_osd(void)
61 draw_frame(uint8_t *src
[])
67 query_format(uint32_t format
)
73 config(uint32_t width
, uint32_t height
, uint32_t d_width
, uint32_t d_height
, uint32_t fullscreen
, char *title
, uint32_t format
)
76 image_height
= height
;
86 static void check_events(void)
90 static uint32_t preinit(const char *arg
)
94 printf("vo_null: Unknown subdevice: %s\n",arg
);
100 static uint32_t control(uint32_t request
, void *data
, ...)
103 case VOCTRL_QUERY_FORMAT
:
104 return query_format(*((uint32_t*)data
));