2002-01-06 16:02:24 +00:00
|
|
|
/*
|
|
|
|
* vosub_vidix.h
|
|
|
|
*
|
|
|
|
* Copyright (C) Nick Kurshev <nickols_k@mail.ru> - 2002
|
|
|
|
*
|
|
|
|
* You can redistribute this file under terms and conditions
|
|
|
|
* of GNU General Public licence v2.
|
|
|
|
*
|
|
|
|
* This file contains vosub_vidix interface to any mplayer's VO driver
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __VOSUB_VIDIX_INCLUDED
|
|
|
|
#define __VOSUB_VIDIX_INCLUDED
|
|
|
|
|
|
|
|
/* drvname can be NULL */
|
2002-01-26 16:01:26 +00:00
|
|
|
int vidix_preinit(const char *drvname,void *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 );
|
2002-11-06 23:54:29 +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
|
|
|
|
|
|
|
uint32_t vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y);
|
|
|
|
uint32_t vidix_draw_frame(uint8_t *src[]);
|
|
|
|
void vidix_flip_page(void);
|
|
|
|
void vidix_draw_osd(void);
|
|
|
|
|
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);
|
|
|
|
|
2002-01-06 16:02:24 +00:00
|
|
|
#endif
|