|
FastLED 3.9.15
|
#include <frame.h>
Collaboration diagram for fl::Frame:Public Member Functions | |
| Frame (const Frame &other) FL_NOEXCEPT | |
| Frame (fl::u8 *pixels, fl::u16 width, fl::u16 height, PixelFormat format, fl::u32 timestamp=0) | |
| Frame (int pixels_per_frame) | |
| ~Frame () FL_NOEXCEPT | |
| void | clear () |
| void | copy (const Frame &other) |
| void | draw (fl::span< CRGB > leds, DrawMode draw_mode=DrawMode::DRAW_MODE_OVERWRITE) const |
| void | drawXY (fl::span< CRGB > leds, const XYMap &xyMap, DrawMode draw_mode=DrawMode::DRAW_MODE_OVERWRITE) const |
| PixelFormat | getFormat () const |
| fl::u16 | getHeight () const |
| fl::u32 | getTimestamp () const |
| fl::u16 | getWidth () const |
| void | interpolate (const Frame &frame1, const Frame &frame2, u8 amountOfFrame2) |
| bool | isFromCodec () const |
| bool | isValid () const |
| Frame & | operator= (const Frame &other) FL_NOEXCEPT=delete |
| fl::span< CRGB > | rgb () |
| fl::span< const CRGB > | rgb () const |
| size_t | size () const |
Static Public Member Functions | |
| static void | interpolate (const Frame &frame1, const Frame &frame2, u8 amountofFrame2, fl::span< CRGB > pixels) |
Private Member Functions | |
| void | convertPixelsToRgb (fl::u8 *pixels, PixelFormat format) |
Private Attributes | |
| PixelFormat | mFormat = PixelFormat::RGB888 |
| fl::u16 | mHeight = 0 |
| bool | mIsFromCodec = false |
| const size_t | mPixelsCount |
| fl::vector_psram< CRGB > | mRgb |
| fl::u32 | mTimestamp = 0 |
| fl::u16 | mWidth = 0 |