marqs85 / ossc

Open Source Scan Converter
http://junkerhq.net/xrgb/index.php/OSSC
GNU General Public License v3.0
470 stars 63 forks source link

Scanlines generation #21

Closed borti4938 closed 6 years ago

borti4938 commented 6 years ago

I changed the method how scanlines are generated. The user still has the option to fall back into the old method. With the new method scanlines are generated using a multiplication instead of a simple subtraction. This has also the advantage that scanlines do not suffer from discoloring effects especially in the mid-range strength.

Simple example: Having scanlines strength of 50% and an RGB value of (255,120,176).

borti4938 commented 6 years ago

Hey marqs, I've updated now the pull request according to my current test branch. I hope that you are fine that I also massively changed the post-processing pipeline structure to increase the overall performance a bit. If not, just let me know. I excluded the bsp updates (sys.qsys has not been changed) as well as the new hex-file for the nios2-sw during commits to keep main focus. This has to be generated before building a firmware. Best Regards

borti4938 commented 6 years ago

_bb.v files are remove, replicas from the ip/lpm_mult_4_sl folder, too. The later ones were the initial place where I put the IP files in. However, after recognising that the ip folder only contains IPs from soft-core system and all other IPs for HDL were in the rtl folder, I moved the files without deleting the old ones. I'm sorry... Great, that you put an eye on it.