SplitCam plugins
1.0.0
Get your own video or still image source as an integral part of SplitCam user interface
|
#include <splitcam_plugin.h>
Public Types | |
using | DataCallback = void(__stdcall *)(const wchar_t *srcId, ImageFormat format, const uint8_t *data, const size_t width, const size_t height, void *param) |
Public Member Functions | |
virtual GUID | iid () const =0 |
virtual ImageFormat | getFormat () const =0 |
virtual void | setDataCallback (DataCallback function, void *param)=0 |
Helper pure virtual class defining which function set must be implemented in this interface.
Image source callback function used to update the image currently presented to the program user.
srcId | The string identifier of the source whose image should be updated |
format | Image format as one of ImageFormat values |
data | Pointer to actual data of the image |
width | Width of the image in pixels |
height | Height of the image in pixels |
param | SplitCam parameter provided in with a call to IImageSource::setDataCallback function |
|
pure virtual |
A wrapper around exported getImageFormat() function
|
pure virtual |
A wrapper around exported getImageInterfaceId() function
|
pure virtual |
A wrapper around exported setDataCallback(splitcam::plugin::IImageSource::DataCallback, void*) function