Fix crash during early exit
[mplayer.git] / libvo / vesa_lvo.h
blob2581ace34ece58219556cc1c54cfe0cba312cbb5
1 /*
2 * vesa_lvo.c
4 * Copyright (C) Nick Kurshev <nickols_k@mail.ru> - Oct 2001
6 * You can redistribute this file under terms and conditions
7 * of GNU General Public licence v2 or later.
9 * This file contains vo_vesa interface to Linux Video Overlay.
12 #ifndef MPLAYER_VESA_LVO_H
13 #define MPLAYER_VESA_LVO_H
15 #include <stdint.h>
17 int vlvo_preinit(const char *drvname);
18 int vlvo_init(unsigned src_width,unsigned src_height,
19 unsigned x_org,unsigned y_org,unsigned dst_width,
20 unsigned dst_height,unsigned format,unsigned dest_bpp);
21 void vlvo_term( void );
22 uint32_t vlvo_query_info(uint32_t format);
24 int vlvo_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y);
25 int vlvo_draw_frame(uint8_t *src[]);
26 void vlvo_flip_page(void);
27 void vlvo_draw_osd(void);
29 #endif /* MPLAYER_VESA_LVO_H */