First post, by Kronuz
- Rank
- Member
Okay, I've been checking the source code as it ended with the scalers optimizations Harekiet put in the code. I'm glad he used some of my ideas to make DOSBox a lot faster, and I gladly found that though some optimizations I had thought are not there, most of what I suggested is; even when some of those optimizations that were left out could gain some extra speed, the design Harekiet ended up with is great, it took me some time to fully understand how he implemented stuff, but I think it's a clean design and truly makes the code consistent to his style; because not everything is about speed optimization 😉
Also, I noticed he changed some things too much to be able to use the Hq2x scaler as it currently was, and as I love to play using Hq2x, I decided to implement a version that does work under the new 0.65. I'm attaching the patch here for anyone who wants to add Hq2x support to DOSBox 0.65.
The algorithm I'm using is the HiEnd3D Hq2x (the true and original Hq2x, with some borrowed stuff from scummvm) so this version should be more accurate than the older Hq2x. This is the first version, I just finished the implementation and it probably can still take a lot of optimizations for the enthusiasts to work with.
There are two good news about this new scaler: one is that it should work with higher modes as well as with 8 bits paletted. The old Hq2x only worked with paletted sources and I'm guessing than that, along the fact that it wasn't really "true Hq2x", were the reasons it was never accepted as official. Hopefully this new implementation will eventually meet the standards and make it to the cvs, I honestly believe Hq2x is a great scaler for playing. The other good news is that I also added Hq3x support 😀
Please leave your comments and suggestions.
Kronuz.
Kronuz
"Time is of the essence"