FastLED 3.9.7
Loading...
Searching...
No Matches
fl::FrameTracker Class Reference

Detailed Description

Definition at line 14 of file frame_tracker.h.

Public Member Functions

 FrameTracker (float fps)
 
void get_interval_frames (uint32_t now, uint32_t *frameNumber, uint32_t *nextFrameNumber, uint8_t *amountOfNextFrame=nullptr) const
 
uint32_t get_exact_timestamp_ms (uint32_t frameNumber) const
 

Constructor & Destructor Documentation

◆ FrameTracker()

fl::FrameTracker::FrameTracker ( float fps)

Definition at line 17 of file frame_tracker.cpp.

Member Function Documentation

◆ get_exact_timestamp_ms()

uint32_t fl::FrameTracker::get_exact_timestamp_ms ( uint32_t frameNumber) const

Definition at line 46 of file frame_tracker.cpp.

◆ get_interval_frames()

void fl::FrameTracker::get_interval_frames ( uint32_t now,
uint32_t * frameNumber,
uint32_t * nextFrameNumber,
uint8_t * amountOfNextFrame = nullptr ) const

Definition at line 22 of file frame_tracker.cpp.


The documentation for this class was generated from the following files: