Files
WLED/wled00
Damian Schneider 26397ee8ad Optimization: color_blend() (#4245)
Removing the bool saves on code size and makes the function a tiny bit faster. Also this is a cleaner solution IMHO.

-updated blend function to optimized 8bit calculation
- efficient color blend calculation in fews operations possible
- omitting min / max checks makes it faster on average
- using 8bit for "blend" variable does not significantly influence the resulting color, just transition points are slightly shifted but yield very good results (and better than the original 16bit version using the old fastled math with improper rounding)
- updated drawCircle and drawLine to use 8bit directly instead of 16bit with a shift
2024-12-19 18:20:56 +01:00
..
2024-07-11 21:22:58 +02:00
2024-12-17 18:59:53 +01:00
2024-12-17 18:59:53 +01:00
2024-10-26 15:16:11 +02:00
2024-09-19 21:44:11 +02:00
2024-12-19 18:20:56 +01:00
2024-10-26 15:16:11 +02:00
2024-07-11 21:22:58 +02:00
2024-09-10 15:20:34 +02:00
2024-12-19 18:20:56 +01:00
2024-12-19 18:20:56 +01:00
2023-01-06 09:24:29 +01:00
2024-10-14 20:13:59 +02:00
2023-01-06 09:24:29 +01:00
2024-09-17 16:21:52 +02:00
2024-12-07 10:14:11 +01:00
2024-10-26 15:16:11 +02:00
2023-02-08 10:18:41 +01:00
2023-02-04 23:59:28 +01:00
2024-12-07 16:47:50 +01:00
2024-07-11 21:22:58 +02:00
2024-10-12 10:56:40 -03:00
2024-09-19 21:44:11 +02:00
2024-05-02 14:36:18 -07:00
2024-09-10 15:20:34 +02:00
2024-11-26 19:35:15 +01:00
2024-09-23 20:39:16 +02:00
2023-01-06 09:24:29 +01:00
2023-01-06 09:24:29 +01:00
2024-12-07 10:11:25 +01:00
2024-02-25 17:08:01 +01:00
2022-03-20 22:12:18 +01:00
2024-08-14 11:16:46 +02:00
2024-10-23 21:26:40 -04:00
2024-12-07 16:47:50 +01:00
2024-12-04 18:57:32 +00:00
2024-09-10 15:20:34 +02:00