annotate libvo/video_out_internal.h @ 8092:f880c1de0e9b

Made new overlay functions static so they won't interfere with the rest of MPlayer
author mswitch
date Sun, 03 Nov 2002 20:59:04 +0000
parents af8233ef7161
children 5b39e79af5fe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 /*
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 * video_out_internal.h
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 *
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 * Copyright (C) Aaron Holtzman - Aug 1999
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 *
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 * This file is part of mpeg2dec, a free MPEG-2 video stream decoder.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 *
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 * mpeg2dec is free software; you can redistribute it and/or modify
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 * the Free Software Foundation; either version 2, or (at your option)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 * any later version.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 *
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 * mpeg2dec is distributed in the hope that it will be useful,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 * GNU General Public License for more details.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 *
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 * along with GNU Make; see the file COPYING. If not, write to
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 *
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23
7876
arpi
parents: 7124
diff changeset
24 /* All video drivers will want this */
5566
e01c664def74 VFCAP added
arpi
parents: 4592
diff changeset
25 #include "../libmpcodecs/vfcap.h"
5607
1972c3475d93 mp_image.h and img_format.h moved to libmpcodecs
arpi
parents: 5566
diff changeset
26 #include "../libmpcodecs/mp_image.h"
7876
arpi
parents: 7124
diff changeset
27 #include "geometry.h"
5566
e01c664def74 VFCAP added
arpi
parents: 4592
diff changeset
28
4592
5fbfd8545c3b query_ stuff replaced by new control() - patch by David Holm
arpi
parents: 4433
diff changeset
29 static uint32_t control(uint32_t request, void *data, ...);
4433
df8e0f71cc3c new info for tuning
nick
parents: 4352
diff changeset
30 static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
df8e0f71cc3c new info for tuning
nick
parents: 4352
diff changeset
31 uint32_t d_height, uint32_t fullscreen, char *title,
7124
eca7dbad0166 finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
alex
parents: 5607
diff changeset
32 uint32_t format);
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 static const vo_info_t* get_info(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 static uint32_t draw_frame(uint8_t *src[]);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 static uint32_t draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y);
1502
ccb1f3ddb29a atlka@pg.gda.pl:
atlka
parents: 1501
diff changeset
36 static void draw_osd(void);
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 static void flip_page(void);
31
1fc618eba830 added check_events() interface
arpi_esp
parents: 1
diff changeset
38 static void check_events(void);
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 static void uninit(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 static uint32_t query_format(uint32_t format);
4352
ed5b85b713a3 Extensions for video accelerated architecture
nick
parents: 1502
diff changeset
41 static uint32_t preinit(const char *);
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 #define LIBVO_EXTERN(x) vo_functions_t video_out_##x =\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 {\
4352
ed5b85b713a3 Extensions for video accelerated architecture
nick
parents: 1502
diff changeset
45 preinit,\
4433
df8e0f71cc3c new info for tuning
nick
parents: 4352
diff changeset
46 config,\
4592
5fbfd8545c3b query_ stuff replaced by new control() - patch by David Holm
arpi
parents: 4433
diff changeset
47 control,\
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 get_info,\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 draw_frame,\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 draw_slice,\
1501
d40f2b686846 changes according to -utf8 option, draw_osd() function added
atlka
parents: 616
diff changeset
51 draw_osd,\
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 flip_page,\
31
1fc618eba830 added check_events() interface
arpi_esp
parents: 1
diff changeset
53 check_events,\
4592
5fbfd8545c3b query_ stuff replaced by new control() - patch by David Holm
arpi
parents: 4433
diff changeset
54 uninit\
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55 };
326
f6b5c2dbc88e OSD alpha renderers moved to osd.c
arpi_esp
parents: 31
diff changeset
56
616
41d6eec69b60 clean up
pontscho
parents: 326
diff changeset
57 #include "osd.h"
326
f6b5c2dbc88e OSD alpha renderers moved to osd.c
arpi_esp
parents: 31
diff changeset
58
f6b5c2dbc88e OSD alpha renderers moved to osd.c
arpi_esp
parents: 31
diff changeset
59
f6b5c2dbc88e OSD alpha renderers moved to osd.c
arpi_esp
parents: 31
diff changeset
60