2 * vosub_vidix interface to any mplayer vo driver
4 * copyright (C) 2002 Nick Kurshev <nickols_k@mail.ru>
6 * This file is part of MPlayer.
8 * MPlayer is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * MPlayer is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License along
19 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 #ifndef MPLAYER_VOSUB_VIDIX_H
24 #define MPLAYER_VOSUB_VIDIX_H
27 #include "video_out.h"
29 /* drvname can be NULL */
30 int vidix_preinit(const char *drvname
, struct vo_old_functions
*server
);
31 int vidix_init(unsigned src_width
,unsigned src_height
,
32 unsigned dest_x
,unsigned dest_y
,unsigned dst_width
,
33 unsigned dst_height
,unsigned format
,unsigned dest_bpp
,
34 unsigned vid_w
,unsigned vid_h
);
35 int vidix_start(void);
37 void vidix_term( void );
38 uint32_t vidix_control(uint32_t request
, void *data
);
39 uint32_t vidix_query_fourcc(uint32_t fourcc
);
41 #include "vidix/vidix.h"
43 int vidix_grkey_support(void);
44 int vidix_grkey_get(vidix_grkey_t
*gr_key
);
45 int vidix_grkey_set(const vidix_grkey_t
*gr_key
);
47 #endif /* MPLAYER_VOSUB_VIDIX_H */