View Single Post
Old 08 February 2016, 16:39   #88
Registered User
Join Date: Aug 2004
Posts: 2,941
Originally Posted by Toni Wilen View Post
I know but I only wanted to add one option. Ok, option moved to Brightness/Contrast/etc select box and both options added
Heh, that's a bit overkill; why would anyone opt for $EE-is-white instead of $FC-is-white?

By the way, it looks like you do ST palette correction after gamma correction. Would it be better to do that before gamma correction?

An equivalent (at least for ST-colours) to
vi = (vi + (vi & 7)) * 2;
vi = (vi + (vi >> 4)) * 2;
I don't know which would be faster or produce better code.

Another equivalent would be
vi = (vi<<1) + (vi>>3);

Last edited by mark_k; 08 February 2016 at 16:46.
mark_k is offline  
Page generated in 0.03934 seconds with 10 queries