Mercurial > mplayer.hg
annotate libvo/video_out_internal.h @ 4321:63fb32311b3b
Fixing compilation on non-MMX but x86 systems
author | nick |
---|---|
date | Wed, 23 Jan 2002 17:09:58 +0000 |
parents | ccb1f3ddb29a |
children | ed5b85b713a3 |
rev | line source |
---|---|
1 | 1 /* |
2 * video_out_internal.h | |
3 * | |
4 * Copyright (C) Aaron Holtzman - Aug 1999 | |
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 static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format); | |
25 static const vo_info_t* get_info(void); | |
26 static uint32_t draw_frame(uint8_t *src[]); | |
27 static uint32_t draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y); | |
1502 | 28 static void draw_osd(void); |
1 | 29 static void flip_page(void); |
31 | 30 static void check_events(void); |
1 | 31 static void uninit(void); |
32 static uint32_t query_format(uint32_t format); | |
33 | |
34 #define LIBVO_EXTERN(x) vo_functions_t video_out_##x =\ | |
35 {\ | |
36 init,\ | |
37 query_format,\ | |
38 get_info,\ | |
39 draw_frame,\ | |
40 draw_slice,\ | |
1501
d40f2b686846
changes according to -utf8 option, draw_osd() function added
atlka
parents:
616
diff
changeset
|
41 draw_osd,\ |
1 | 42 flip_page,\ |
31 | 43 check_events,\ |
1 | 44 uninit,\ |
45 }; | |
326 | 46 |
616 | 47 #include "osd.h" |
326 | 48 |
49 | |
50 |