| 99 | } |
| 100 | |
| 101 | void Frame::clear() { |
| 102 | if (mPixelsCount > 0 && !mRgb.empty()) { |
| 103 | fl::memset((u8*)mRgb.data(), 0, mPixelsCount * sizeof(CRGB)); |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | void Frame::interpolate(const Frame &frame1, const Frame &frame2, |
| 108 | u8 amountofFrame2, fl::span<CRGB> pixels) { |