OpenGL
-based MxPEG
decoder backend internally buffering video tile updates and transmitting to the graphics hardware frame-wise and only as frames complete.
More...
#include <SimpleMxPEGRenderer.h>
Inheritance diagram for mx::SimpleMxPEGRenderer:
Signals | |
void | framerateMeasured (float fps) |
Emitted if framerate measure mode is enabled and a new framerate measure becomes available (roughly every n milliseconds with n as it was specified to setFramerateMeasureModeEnabled()). | |
void | firstFrameRendered () |
Emitted when the first frame has been rendered. | |
Public Member Functions | |
SimpleMxPEGRenderer () | |
The constructor does not assume ownership over the viewer widget! | |
mxm::smart< mxmStringList > | enumerateInterfaces () |
(Re)implemented. | |
mxm::smart< mxmStringList > | enumerateCapabilities (const mxmString &interface_id) |
(Re)implemented. | |
void | setGLWidget (QGLWidget *viewer_display) |
(Re)implemented. | |
void | setFramerateMeasureModeEnabled (bool enabled, int measure_interval_ms=10000) |
(Re)implemented. | |
void | enableScaleToFit (bool enabled) |
(Re)implemented. | |
void | drawFrame () |
(Re)implemented. | |
mxmQtSignal | framerateMeasuredSignal () |
(Re)implemented. | |
mxmQtSignal | firstFrameRenderedSignal () |
(Re)implemented. | |
void | videoResolutionChanged (int width, int height) |
(Re)implemented. | |
void | errorEncountered () |
(Re)implemented. | |
void | frameComplete () |
(Re)implemented. | |
void | videoTileTransferred () |
(Re)implemented. | |
mxm::u8 * | provideAudioBlockTarget (const mxmAudioBlockInfo &audio_block_info) |
(Re)implemented. | |
void | audioBlockTransferred () |
(Re)implemented. | |
int | frameCounter () |
(Re)implemented. | |
void | setErrorState () |
(Re)implemented. | |
bool | errorState () |
(Re)implemented. | |
Static Public Member Functions | |
static IComponentInvoker * | newInvoker () |
Generates an invoker singleton for the StreamFile component. | |
Private Member Functions | |
bool | activate () |
Static Private Member Functions | |
static mxm::smart< mxmStringList > | _enumerateInterfaces () |
These static methods provide interface and capability ids for registration with the framework (for both the component and its invoker). | |
static mxm::smart< mxmStringList > | _enumerateCapabilities (const mxmString &interface_id) |
Private Attributes | |
bool | Active |
QGLWidget * | Viewer |
int | CenterX |
int | CenterY |
int | OffsetX |
int | OffsetY |
int | FrameCount |
int | FramerateMeasureInterval |
QTime | FramerateMeasureTime |
int | FramerateFrameCount |
bool | ScaleToFit |
bool | SignalledFirstFrame |
bool | ErrorEncountered |
Classes | |
class | Invoker |
OpenGL
-based MxPEG
decoder backend internally buffering video tile updates and transmitting to the graphics hardware frame-wise and only as frames complete.
This backend was meant only for demo purposes.