Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-31Fix missing line.Daniel Garcia
2019-01-20Fix #666 - add submod8 - not entirely sure this will do what's expected, but ↵Daniel Garcia
let's see what happens!
2017-02-22Removed an ALWAYS_INLINE because avr-gcc can't be trusted with grown-up tools.Mark Kriegsman
2017-02-02Added AVR asm version of blend8: smaller, faster. Marked blend8 as 'always ↵Mark Kriegsman
inline', as it probably should have been previously, since it results is smaller and faster code in almost every case, since the body is only about 12 AVR instructions. ATtiny uses 'C' version since the AVR assembly code uses the hardware multplier, which the 12-years-old-now ATtiny doesn't have.
2017-01-20Fixed loss-of-precision bug in pixel blending. Pixel blending should be a ↵Mark Kriegsman
little smoother now and free from error noise in the low bits. This includes palette colors returned from ColorFromPalette, which are now slightly smoother. Also introduced a new lib8tion function, blend8( byte, byte, fract8). The new pixel blending should have negligible effect on code size, and it is ever so slightly faster than the old version with the error. Fixes #404.
2017-01-15Updated scale16 and scale16by8 for AVR when FASTLED_SCALE8_FIXED is 1. ↵Mark Kriegsman
scale16(foo,65535) now equals foo. Updated DemoReel100 to stay within range of NUM_LEDS on non-AVR platforms. Fixes #368.
2016-05-05gcc register allocation appears to have changed a bit - make sure we get the ↵Daniel Garcia
right registers for andi. Fixes #302
2016-03-25Fix #277 - the random code was making use of the fact that scale8 ↵Daniel Garcia
effectively gave a range of [0,lim-1] when limiting the value of random. Oops, we've since fixed scale8 to stop doing that.
2016-02-21Force many very small functions to be inlined (LIB8STATIC_ALWAYS_INLINE)Mark Kriegsman
2016-02-17AVR ASM versions of scale8 fixDaniel Garcia
2016-02-17Fix C implementations of scale8Daniel Garcia
2016-01-07scale16 faster and smaller - no need to initialize 'result' to zero since ↵Mark Kriegsman
we're going to overwrite it. A little gcc asm shenanigans required to get this all right in terms of '=r' versus '+r' on the variable usage tag in the asm block. Basically the = versus + don't want to think about multi-byte variables. Coincidentally, neither do I.
2015-12-29Added avg16 & avg15, for fast unsigned and signed averages (respectively). ↵Mark Kriegsman
Note that avg15, which is signed, has the same rounding behavior as avg7 (also signed), which is that it rounds up if the first argument is odd, and down if the first argument is even, resulting in a more even distribution of results -- but may result in mild surprise because avg15(a,b) is not always the same as (a+b)/2. If you're using this function though, you probably know enough to read the docs and/or not be TOO surprised.
2015-08-11Updating documentationDaniel Garcia
2015-08-11doc cleanupDaniel Garcia
2015-08-11Start splitting out lib8tion code into separate files, convert documentation ↵Daniel Garcia
format to doxygen as well.