2 * vo_vesa interface to Linux Video Overlay
4 * copyright (C) 2001 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_VESA_LVO_H
24 #define MPLAYER_VESA_LVO_H
28 int vlvo_preinit(const char *drvname
);
29 int vlvo_init(unsigned src_width
,unsigned src_height
,
30 unsigned x_org
,unsigned y_org
,unsigned dst_width
,
31 unsigned dst_height
,unsigned format
,unsigned dest_bpp
);
32 void vlvo_term( void );
33 uint32_t vlvo_query_info(uint32_t format
);
35 int vlvo_draw_slice(uint8_t *image
[], int stride
[], int w
,int h
,int x
,int y
);
36 int vlvo_draw_frame(uint8_t *src
[]);
37 void vlvo_flip_page(void);
38 void vlvo_draw_osd(void);
40 #endif /* MPLAYER_VESA_LVO_H */