|
SplitCam plugins
1.0.0
Get your own video or still image source as an integral part of SplitCam user interface
|
Go to the documentation of this file.
13 #define EXPORT comment(linker, "/EXPORT:" __FUNCTION__ "=" __FUNCDNAME__)
22 namespace splitcam {
namespace plugin
33 { 0xa434fc43, 0xeed2, 0x4eae, { 0xa7, 0x92, 0x4b, 0x92, 0xcd, 0x91, 0x6f, 0xa1 } };
44 { 0xefedf7cc, 0x795, 0x4c38, { 0xa7, 0x49, 0xdd, 0xea, 0x80, 0xe9, 0xdf, 0x1a } };
56 { 0xd5fe39e8, 0x2501, 0x4d87, { 0x83, 0x79, 0xe8, 0x2a, 0xf9, 0x8d, 0x22, 0x83 } };
67 { 0xacaf8ad1, 0xd7b3, 0x4b6c, { 0xa3, 0x74, 0xe7, 0x9a, 0x71, 0x89, 0x6, 0xf0 } };
79 { 0x7442fd68, 0x30f1, 0x4d19, { 0x97, 0xc2, 0x80, 0x3, 0x1, 0x44, 0x68, 0xfd } };
129 virtual GUID
iid()
const = 0;
134 virtual const wchar_t*
getId()
const = 0;
139 virtual const wchar_t*
getName()
const = 0;
159 virtual bool init() = 0;
177 virtual GUID
iid()
const = 0;
182 virtual const wchar_t*
getName()
const = 0;
187 virtual void getSize(
size_t&,
size_t&)
const = 0;
197 virtual void open(
const wchar_t*) = 0;
202 virtual void close(
const wchar_t*) = 0;
207 virtual void pause(
const wchar_t*,
bool) = 0;
227 using DataCallback = void(__stdcall*)(
const wchar_t* srcId,
ImageFormat format,
const uint8_t* data,
const size_t width,
const size_t height,
void* param);
232 virtual GUID
iid()
const = 0;
256 virtual GUID
iid()
const = 0;
261 virtual const wchar_t*
getUrl()
const = 0;
275 virtual GUID
iid()
const = 0;
280 virtual void onLoad() = 0;
295 virtual void onPosition(
const wchar_t*,
int,
int,
size_t,
size_t) = 0;
437 void onPosition(
const wchar_t* srcId,
int x,
int y,
size_t width,
size_t height);
const wchar_t * getPluginProvider()
void onCanvasSize(size_t width, size_t height)
void closeSource(const wchar_t *srcId)
static const GUID IImageSource_v1
IImageSource interface identifier {D5FE39E8-2501-4D87-8379-E82AF98D2283}.
Definition: splitcam_plugin.h:55
virtual void onCanvasSize(size_t, size_t)=0
virtual GUID iid() const =0
const GUID getEventsInterfaceId()
virtual const wchar_t * getUrl() const =0
splitcam::plugin::ImageFormat getImageFormat()
void onPosition(const wchar_t *srcId, int x, int y, size_t width, size_t height)
Definition: splitcam_plugin.h:170
const wchar_t * getPluginName()
void setDataCallback(splitcam::plugin::IImageSource::DataCallback cb, void *param)
virtual const wchar_t * getName() const =0
void setCanvasSize(size_t width, size_t height)
const GUID getImageInterfaceId()
virtual GUID iid() const =0
virtual void close(const wchar_t *)=0
PluginType
Definition: splitcam_plugin.h:88
void getSourceSize(size_t &width, size_t &height)
const wchar_t * getSourceName()
const wchar_t * getPluginId()
virtual GUID iid() const =0
virtual GUID iid() const =0
static const GUID IEventHandler_v1
IEventHandler interface identifier {7442FD68-30F1-4D19-97C2-8003014468FD}.
Definition: splitcam_plugin.h:78
ImageFormat
Definition: splitcam_plugin.h:114
Definition: splitcam_plugin.h:102
void pauseSource(const wchar_t *srcId, bool val)
const GUID getPluginInterfaceId()
Definition: splitcam_plugin.h:213
void(__stdcall *)(const wchar_t *srcId, ImageFormat format, const uint8_t *data, const size_t width, const size_t height, void *param) DataCallback
Definition: splitcam_plugin.h:227
virtual void setDataCallback(DataCallback function, void *param)=0
static const GUID IPlugin_v1
IPlugin interface identifier {A434FC43-EED2-4EAE-A792-4B92CD916FA1}.
Definition: splitcam_plugin.h:32
virtual void open(const wchar_t *)=0
Definition: splitcam_plugin.h:249
virtual ImageFormat getFormat() const =0
static const GUID IWebSource_v1
IWebSource interface identifier {ACAF8AD1-D7B3-4B6C-A374-E79A718906F0}.
Definition: splitcam_plugin.h:66
virtual Version getVersion() const =0
const wchar_t * getWebUrl()
virtual void getSize(size_t &, size_t &) const =0
virtual const wchar_t * getProvider() const =0
Definition: splitcam_plugin.h:123
static const GUID ISource_v1
ISource interface identifier {EFEDF7CC-0795-4C38-A749-DDEA80E9DF1A}.
Definition: splitcam_plugin.h:43
virtual const wchar_t * getId() const =0
virtual void setCanvasSize(size_t, size_t)=0
virtual void onPosition(const wchar_t *, int, int, size_t, size_t)=0
virtual void pause(const wchar_t *, bool)=0
virtual void onUnload()=0
Definition: splitcam_plugin.h:268
virtual PluginType getType() const =0
void openSource(const wchar_t *srcId)
const splitcam::plugin::Version getPluginVersion()
virtual GUID iid() const =0
splitcam::plugin::PluginType getType()
const GUID getSourceInterfaceId()
virtual const wchar_t * getName() const =0
const GUID getWebInterfaceId()