2008-04-03 03:25:41 +00:00
|
|
|
#ifndef MPLAYER_OLD_VO_WRAPPER_H
|
|
|
|
#define MPLAYER_OLD_VO_WRAPPER_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "video_out.h"
|
|
|
|
|
2008-04-19 04:45:16 +00:00
|
|
|
extern struct vo *global_vo;
|
2008-06-23 22:53:58 +00:00
|
|
|
extern struct osd_state *global_osd;
|
2008-04-19 04:45:16 +00:00
|
|
|
|
2008-04-03 03:25:41 +00:00
|
|
|
int old_vo_preinit(struct vo *vo, const char *);
|
|
|
|
int old_vo_config(struct vo *vo, uint32_t width, uint32_t height,
|
|
|
|
uint32_t d_width, uint32_t d_height,
|
2011-12-06 19:23:54 +00:00
|
|
|
uint32_t flags, uint32_t format);
|
2008-04-03 03:25:41 +00:00
|
|
|
int old_vo_control(struct vo *vo, uint32_t request, void *data);
|
|
|
|
int old_vo_draw_frame(struct vo *vo, uint8_t *src[]);
|
|
|
|
int old_vo_draw_slice(struct vo *vo, uint8_t *src[], int stride[],
|
|
|
|
int w, int h, int x, int y);
|
2008-06-23 22:53:58 +00:00
|
|
|
void old_vo_draw_osd(struct vo *vo, struct osd_state *osd);
|
2008-04-03 03:25:41 +00:00
|
|
|
void old_vo_flip_page(struct vo *vo);
|
|
|
|
void old_vo_check_events(struct vo *vo);
|
|
|
|
void old_vo_uninit(struct vo *vo);
|
|
|
|
|
2008-04-04 03:36:36 +00:00
|
|
|
void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
|
2009-01-15 03:07:09 +00:00
|
|
|
void vo_draw_text_ext(int dxs, int dys, int left_border, int top_border,
|
|
|
|
int right_border, int bottom_border, int orig_w, int orig_h,
|
|
|
|
void (*draw_alpha)(int x0, int y0, int w,int h,unsigned char* src, unsigned char *srca, int stride));
|
2008-06-23 22:53:58 +00:00
|
|
|
int vo_update_osd(int dxs, int dys);
|
2008-04-04 03:36:36 +00:00
|
|
|
|
2008-04-03 03:25:41 +00:00
|
|
|
#endif
|