Add explanatory comments to the #endif part of multiple inclusion guards.
[mplayer/greg.git] / libvo / vosub_vidix.h
blobacd0bc45a6827ef3c5dff79e4334ad0cfb8bb68a
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 or later.
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 /* VOSUB_VIDIX_H */