view libvo/osd.h @ 15436:682d0764228f

1.907: Update xv and xvmc documentation to reflect recent colorkey changes. 1.908: Typos (skipped) 1.909: restrictions on muxer's telecine option 1.910: sync to x264 r150: new option 'b_pyramid' 1.911: Typos (skipped) 1.912: documented scale=-n where n <= -9 1.913: Convert vo_aa suboption parser to using the subopt-helper. 1.914: sync to x264 171: chroma_me, chroma_qp_offset 1.915: Small fixes. (skipped) 1.916: Some missing \ before - (skipped)
author kraymer
date Fri, 13 May 2005 16:06:22 +0000
parents 6f7b5123ac56
children f580a7755ac5
line wrap: on
line source


#ifndef __MPLAYER_OSD_H
#define __MPLAYER_OSD_H

// Generic alpha renderers for all YUV modes and RGB depths.
// These are "reference implementations", should be optimized later (MMX, etc)

extern void vo_draw_alpha_init(); // build tables

extern void vo_draw_alpha_yv12(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
extern void vo_draw_alpha_yuy2(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
extern void vo_draw_alpha_uyvy(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
extern void vo_draw_alpha_rgb24(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
extern void vo_draw_alpha_rgb32(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
extern void vo_draw_alpha_rgb15(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
extern void vo_draw_alpha_rgb16(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);

#endif