Added a 'Pixel' checkbox to the V2 to V3 mapping screen. And a column to reflect the setting.
When the pixel checkbox is checked the repeat field is forced to '3' and the destination color mappings are fixed at 'Red' 'Green' 'Blue' (in that order).
Modified the conversion function to use a state machine that concurrently processes three effect types:
Constant on
Ramp up
Ramp down
The state machine allows the conversion process to be more efficient.
Make only a single pass through the data (was four passes).
For my display this reduced the number of effects on any given channel to one (The original mechanism sometimes had three or four effects per v2 channel).
Adding Pixel color mixing and color regeneration prior to the state machine reduced the effects generated per pixel from (up to) seven down to one.
Merge remote-tracking branch 'remotes/MartinMueller2003/EnhancedV2toV3Import'