Video -- Basic Video Library

The Basic Video Library provides facilities to capture video streams from a variety of source video devices (Video4Linux2 and DC1394 on Linux), and encode / decode video streams using the Theora codec library.

Header Files

Config.h
Config.h defines configuration-dependent macros used by the Video library. It should be included by client code that wants to make decisions based on the availability of optional features.
VideoDataFormat.h
VideoDataFormat is a structure to represent video data formats (image size, pixel format, frame rate, etc.) in an API-independent format.
FrameBuffer.h
FrameBuffer is the base class for raw video frames as exposed by video devices.
ImageExtractor.h
ImageExtractor is the base class for processor objects to extract images in a variety of formats from raw video frames as exposed by video devices.
VideoDevice.h
VideoDevice is the base class for video devices from different video APIs.
Colorspaces.h
Colorspaces.h contains convenience functions to convert color values between several common color spaces.
ImageExtractorRGB8.h
ImageExtractorRGB8 is an image extractor class for video frames in 8-bit RGB pixel format.
ImageExtractorY8.h
ImageExtractorY8 is an image extractor class for video frames in 8-bit greyscale format.
ImageExtractorY10B.h
ImageExtractorY10B is an image extractor class for video frames in 10-bit byte-packet Y' greyscale format.
ImageExtractorYUYV.h
ImageExtractorYUYV is an image extractor class for video frames in Y'CbCr 4:2:2 pixel format.
ImageExtractorYV12.h
ImageExtractorYV12 is an image extractor class for video frames in Y'CbCr 4:2:0 pixel format.
BayerPattern.h
BayerPattern is an enumerated type for Bayer color filter patterns used by single-chip video camera sensors.
ImageExtractorBA81.h
ImageExtractorBA81 is an image extractor class for video frames in Bayer pattern pixel formats.
LensDistortion.h
LensDistortion is a class encapsulating a strong lens distortion correction formula with radial and tangential components; the same formula as used in the OpenCV package.
YpCbCr420Texture.h
YpCbCr420Texture is a class to encapsulate management of streaming video in Y'CbCr 4:2:0 pixel format as 2D textures that can be applied to arbitrary geometry.
VideoPane.h
VideoPane is a GLMotif widget class to display video streams in Y'CbCr 4:2:0 pixel format, such as those consumed and produced by the Theora video codec.
ImageExtractorMJPG.h
ImageExtractorMJPG is an image extractor class for video frames in Motion JPEG pixel format.
Linux/V4L2VideoDevice.h
V4L2VideoDevice is a class for video devices accessed through the Video4Linux2 API. This class only exists on Linux, and only if V4L2 support was enabled in the Vrui makefile.
Linux/OculusRiftDK2VideoDevice.h
OculusRiftDK2VideoDevice is a subclass of Video::V4L2VideoDevice to work around the quirky interface of the Oculus Rift DK2's optical tracking camera. This class only exists on Linux, and only if V4L2 support was enabled in the Vrui makefile.
Linux/DC1394VideoDevice.h
DC1394VideoDevice is a class for video devices accessed through the DC1394 FireWire protocol. This class only exists on Linux, and only if DC1394 support was enabled in the Vrui makefile.
OggPage.h
OggPage is a wrapper class for the ogg_page structure from the Ogg stream container API.
OggSync.h
OggSync is a wrapper class for the ogg_sync_state structure from the Ogg stream container API.
OggStream.h
OggStream is a wrapper class for the ogg_stream_state structure from the Ogg stream container API.
TheoraInfo.h
TheoraInfo is a wrapper class for the th_info structure from the Theora 1.1 API.
TheoraComment.h
TheoraComment is a wrapper class for the th_comment structure from the Theora 1.1 API.
TheoraPacket.h
TheoraPacket is a wrapper class for the ogg_packet structure, indicating that an Ogg packet contains a Theora video packet.
TheoraFrame.h
TheoraFrame is a wrapper class for the th_ycbcr_buffer structure from the Theora 1.1 API.
TheoraEncoder.h
TheoraEncoder is a wrapper class for the th_enc_ctx handle type from the Theora 1.1 API.
TheoraDecoder.h
TheoraDecoder is a wrapper class for the th_dec_ctx handle type from the Theora 1.1 API.