[Deinterlace-discuss] Problems fixed
Brought to you by:
adcockj,
dschmelzer
|
From: Rob M. <rob...@gm...> - 2005-06-09 23:47:11
|
I have found out that the code used in GetTickCount() in several places of the DScaler code was flawed. To see this in action, watch the developers statistics in a debug build. The statistics are not stable at all. Without the bug, the statistics are stable. Since the code seems to be also used for timing i2c, it is possible this fixes the problem that DScaler sometimes does not seem to initialize the card correctly (with or without a long delay before the DScaler window opens). It is not clear to me what other effects the problem could have had. I am not exactly fond of my solution but my 96 bit arithmetic is a bit rusty. ;) When trying to find out what code uses the flawed functions I stumbled upon InitializeSleep(). This code amazes me, what happens if the computer is busy for just a few ms when this code is called? Rob |