circuitpython/shared-module
Jeff Epler 7d6ac96001 GifWriter: improve efficiency
* Increase colorspace conversion efficiency.
   This not only avoids a function call, it avoids the time-consuming
   switch statement in conver_pixel (replacing it with a single
   conditional on the byteswap flag + accounting for BGR/RGB during
   palette creation)

 * Buffer all the bytes of a single frame together.  By reducing
   low level write calls we get a decent speed increase even though
   it increases data-shuffling a bit.

Together with some other changes that enable "double buffered" camera
capture, this gets me to 8.8fps capturing QVGA (320x240) gifs and
11fps capturing 240x240 square gifs.
2021-10-26 11:11:28 -05:00
..
2021-10-15 08:20:54 -05:00
2021-03-15 19:27:36 +05:30
2021-03-15 19:27:36 +05:30
2021-10-15 08:20:54 -05:00
2021-05-21 17:49:50 -04:00
2021-03-15 19:27:36 +05:30
2021-10-26 08:54:18 -05:00
2021-10-15 08:20:54 -05:00
2021-09-26 09:39:40 +05:30
2021-10-15 08:20:54 -05:00
2021-10-26 11:11:28 -05:00
2021-03-15 19:27:36 +05:30
2021-09-16 21:08:05 -05:00
2021-03-15 19:27:36 +05:30
2017-11-02 12:41:50 -07:00
2021-03-15 19:27:36 +05:30
2021-10-15 08:20:54 -05:00
2021-07-12 14:40:01 -04:00
2021-03-15 19:27:36 +05:30
2021-05-27 11:33:17 -05:00
2021-10-25 16:52:23 -05:00
2021-03-15 19:27:36 +05:30
2020-11-25 17:52:06 -05:00
2021-03-15 19:27:36 +05:30
2021-10-15 08:20:54 -05:00
2021-03-15 19:27:36 +05:30