omegalib
13.1
|
A camera listener that uses plug-ins to encode rendered frames into video streams. More...
#include <CameraStreamer.h>
Public Member Functions | |
CameraStreamer (const String &encoderName) | |
~CameraStreamer () | |
void | initialize (Camera *c, const DrawContext &context) |
void | reset (Camera *c, const DrawContext &context) |
virtual void | endDraw (Camera *cam, DrawContext &context) |
virtual void | beginDraw (Camera *cam, DrawContext &context) |
virtual void | startFrame (Camera *cam, const FrameInfo &frame) |
virtual void | finishFrame (Camera *cam, const FrameInfo &frame) |
IEncoder * | lockEncoder () |
void | unlockEncoder () |
void | setTargetFps (int fps) |
int | getTargetFps () |
void | setResolution (const Vector2i &r) |
Vector2i | getResolution () |
const String & | getEncoderName () |
Public Member Functions inherited from omicron::ReferenceType | |
ReferenceType () | |
virtual | ~ReferenceType () |
void | ref () |
void | unref () |
long | refCount () |
Additional Inherited Members | |
Static Public Member Functions inherited from omicron::ReferenceType | |
static void | printObjCounts () |
Static Protected Attributes inherited from omicron::ReferenceType | |
static List< ReferenceType * > | mysObjList |
A camera listener that uses plug-ins to encode rendered frames into video streams.
omegaToolkit::CameraStreamer::CameraStreamer | ( | const String & | encoderName | ) |
omegaToolkit::CameraStreamer::~CameraStreamer | ( | ) |
|
virtual |
Reimplemented from omega::ICameraListener.
|
virtual |
Reimplemented from omega::ICameraListener.
|
virtual |
Reimplemented from omega::ICameraListener.
|
inline |
|
inline |
|
inline |
void omegaToolkit::CameraStreamer::initialize | ( | Camera * | c, |
const DrawContext & | context | ||
) |
IEncoder* omegaToolkit::CameraStreamer::lockEncoder | ( | ) |
void omegaToolkit::CameraStreamer::reset | ( | Camera * | c, |
const DrawContext & | context | ||
) |
|
inline |
|
inline |
|
virtual |
Reimplemented from omega::ICameraListener.
void omegaToolkit::CameraStreamer::unlockEncoder | ( | ) |