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
|
|
7 * of GNU General Public licence v2.
|
|
8 *
|
|
9 * This file contains vosub_vidix interface to any mplayer's VO driver
|
|
10 */
|
|
11
|
|
12 #ifndef __VOSUB_VIDIX_INCLUDED
|
|
13 #define __VOSUB_VIDIX_INCLUDED
|
|
14
|
|
15 /* drvname can be NULL */
|
|
16 int vidix_preinit(
|
|
17 const char *drvname);
|
|
18 int vidix_init(unsigned src_width,unsigned src_height,
|
|
19 unsigned dest_x,unsigned dest_y,unsigned dst_width,
|
|
20 unsigned dst_height,unsigned format,unsigned dest_bpp,
|
|
21 unsigned vid_w,unsigned vid_h);
|
|
22 void vidix_term( void );
|
|
23 uint32_t vidix_query_fourcc(unsigned fourcc);
|
|
24
|
|
25 uint32_t vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y);
|
|
26 uint32_t vidix_draw_frame(uint8_t *src[]);
|
|
27 void vidix_flip_page(void);
|
|
28 void vidix_draw_osd(void);
|
|
29
|
|
30 #endif
|