Mercurial > mplayer.hg
view libvo/vosub_vidix.h @ 5420:4ea69b1790d9
modified the new MS RLE decoder to support BGR15/16 output formats in
addition to BGR24/32, just like the old XAnim decoder; it's also
interesting to note that this commit wantonly violates A'rpi's newest
nonsensical CVS policy, and I quote:
Note: if you had to put if(){ .. } over big (> 5 lines) code,
do NOT change the indent of the inner part (move it right) !
author | melanson |
---|---|
date | Sun, 31 Mar 2002 15:33:32 +0000 |
parents | e956fa7f79c7 |
children | eca7dbad0166 |
line wrap: on
line source
/* * 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 */ int vidix_preinit(const char *drvname,void *server); 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, unsigned vid_w,unsigned vid_h,const void *info); int vidix_start(void); int vidix_stop(void); void vidix_term( void ); uint32_t vidix_query_fourcc(unsigned fourcc); 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); #include "../vidix/vidix.h" /* graphic keys */ int vidix_grkey_support(void); int vidix_grkey_get(vidix_grkey_t *gr_key); int vidix_grkey_set(const vidix_grkey_t *gr_key); #endif