FastLED 3.10.8
Loading...
Searching...
No Matches

◆ readPixel()

bool fl::video::PixelStream::readPixel ( CRGB * dst)

Definition at line 215 of file pixel_stream.cpp.hpp.

215 {
216 if (!mHandle || !dst) {
217 return false;
218 }
219 if (!isRgb8Playback()) {
220 return false;
221 }
222 return readBytes(&dst->r, 3) == 3;
223}
fl::filebuf_ptr mHandle
size_t readBytes(u8 *dst, size_t len) FL_NO_EXCEPT
bool isRgb8Playback() const FL_NO_EXCEPT

References fl::FL_NO_EXCEPT, isRgb8Playback(), mHandle, and readBytes().

Referenced by readFrame().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: