annotate libvo/vosub_vidix.h @ 5968:5bb339c33131

small update
author gabucino
date Sat, 04 May 2002 16:29:11 +0000
parents e956fa7f79c7
children eca7dbad0166
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
1 /*
938d37ad4f85 preliminary version
nick
parents:
diff changeset
2 * vosub_vidix.h
938d37ad4f85 preliminary version
nick
parents:
diff changeset
3 *
938d37ad4f85 preliminary version
nick
parents:
diff changeset
4 * Copyright (C) Nick Kurshev <nickols_k@mail.ru> - 2002
938d37ad4f85 preliminary version
nick
parents:
diff changeset
5 *
938d37ad4f85 preliminary version
nick
parents:
diff changeset
6 * You can redistribute this file under terms and conditions
938d37ad4f85 preliminary version
nick
parents:
diff changeset
7 * of GNU General Public licence v2.
938d37ad4f85 preliminary version
nick
parents:
diff changeset
8 *
938d37ad4f85 preliminary version
nick
parents:
diff changeset
9 * This file contains vosub_vidix interface to any mplayer's VO driver
938d37ad4f85 preliminary version
nick
parents:
diff changeset
10 */
938d37ad4f85 preliminary version
nick
parents:
diff changeset
11
938d37ad4f85 preliminary version
nick
parents:
diff changeset
12 #ifndef __VOSUB_VIDIX_INCLUDED
938d37ad4f85 preliminary version
nick
parents:
diff changeset
13 #define __VOSUB_VIDIX_INCLUDED
938d37ad4f85 preliminary version
nick
parents:
diff changeset
14
938d37ad4f85 preliminary version
nick
parents:
diff changeset
15 /* drvname can be NULL */
4352
ed5b85b713a3 Extensions for video accelerated architecture
nick
parents: 4255
diff changeset
16 int vidix_preinit(const char *drvname,void *server);
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
17 int vidix_init(unsigned src_width,unsigned src_height,
938d37ad4f85 preliminary version
nick
parents:
diff changeset
18 unsigned dest_x,unsigned dest_y,unsigned dst_width,
938d37ad4f85 preliminary version
nick
parents:
diff changeset
19 unsigned dst_height,unsigned format,unsigned dest_bpp,
4434
e956fa7f79c7 Use new tune info
nick
parents: 4352
diff changeset
20 unsigned vid_w,unsigned vid_h,const void *info);
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
21 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
22 int vidix_stop(void);
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
23 void vidix_term( void );
938d37ad4f85 preliminary version
nick
parents:
diff changeset
24 uint32_t vidix_query_fourcc(unsigned fourcc);
938d37ad4f85 preliminary version
nick
parents:
diff changeset
25
938d37ad4f85 preliminary version
nick
parents:
diff changeset
26 uint32_t vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y);
938d37ad4f85 preliminary version
nick
parents:
diff changeset
27 uint32_t vidix_draw_frame(uint8_t *src[]);
938d37ad4f85 preliminary version
nick
parents:
diff changeset
28 void vidix_flip_page(void);
938d37ad4f85 preliminary version
nick
parents:
diff changeset
29 void vidix_draw_osd(void);
938d37ad4f85 preliminary version
nick
parents:
diff changeset
30
4240
a7d6ea555c2e added colorkey handling
alex
parents: 4234
diff changeset
31 #include "../vidix/vidix.h"
a7d6ea555c2e added colorkey handling
alex
parents: 4234
diff changeset
32 /* graphic keys */
4255
5a4a4b272d10 vidix_grkey_support checking for colorkeying
alex
parents: 4240
diff changeset
33 int vidix_grkey_support(void);
4240
a7d6ea555c2e added colorkey handling
alex
parents: 4234
diff changeset
34 int vidix_grkey_get(vidix_grkey_t *gr_key);
a7d6ea555c2e added colorkey handling
alex
parents: 4234
diff changeset
35 int vidix_grkey_set(const vidix_grkey_t *gr_key);
a7d6ea555c2e added colorkey handling
alex
parents: 4234
diff changeset
36
4010
938d37ad4f85 preliminary version
nick
parents:
diff changeset
37 #endif