Fix indent for last commit.
[mplayer/greg.git] / libvo / vosub_vidix.h
blob10824761f2def7b94ce5f508ced54481a9e7da89
1 /*
2 * vosub_vidix.h
4 * Copyright (C) Nick Kurshev <nickols_k@mail.ru> - 2002
6 * You can redistribute this file under terms and conditions
7 * of GNU General Public licence v2.
9 * This file contains vosub_vidix interface to any mplayer's VO driver
12 #ifndef VOSUB_VIDIX_H
13 #define VOSUB_VIDIX_H
15 /* drvname can be NULL */
16 int vidix_preinit(const char *drvname,vo_functions_t *server);
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,
20 unsigned vid_w,unsigned vid_h);
21 int vidix_start(void);
22 int vidix_stop(void);
23 void vidix_term( void );
24 uint32_t vidix_control(uint32_t request, void *data, ...);
25 uint32_t vidix_query_fourcc(uint32_t fourcc);
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);
32 #include "vidix/vidix.h"
33 /* graphic keys */
34 int vidix_grkey_support(void);
35 int vidix_grkey_get(vidix_grkey_t *gr_key);
36 int vidix_grkey_set(const vidix_grkey_t *gr_key);
38 #endif