PTLib  Version 2.18.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
videoio.h File Reference
#include <ptlib.h>
#include <ptlib/plugin.h>
#include <ptlib/pluginmgr.h>
#include <ptclib/delaychan.h>
#include <list>
Include dependency graph for videoio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PVideoFrameInfo
 
class  PVideoControlInfo
 
class  PVideoInteractionInfo
 This class defines a video Input device Interactions (Remote Inputs/Controls) More...
 
class  PVideoDevice
 This class defines a video device. More...
 
struct  PVideoDevice::Attributes
 
struct  PVideoDevice::OpenArgs
 
class  PVideoOutputDevice
 This class defines a video output device. More...
 
struct  PVideoOutputDevice::FrameData
 
class  PVideoOutputDeviceRGB
 This class defines a video output device for RGB in a frame store. More...
 
class  PVideoInputDevice
 This class defines a video input device. More...
 
class  PVideoInputDevice::Capabilities
 
class  PVideoInputDeviceIndirect
 This class defines a video input device which is actually another video inpuit device. More...
 
class  PVideoInputEmulatedDevice
 
class  PVideoFont
 
struct  PVideoFont::LetterData
 

Macros

#define PTLIB_VIDEO_YUV420P   "YUV420P"
 
#define PCREATE_VIDINPUT_PLUGIN_EX(name, extra)
 
#define PCREATE_VIDINPUT_PLUGIN(name)   PCREATE_VIDINPUT_PLUGIN_EX(name, )
 
#define P_FAKE_VIDEO_DRIVER   "FakeVideo"
 
#define P_FAKE_VIDEO_PREFIX   "Fake/"
 
#define P_FAKE_VIDEO_MOVING_BLOCKS   P_FAKE_VIDEO_PREFIX"MovingBlocks"
 
#define P_FAKE_VIDEO_MOVING_LINE   P_FAKE_VIDEO_PREFIX"MovingLine"
 
#define P_FAKE_VIDEO_BOUNCING_BOXES   P_FAKE_VIDEO_PREFIX"BouncingBoxes"
 
#define P_FAKE_VIDEO_SOLID_COLOUR   P_FAKE_VIDEO_PREFIX"SolidColour"
 
#define P_FAKE_VIDEO_TEXT   P_FAKE_VIDEO_PREFIX"Text"
 
#define P_FAKE_VIDEO_NTSC   P_FAKE_VIDEO_PREFIX"NTSCTest"
 
#define P_FAKE_VIDEO_BLACK   P_FAKE_VIDEO_PREFIX"Black"
 
#define PCREATE_VIDOUTPUT_PLUGIN_EX(name, extra)
 
#define PCREATE_VIDOUTPUT_PLUGIN(name)   PCREATE_VIDOUTPUT_PLUGIN_EX(name,)
 
#define P_NULL_VIDEO_DRIVER   "NULLOutput"
 
#define P_NULL_VIDEO_DEVICE   "Null Video Out"
 

Functions

 PCREATE_PLUGIN_DEVICE (PVideoInputDevice)
 
 PPLUGIN_STATIC_LOAD (FakeVideo, PVideoInputDevice)
 
 PCREATE_PLUGIN_DEVICE (PVideoOutputDevice)
 
 PPLUGIN_STATIC_LOAD (NULLOutput, PVideoOutputDevice)
 

Macro Definition Documentation

#define P_FAKE_VIDEO_BLACK   P_FAKE_VIDEO_PREFIX"Black"
#define P_FAKE_VIDEO_BOUNCING_BOXES   P_FAKE_VIDEO_PREFIX"BouncingBoxes"
#define P_FAKE_VIDEO_DRIVER   "FakeVideo"
#define P_FAKE_VIDEO_MOVING_BLOCKS   P_FAKE_VIDEO_PREFIX"MovingBlocks"
#define P_FAKE_VIDEO_MOVING_LINE   P_FAKE_VIDEO_PREFIX"MovingLine"
#define P_FAKE_VIDEO_NTSC   P_FAKE_VIDEO_PREFIX"NTSCTest"
#define P_FAKE_VIDEO_PREFIX   "Fake/"
#define P_FAKE_VIDEO_SOLID_COLOUR   P_FAKE_VIDEO_PREFIX"SolidColour"
#define P_FAKE_VIDEO_TEXT   P_FAKE_VIDEO_PREFIX"Text"
#define P_NULL_VIDEO_DEVICE   "Null Video Out"
#define P_NULL_VIDEO_DRIVER   "NULLOutput"
#define PCREATE_VIDINPUT_PLUGIN (   name)    PCREATE_VIDINPUT_PLUGIN_EX(name, )
#define PCREATE_VIDINPUT_PLUGIN_EX (   name,
  extra 
)
Value:
PCREATE_PLUGIN(name, PVideoInputDevice, PVideoInputDevice_##name, PPlugin_PVideoInputDevice, \
virtual PStringArray GetDeviceNames(P_INT_PTR /*userData*/) const { return PVideoInputDevice_##name::GetInputDeviceNames(); } \
virtual bool GetDeviceCapabilities(const PString & deviceName, void * caps) const { return PVideoInputDevice_##name::GetInputDeviceCapabilities(deviceName, (PVideoInputDevice::Capabilities *)caps); } \
extra)
#define PCREATE_PLUGIN(...)
Definition: plugin.h:141
This is an array collection class of PString objects.
Definition: pstring.h:2365
Definition: videoio.h:1014
intptr_t P_INT_PTR
Definition: object.h:2646
The character string class.
Definition: pstring.h:108
This class defines a video input device.
Definition: videoio.h:940
#define PCREATE_VIDOUTPUT_PLUGIN (   name)    PCREATE_VIDOUTPUT_PLUGIN_EX(name,)
#define PCREATE_VIDOUTPUT_PLUGIN_EX (   name,
  extra 
)
Value:
PCREATE_PLUGIN(name, PVideoOutputDevice, PVideoOutputDevice_##name, PPlugin_PVideoOutputDevice, \
virtual PStringArray GetDeviceNames(P_INT_PTR /*userData*/) const { return PVideoOutputDevice_##name::GetOutputDeviceNames(); } \
extra)
#define PCREATE_PLUGIN(...)
Definition: plugin.h:141
This is an array collection class of PString objects.
Definition: pstring.h:2365
intptr_t P_INT_PTR
Definition: object.h:2646
This class defines a video output device.
Definition: videoio.h:712
#define PTLIB_VIDEO_YUV420P   "YUV420P"

Function Documentation

PCREATE_PLUGIN_DEVICE ( PVideoInputDevice  )
PCREATE_PLUGIN_DEVICE ( PVideoOutputDevice  )
PPLUGIN_STATIC_LOAD ( FakeVideo  ,
PVideoInputDevice   
)
PPLUGIN_STATIC_LOAD ( NULLOutput  ,
PVideoOutputDevice   
)