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

◆ framesRemaining()

i32 fl::video::PixelStream::framesRemaining ( ) const

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

340 {
341 if (mbytesPerFrame == 0)
342 return 0;
343 i32 bytes_left = bytesRemaining();
344 if (bytes_left <= 0) {
345 return 0;
346 }
347 return bytes_left / mbytesPerFrame;
348}
i32 bytesRemaining() const FL_NO_EXCEPT

References bytesRemaining(), fl::FL_NO_EXCEPT, and mbytesPerFrame.

Referenced by readFrame().

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