annotate libvo/video_out_internal.h @ 37174:6c941fe7fc3e

Align backslashes followed by a newline (line continuation). Do so when the statement spans over multiple lines.
author ib
date Sun, 07 Sep 2014 22:22:50 +0000
parents 211cb1950419
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 /*
26739
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
2 * Copyright (C) Aaron Holtzman - Aug 1999
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 *
26739
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
4 * This file is part of MPlayer.
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 *
26739
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
6 * MPlayer is free software; you can redistribute it and/or modify
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
7 * it under the terms of the GNU General Public License as published by
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
8 * the Free Software Foundation; either version 2 of the License, or
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
9 * (at your option) any later version.
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
10 *
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
11 * MPlayer is distributed in the hope that it will be useful,
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
14 * GNU General Public License for more details.
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
15 *
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
16 * You should have received a copy of the GNU General Public License along
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
17 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
2a34d9fa52ab Use standard license headers with standard formatting.
diego
parents: 26162
diff changeset
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
21 #ifndef MPLAYER_VIDEO_OUT_INTERNAL_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
22 #define MPLAYER_VIDEO_OUT_INTERNAL_H
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 21977
diff changeset
23
26162
0585db9f5b32 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
24 #include <stdint.h>
0585db9f5b32 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
25
7876
arpi
parents: 7124
diff changeset
26 /* All video drivers will want this */
13787
e047e70a9767 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents: 8148
diff changeset
27 #include "libmpcodecs/vfcap.h"
e047e70a9767 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents: 8148
diff changeset
28 #include "libmpcodecs/mp_image.h"
7876
arpi
parents: 7124
diff changeset
29 #include "geometry.h"
5566
e01c664def74 VFCAP added
arpi
parents: 4592
diff changeset
30
33305
ddb45e9443ec Remove the variable arguments from the libvo control() functions.
iive
parents: 32469
diff changeset
31 static int control(uint32_t request, void *data);
16171
fd51fd1ff231 Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
ivo
parents: 13787
diff changeset
32 static int config(uint32_t width, uint32_t height, uint32_t d_width,
4433
df8e0f71cc3c new info for tuning
nick
parents: 4352
diff changeset
33 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
34 uint32_t format);
36495
211cb1950419 vo_bl: Switch to modern VOCTRL_DRAW_IMAGE API.
reimar
parents: 33305
diff changeset
35 #ifdef NO_DRAW_FRAME
211cb1950419 vo_bl: Switch to modern VOCTRL_DRAW_IMAGE API.
reimar
parents: 33305
diff changeset
36 #define draw_frame NULL
211cb1950419 vo_bl: Switch to modern VOCTRL_DRAW_IMAGE API.
reimar
parents: 33305
diff changeset
37 #else
16171
fd51fd1ff231 Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
ivo
parents: 13787
diff changeset
38 static int draw_frame(uint8_t *src[]);
36495
211cb1950419 vo_bl: Switch to modern VOCTRL_DRAW_IMAGE API.
reimar
parents: 33305
diff changeset
39 #endif
211cb1950419 vo_bl: Switch to modern VOCTRL_DRAW_IMAGE API.
reimar
parents: 33305
diff changeset
40 #ifdef NO_DRAW_SLICE
211cb1950419 vo_bl: Switch to modern VOCTRL_DRAW_IMAGE API.
reimar
parents: 33305
diff changeset
41 #define draw_slice NULL
211cb1950419 vo_bl: Switch to modern VOCTRL_DRAW_IMAGE API.
reimar
parents: 33305
diff changeset
42 #else
16171
fd51fd1ff231 Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
ivo
parents: 13787
diff changeset
43 static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y);
36495
211cb1950419 vo_bl: Switch to modern VOCTRL_DRAW_IMAGE API.
reimar
parents: 33305
diff changeset
44 #endif
1502
ccb1f3ddb29a atlka@pg.gda.pl:
atlka
parents: 1501
diff changeset
45 static void draw_osd(void);
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 static void flip_page(void);
31
1fc618eba830 added check_events() interface
arpi_esp
parents: 1
diff changeset
47 static void check_events(void);
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 static void uninit(void);
16171
fd51fd1ff231 Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
ivo
parents: 13787
diff changeset
49 static int query_format(uint32_t format);
fd51fd1ff231 Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
ivo
parents: 13787
diff changeset
50 static int preinit(const char *);
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 #define LIBVO_EXTERN(x) vo_functions_t video_out_##x =\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53 {\
8148
5b39e79af5fe removed get_info, using the same sheme as in libmpcodecs instead
alex
parents: 7876
diff changeset
54 &info,\
4352
ed5b85b713a3 Extensions for video accelerated architecture
nick
parents: 1502
diff changeset
55 preinit,\
4433
df8e0f71cc3c new info for tuning
nick
parents: 4352
diff changeset
56 config,\
4592
5fbfd8545c3b query_ stuff replaced by new control() - patch by David Holm
arpi
parents: 4433
diff changeset
57 control,\
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58 draw_frame,\
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59 draw_slice,\
1501
d40f2b686846 changes according to -utf8 option, draw_osd() function added
atlka
parents: 616
diff changeset
60 draw_osd,\
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
61 flip_page,\
31
1fc618eba830 added check_events() interface
arpi_esp
parents: 1
diff changeset
62 check_events,\
4592
5fbfd8545c3b query_ stuff replaced by new control() - patch by David Holm
arpi
parents: 4433
diff changeset
63 uninit\
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
64 };
326
f6b5c2dbc88e OSD alpha renderers moved to osd.c
arpi_esp
parents: 31
diff changeset
65
32469
3fef2e17a03f Move osd.[ch] and osd_template.c from libvo to sub.
cigaes
parents: 26739
diff changeset
66 #include "sub/osd.h"
326
f6b5c2dbc88e OSD alpha renderers moved to osd.c
arpi_esp
parents: 31
diff changeset
67
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
68 #endif /* MPLAYER_VIDEO_OUT_INTERNAL_H */