class PVideoChannel |
A class representing a video channel.
![]() | Construction |
![]() | Open functions |
![]() | GetGrabWidth () Return the width of the currently selected grabbing device |
![]() | GetGrabHeight () Return the height of the currently selected grabbing device |
![]() | Write (const void* buf, PINDEX len) Low level write to the channel, which is data to be rendered to the local video display device |
![]() | Redraw (const void* frame) Cause the referenced data to be drawn to the previously defined media |
![]() | GetRenderWidth () Return the previously specified width |
![]() | GetRenderHeight () Return the previously specified height |
![]() | SetRenderFrameSize (int _width, int _height) Specifiy the width and height of the video stream, which is to be rendered onto the previously specified device |
![]() | SetGrabberFrameSize (int _width, int _height) Specifiy the width and height of the video stream, which is to be extracted from the previously specified device |
![]() | AttachVideoPlayer (PVideoOutputDevice* device, BOOL keepCurrent = TRUE) Attach a user specific class for rendering video |
![]() | AttachVideoReader (PVideoInputDevice* device, BOOL keepCurrent = TRUE) Attach a user specific class for acquiring video |
![]() | GetVideoReader () Return a pointer to the class for acquiring video |
![]() | GetVideoPlayer () Return a pointer to the class for displaying video |
![]() | IsGrabberOpen () See if the grabber is open |
![]() | IsRenderOpen () See if the rendering device is open |
![]() | DisplayRawData (void* videoBuffer) Get data from the attached inputDevice, and display on the attached ouptutDevice |
![]() | CloseVideoReader () Destroy the attached grabber class |
![]() | CloseVideoPlayer () Destroy the attached video display class |
![]() | RestrictAccess () Restrict others from using this video channel |
![]() | EnableAccess () Allow free access to this video channel |
![]() | ToggleVFlipInput () Toggle the vertical flip state of the video grabber |
![]() | mpInput Specified video device name, eg /dev/video0 |
![]() | mpOutput For grabbing video from the camera |
![]() | accessMutex For displaying video on the screen |
Overrides from class PObject
Information functions
Reading functions
Writing functions
Miscellaneous functions
Error functions
Run Time Type functions
I/O functions
Comparison functions
A class representing a video channel. This class is provided mainly for the playback or recording of video on the system.Note that this video channel is implicitly a series of frames in YUV411P format. No conversion is performed on data to/from the channel.
If keepCurrent is true, an abort is caused when the program attempts to attach a new player when there is already a video player attached.
If keepCurrent is false, the existing video player is deleted before attaching the new player.
If keepCurrent is true, an abort is caused when the program attempts to attach a new reader when there is already a video reader attached.
If keepCurrent is false, the existing video reader is deleted before attaching the new reader.
Alphabetic index HTML hierarchy of classes or Java