comparison libvo/vosub_vidix.c @ 4362:7ef67ffa9274

preinit usage
author nick
date Sat, 26 Jan 2002 19:12:49 +0000
parents 09f15844c960
children 9b6430df4de5
comparison
equal deleted inserted replaced
4361:e7744189e03f 4362:7ef67ffa9274
69 /* we are able to tune up this stuff depend on fourcc format */ 69 /* we are able to tune up this stuff depend on fourcc format */
70 ((vo_functions_t *)server)->draw_slice=vidix_draw_slice; 70 ((vo_functions_t *)server)->draw_slice=vidix_draw_slice;
71 ((vo_functions_t *)server)->draw_frame=vidix_draw_frame; 71 ((vo_functions_t *)server)->draw_frame=vidix_draw_frame;
72 ((vo_functions_t *)server)->flip_page=vidix_flip_page; 72 ((vo_functions_t *)server)->flip_page=vidix_flip_page;
73 ((vo_functions_t *)server)->draw_osd=vidix_draw_osd; 73 ((vo_functions_t *)server)->draw_osd=vidix_draw_osd;
74 ((vo_functions_t *)server)->query_format=vidix_query_fourcc;
74 return 0; 75 return 0;
75 } 76 }
76 77
77 int vidix_init(unsigned src_width,unsigned src_height, 78 int vidix_init(unsigned src_width,unsigned src_height,
78 unsigned x_org,unsigned y_org,unsigned dst_width, 79 unsigned x_org,unsigned y_org,unsigned dst_width,