545
545
x_pos = (modeinfo->width - req_w) / 2;
546
546
y_pos = (modeinfo->height - req_h) / 2;
547
547
x_pos &= ~(15); //align x offset position to 16 pixels
548
printf("vo_svga: centering image. start at (%d,%d)\n",x_pos,y_pos);
548
mp_msg(MSGT_VO,MSGL_INFO, MSGTR_LIBVO_SVGA_CenteringImageStartAt,x_pos,y_pos);
553
553
vidix_init(width, height, x_pos, y_pos, modeinfo->width, modeinfo->height,
554
554
format, mode_bpp, modeinfo->width,modeinfo->height);
555
printf("vo_svga: Using VIDIX. w=%i h=%i mw=%i mh=%i\n",width,height,
555
mp_msg(MSGT_VO,MSGL_INFO, MSGTR_LIBVO_SVGA_UsingVidix,width,height,
556
556
modeinfo->width,modeinfo->height);