diff options
author | wm4 <wm4@nowhere> | 2012-08-07 01:26:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-07 01:29:56 +0200 |
commit | 22872451369fe219990c6280fc0d1c0c0c344b55 (patch) | |
tree | d65954cf2d3bf4e66c96a5cbb5ccebdc0305e3a4 /libvo/old_vo_wrapper.h | |
parent | f3bb6692c728bd05f567fe1ca53902ec41bec235 (diff) | |
download | mpv-22872451369fe219990c6280fc0d1c0c0c344b55.tar.bz2 mpv-22872451369fe219990c6280fc0d1c0c0c344b55.tar.xz |
VO: remove old VO glue
This transition to a new VO API started over 4 years ago. It's time to
finally end it, and get rid of the horrible hacks.
Also removes some previously undetected dead code from spudec.c.
Diffstat (limited to 'libvo/old_vo_wrapper.h')
-rw-r--r-- | libvo/old_vo_wrapper.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/libvo/old_vo_wrapper.h b/libvo/old_vo_wrapper.h deleted file mode 100644 index f18ee296f4..0000000000 --- a/libvo/old_vo_wrapper.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef MPLAYER_OLD_VO_WRAPPER_H -#define MPLAYER_OLD_VO_WRAPPER_H - -#include <stdint.h> -#include "video_out.h" - -extern struct vo *global_vo; -extern struct osd_state *global_osd; - -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, - uint32_t flags, uint32_t format); -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); -void old_vo_draw_osd(struct vo *vo, struct osd_state *osd); -void old_vo_flip_page(struct vo *vo); -void old_vo_check_events(struct vo *vo); -void old_vo_uninit(struct vo *vo); - -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)); -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)); -int vo_update_osd(int dxs, int dys); - -#endif |