typo fixes
[mplayer/greg.git] / libvo / video_out_internal.h
blobc01467ba172d4adcb9254e6a8e3928b5eafda3b3
1 /*
2 * video_out_internal.h
4 * Copyright (C) Aaron Holtzman - Aug 1999
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 /* All video drivers will want this */
25 #include "libmpcodecs/vfcap.h"
26 #include "libmpcodecs/mp_image.h"
27 #include "geometry.h"
29 static int control(uint32_t request, void *data, ...);
30 static int config(uint32_t width, uint32_t height, uint32_t d_width,
31 uint32_t d_height, uint32_t fullscreen, char *title,
32 uint32_t format);
33 static int draw_frame(uint8_t *src[]);
34 static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y);
35 static void draw_osd(void);
36 static void flip_page(void);
37 static void check_events(void);
38 static void uninit(void);
39 static int query_format(uint32_t format);
40 static int preinit(const char *);
42 #define LIBVO_EXTERN(x) vo_functions_t video_out_##x =\
44 &info,\
45 preinit,\
46 config,\
47 control,\
48 draw_frame,\
49 draw_slice,\
50 draw_osd,\
51 flip_page,\
52 check_events,\
53 uninit\
56 #include "osd.h"