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