Mercurial > mplayer.hg
comparison libvo/vo_dga.c @ 612:77e0094f0cce
some warnings killed
author | szabii |
---|---|
date | Tue, 24 Apr 2001 10:21:12 +0000 |
parents | ca59ef4ce54d |
children | 41d6eec69b60 |
comparison
equal
deleted
inserted
replaced
611:a188733d60de | 612:77e0094f0cce |
---|---|
21 * BGR_32_24_888 | 21 * BGR_32_24_888 |
22 * | 22 * |
23 * - works only on x86 architectures | 23 * - works only on x86 architectures |
24 * | 24 * |
25 * $Log$ | 25 * $Log$ |
26 * Revision 1.16 2001/04/24 10:21:12 szabii | |
27 * some warnings killed | |
28 * | |
26 * Revision 1.15 2001/04/19 21:39:10 arpi_esp | 29 * Revision 1.15 2001/04/19 21:39:10 arpi_esp |
27 * driver info now depends on detected DGA version | 30 * driver info now depends on detected DGA version |
28 * | 31 * |
29 * Revision 1.14 2001/04/17 22:28:09 acki2 | 32 * Revision 1.14 2001/04/17 22:28:09 acki2 |
30 * - now also supports OSD for YV12 (big speed penalty by having to build image | 33 * - now also supports OSD for YV12 (big speed penalty by having to build image |
272 vprintf( str, (&str)+1 ); | 275 vprintf( str, (&str)+1 ); |
273 } | 276 } |
274 | 277 |
275 //--------------------------------------------------------- | 278 //--------------------------------------------------------- |
276 | 279 |
280 extern void vo_draw_alpha_rgb24(int w,int h, unsigned char* src, | |
281 unsigned char *srca, int srcstride, unsigned char* dstbase, | |
282 int dststride); | |
283 extern void vo_draw_alpha_rgb32(int w,int h, unsigned char* src, | |
284 unsigned char *srca, int srcstride, unsigned char* dstbase, | |
285 int dststride); | |
286 extern void vo_draw_alpha_rgb15(int w,int h, unsigned char* src, | |
287 unsigned char *srca, int srcstride, unsigned char* dstbase, | |
288 int dststride); | |
289 extern void vo_draw_alpha_rgb16(int w,int h, unsigned char* src, | |
290 unsigned char *srca, int srcstride, unsigned char* dstbase, | |
291 int dststride); | |
277 | 292 |
278 static void draw_alpha( int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride ){ | 293 static void draw_alpha( int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride ){ |
279 | 294 |
280 char *d; | 295 char *d; |
281 unsigned int offset; | 296 unsigned int offset; |
356 { | 371 { |
357 int e=vo_x11_check_events(vo_dga_dpy); | 372 int e=vo_x11_check_events(vo_dga_dpy); |
358 } | 373 } |
359 | 374 |
360 //--------------------------------------------------------- | 375 //--------------------------------------------------------- |
376 | |
377 extern void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, | |
378 int w,int h, unsigned char* src, unsigned char *srca, | |
379 int stride)); | |
361 | 380 |
362 static void flip_page( void ){ | 381 static void flip_page( void ){ |
363 | 382 |
364 if(vo_dga_src_format ==IMGFMT_YV12 ){ | 383 if(vo_dga_src_format ==IMGFMT_YV12 ){ |
365 draw_frame( &vo_dga_yv12_base); | 384 draw_frame( &vo_dga_yv12_base); |