Lumiera  0.pre.03
»edit your freedom«
DummyImageGenerator Class Reference

Description

Definition at line 42 of file dummy-image-generator.hpp.

Public Member Functions

 DummyImageGenerator (uint fps)
 
LumieraDisplayFrame current ()
 just re-return a pointer to the current frame without generating any new image data
 
LumieraDisplayFrame next ()
 generate the next frame and occupy the alternate buffer. More...
 

Private Attributes

unsigned char buf_ [320 *240 *3]
 working buffer for next frame
 
uint current_
 
uint fps_
 
uint frame_
 
unsigned char outFrame_A_ [320 *240 *4]
 output frame 1
 
unsigned char outFrame_B_ [320 *240 *4]
 output frame 2
 

Member Function Documentation

◆ next()

LumieraDisplayFrame next ( )

generate the next frame and occupy the alternate buffer.

Returns
the buffer containing the new frame

Definition at line 90 of file dummy-image-generator.cpp.

+ Collaboration diagram for DummyImageGenerator:

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