comparison libvo/vo_svga.c @ 8148:5b39e79af5fe

removed get_info, using the same sheme as in libmpcodecs instead
author alex
date Mon, 11 Nov 2002 15:22:10 +0000
parents 5381fb575552
children b4e5d87b878b
comparison
equal deleted inserted replaced
8147:538f88a49b50 8148:5b39e79af5fe
70 70
71 static uint8_t checked = 0; 71 static uint8_t checked = 0;
72 72
73 static uint32_t x_pos, y_pos; 73 static uint32_t x_pos, y_pos;
74 74
75 LIBVO_EXTERN(svga) 75 static vo_info_t info = {
76
77 static vo_info_t vo_info = {
78 "SVGAlib", 76 "SVGAlib",
79 "svga", 77 "svga",
80 "Zoltan Mark Vician <se7en@sch.bme.hu>", 78 "Zoltan Mark Vician <se7en@sch.bme.hu>",
81 "" 79 ""
82 }; 80 };
81
82 LIBVO_EXTERN(svga)
83 83
84 static uint32_t preinit(const char *arg) 84 static uint32_t preinit(const char *arg)
85 { 85 {
86 int i; 86 int i;
87 87
477 vga_setdisplaystart(0); 477 vga_setdisplaystart(0);
478 478
479 return (0); 479 return (0);
480 } 480 }
481 481
482 static const vo_info_t* get_info(void) {
483 return (&vo_info);
484 }
485
486 static uint32_t draw_frame(uint8_t *src[]) { 482 static uint32_t draw_frame(uint8_t *src[]) {
487 uint8_t *s=src[0]; 483 uint8_t *s=src[0];
488 #if 0 484 #if 0
489 // draw_frame() is never called for YV12 485 // draw_frame() is never called for YV12
490 if (pformat == IMGFMT_YV12) { 486 if (pformat == IMGFMT_YV12) {