SplitCam plugins  1.0.0
Get your own video or still image source as an integral part of SplitCam user interface
Functions
ImageSource

Required by every image source provider. More...

Functions

const GUID splitcam::plugin::getImageInterfaceId ()
 
splitcam::plugin::ImageFormat splitcam::plugin::getImageFormat ()
 
void splitcam::plugin::setDataCallback (splitcam::plugin::IImageSource::DataCallback cb, void *param)
 

Detailed Description

Required by every image source provider.

Function Documentation

◆ getImageFormat()

splitcam::plugin::ImageFormat splitcam::plugin::getImageFormat ( )

SplitCam uses this function to request the image format provided by this image source interface.

Returns
Image format as one of ImageFormat values

◆ getImageInterfaceId()

const GUID splitcam::plugin::getImageInterfaceId ( )

SplitCam calls this function to get the image source interface identifier. The interface identifier defines the function set supported by the current plugin module.

Returns
GUID of the supported events interface version

◆ setDataCallback()

void splitcam::plugin::setDataCallback ( splitcam::plugin::IImageSource::DataCallback  cb,
void *  param 
)

SplitCam calls this function to set the callback used for passing images from the plugin back to SplitCam. Every time this function is called the image displayed on the screen by this plugin will be updated with a new one. It is important to pass the param parameter unchanged in every call to the callback function.

Parameters
cbCallback function to update the source instance image
paramSplitCam set parameter that must be passed back unchanged in a call to callback function