Mercurial > mplayer.hg
annotate libvo/vosub_vidix.h @ 25851:9ebd00825df2
Allow independent scaling of vo_font and sub_font.
Patch by Guillaume LECERF (foxcore gmail com).
author | reimar |
---|---|
date | Sun, 27 Jan 2008 15:14:02 +0000 |
parents | 3baf6a2283da |
children | 4129c8cfa742 |
rev | line source |
---|---|
4010 | 1 /* |
2 * vosub_vidix.h | |
3 * | |
4 * Copyright (C) Nick Kurshev <nickols_k@mail.ru> - 2002 | |
5 * | |
6 * You can redistribute this file under terms and conditions | |
25531
071132904566
Relicense files marked as GPL v2 to GPL v2 or later.
diego
parents:
25212
diff
changeset
|
7 * of GNU General Public licence v2 or later. |
4010 | 8 * |
9 * This file contains vosub_vidix interface to any mplayer's VO driver | |
10 */ | |
11 | |
23689
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
23686
diff
changeset
|
12 #ifndef VOSUB_VIDIX_H |
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
23686
diff
changeset
|
13 #define VOSUB_VIDIX_H |
4010 | 14 |
15 /* drvname can be NULL */ | |
25212
ca7a751f5481
Use proper type for vidix_preinit parameter instead of void *
reimar
parents:
23689
diff
changeset
|
16 int vidix_preinit(const char *drvname,vo_functions_t *server); |
4010 | 17 int vidix_init(unsigned src_width,unsigned src_height, |
18 unsigned dest_x,unsigned dest_y,unsigned dst_width, | |
19 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
|
20 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
|
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 | 23 void vidix_term( void ); |
8123
9fc45fe0d444
*HUGE* set of compiler warning fixes, unused variables removal
arpi
parents:
7124
diff
changeset
|
24 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
|
25 uint32_t vidix_query_fourcc(uint32_t fourcc); |
4010 | 26 |
27 uint32_t vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y); | |
28 uint32_t vidix_draw_frame(uint8_t *src[]); | |
29 void vidix_flip_page(void); | |
30 void vidix_draw_osd(void); | |
31 | |
13787
e047e70a9767
Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents:
11408
diff
changeset
|
32 #include "vidix/vidix.h" |
4240 | 33 /* graphic keys */ |
4255 | 34 int vidix_grkey_support(void); |
4240 | 35 int vidix_grkey_get(vidix_grkey_t *gr_key); |
36 int vidix_grkey_set(const vidix_grkey_t *gr_key); | |
37 | |
25535
3baf6a2283da
Add explanatory comments to the #endif part of multiple inclusion guards.
diego
parents:
25531
diff
changeset
|
38 #endif /* VOSUB_VIDIX_H */ |