Definition at line 30 of file video.h.
◆ Video() [1/2]
◆ Video() [2/2]
fl::Video::Video |
( |
size_t | pixelsPerFrame, |
|
|
float | fps = 30.0f, |
|
|
size_t | frameHistoryCount = DefaultFrameHistoryCount() ) |
◆ begin()
bool fl::Video::begin |
( |
fl::FileHandlePtr | h | ) |
|
◆ beginStream()
bool fl::Video::beginStream |
( |
fl::ByteStreamPtr | s | ) |
|
◆ DefaultFrameHistoryCount()
static size_t fl::Video::DefaultFrameHistoryCount |
( |
| ) |
|
|
inlinestatic |
◆ draw() [1/3]
- Parameters
-
now | The current time in milliseconds. Fx writers are encouraged to use this instead of millis() directly as this will more deterministic behavior. |
Implements fl::Fx.
Definition at line 98 of file video.cpp.
◆ draw() [2/3]
bool fl::Video::draw |
( |
uint32_t | now, |
|
|
CRGB * | leds ) |
◆ draw() [3/3]
bool fl::Video::draw |
( |
uint32_t | now, |
|
|
Frame * | frame ) |
◆ end()
◆ error()
Str fl::Video::error |
( |
| ) |
const |
◆ finished()
bool fl::Video::finished |
( |
| ) |
|
◆ fxName()
Str fl::Video::fxName |
( |
| ) |
const |
|
overridevirtual |
◆ operator bool()
fl::Video::operator bool |
( |
| ) |
const |
|
inline |
◆ pause()
void fl::Video::pause |
( |
uint32_t | now | ) |
|
|
overridevirtual |
◆ pixelsPerFrame()
size_t fl::Video::pixelsPerFrame |
( |
| ) |
const |
◆ resume()
void fl::Video::resume |
( |
uint32_t | now | ) |
|
|
overridevirtual |
◆ rewind()
bool fl::Video::rewind |
( |
| ) |
|
◆ setError()
void fl::Video::setError |
( |
const Str & | error | ) |
|
|
inline |
◆ setTimeScale()
void fl::Video::setTimeScale |
( |
float | timeScale | ) |
|
◆ timeScale()
float fl::Video::timeScale |
( |
| ) |
const |
The documentation for this class was generated from the following files:
- /home/runner/work/FastLED/FastLED/src/fx/video.h
- /home/runner/work/FastLED/FastLED/src/fx/video.cpp