annotate libvo/vosub_vidix.h @ 33724:c919fb3d2531

Rename guiGetEvent() gui(). This function is the interface between MPlayer and the GUI. It doesn't have much to do with events and doesn't merely get things.
author ib
date Tue, 05 Jul 2011 09:33:09 +0000
parents ddb45e9443ec
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
1 /*
27509
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
2 * vosub_vidix interface to any mplayer vo driver
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
3 *
27509
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
4 * copyright (C) 2002 Nick Kurshev <nickols_k@mail.ru>
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
5 *
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
6 * This file is part of MPlayer.
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
7 *
27509
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
8 * MPlayer is free software; you can redistribute it and/or modify
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
9 * it under the terms of the GNU General Public License as published by
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
11 * (at your option) any later version.
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
12 *
27509
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
13 * MPlayer is distributed in the hope that it will be useful,
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
16 * GNU General Public License for more details.
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
17 *
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
18 * You should have received a copy of the GNU General Public License along
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
19 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26982
diff changeset
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
21 */
938d37ad4f85 preliminary version
nick
parents:
diff changeset
22
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
23 #ifndef MPLAYER_VOSUB_VIDIX_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
24 #define MPLAYER_VOSUB_VIDIX_H
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
25
26162
0585db9f5b32 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
26 #include <stdint.h>
0585db9f5b32 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
27 #include "video_out.h"
0585db9f5b32 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
28
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
29 /* drvname can be NULL */
25212
ca7a751f5481 Use proper type for vidix_preinit parameter instead of void *
reimar
parents: 23689
diff changeset
30 int vidix_preinit(const char *drvname,vo_functions_t *server);
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
31 int vidix_init(unsigned src_width,unsigned src_height,
938d37ad4f85 preliminary version
nick
parents:
diff changeset
32 unsigned dest_x,unsigned dest_y,unsigned dst_width,
938d37ad4f85 preliminary version
nick
parents:
diff changeset
33 unsigned dst_height,unsigned format,unsigned dest_bpp,
7124
eca7dbad0166 finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
alex
parents: 4434
diff changeset
34 unsigned vid_w,unsigned vid_h);
4234
0ec1d81c8f94 sorry, i really wanted to add vidix_start and stop as int, to detect if something went into the wrong way (also implement check in vo_xvidix)
alex
parents: 4198
diff changeset
35 int vidix_start(void);
0ec1d81c8f94 sorry, i really wanted to add vidix_start and stop as int, to detect if something went into the wrong way (also implement check in vo_xvidix)
alex
parents: 4198
diff changeset
36 int vidix_stop(void);
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
37 void vidix_term( void );
33305
ddb45e9443ec Remove the variable arguments from the libvo control() functions.
iive
parents: 27509
diff changeset
38 uint32_t vidix_control(uint32_t request, void *data);
11408
147f31870df6 Change conflicting function declaration between .c and .h file, causing a
diego
parents: 8123
diff changeset
39 uint32_t vidix_query_fourcc(uint32_t fourcc);
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
40
13787
e047e70a9767 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents: 11408
diff changeset
41 #include "vidix/vidix.h"
4240
a7d6ea555c2e added colorkey handling
alex
parents: 4234
diff changeset
42 /* graphic keys */
4255
5a4a4b272d10 vidix_grkey_support checking for colorkeying
alex
parents: 4240
diff changeset
43 int vidix_grkey_support(void);
4240
a7d6ea555c2e added colorkey handling
alex
parents: 4234
diff changeset
44 int vidix_grkey_get(vidix_grkey_t *gr_key);
a7d6ea555c2e added colorkey handling
alex
parents: 4234
diff changeset
45 int vidix_grkey_set(const vidix_grkey_t *gr_key);
a7d6ea555c2e added colorkey handling
alex
parents: 4234
diff changeset
46
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
47 #endif /* MPLAYER_VOSUB_VIDIX_H */