mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 11:02:10 +00:00
fix Cyberblade VidiX driver TVOUT patch by Benjamin Zores <ben@tutuxclan.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13605 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
830b241f3f
commit
13cb3a5c36
@ -506,16 +506,13 @@ int vixConfigPlayback(vidix_playback_t *info)
|
||||
HWinStart=(TVHTotal-HDisp)&15;
|
||||
HWinStart|=(HTotal-HDisp)&15;
|
||||
HWinStart+=(TVHTotal-TVHSyncStart)-49;
|
||||
|
||||
VWinStart=(TVVTotal-VDisp)/2-1;
|
||||
VWinStart-=(1-((TVVTotal-VDisp)&1))+4;
|
||||
}
|
||||
else
|
||||
{
|
||||
LOGWRITE("[cyberblade] Using Standard CRTC\n");
|
||||
HWinStart=(HTotal-HSync)+15;
|
||||
VWinStart=(VTotal-VSync)-8;
|
||||
}
|
||||
VWinStart=(VTotal-VSync)-8;
|
||||
|
||||
printf("[cyberblade] HTotal: 0x%x, HSStart: 0x%x\n",HTotal,HSync);
|
||||
printf(" VTotal: 0x%x, VStart: 0x%x\n",VTotal,VSync);
|
||||
|
Loading…
Reference in New Issue
Block a user