comparison libvo/vo_svga.c @ 7124:eca7dbad0166

finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
author alex
date Wed, 28 Aug 2002 21:32:32 +0000
parents 6850df500b8c
children c4434bdf6e51
comparison
equal deleted inserted replaced
7123:0f893a16c316 7124:eca7dbad0166
108 return VO_NOTIMPL; 108 return VO_NOTIMPL;
109 } 109 }
110 110
111 static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, 111 static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
112 uint32_t d_height, uint32_t fullscreen, char *title, 112 uint32_t d_height, uint32_t fullscreen, char *title,
113 uint32_t format,const vo_tune_info_t *info) { 113 uint32_t format) {
114 uint32_t req_w = (d_width > 0 ? d_width : width); 114 uint32_t req_w = (d_width > 0 ? d_width : width);
115 uint32_t req_h = (d_height > 0 ? d_height : height); 115 uint32_t req_h = (d_height > 0 ? d_height : height);
116 uint16_t vid_mode = 0; 116 uint16_t vid_mode = 0;
117 uint8_t res_widescr, vid_widescr = (((req_w*1.0)/req_h) > (4.0/3)) ? 1 : 0; 117 uint8_t res_widescr, vid_widescr = (((req_w*1.0)/req_h) > (4.0/3)) ? 1 : 0;
118 uint16_t buf_w = USHRT_MAX, buf_h = USHRT_MAX; 118 uint16_t buf_w = USHRT_MAX, buf_h = USHRT_MAX;