Video capture, frame conversion, video processing and camera roles. More...
| Header: | #include <video> |
| Since: | 1.0 |
(since 1.0) class | FrameConverter |
(since 1.0) class | VideoContext |
(since 1.0) class | VideoProcessor |
(since 1.0) class | VideoSystem |
(since 1.0) struct | VisionAssignment |
(since 1.0) class | VisionCharacteristics |
(since 1.0) enum class | VisionCharacteristic { PrimaryVision, RearVision, OverheadVision, ThermalVision, DepthVision, Custom } |
libvideo is the video half of the media stack. VideoSystem answers which cameras the node has, VisionCharacteristics gives each camera a role, and VideoProcessor and VideoContext run video frames through a processing graph.
Static utility for converting QVideoFrame to QImage/QPixmap. More...
Video-specific ProcessorContext for graph execution. More...
Abstract base for video processing graph nodes. More...
Thin singleton facade over DeviceManager for video-specific queries. More...
Binds one camera role to one video device. More...
Manages vision role assignments for a node's video devices. More...
[since 1.0] enum class video::VisionCharacteristicThe role a camera has on a node.
A node can have several cameras. A VisionCharacteristic says what one of them is for. visionCharacteristicToString() and visionCharacteristicFromString() convert a role to and from its stored name, and an unknown name reads as Custom.
| Constant | Value | Description |
|---|---|---|
video::VisionCharacteristic::PrimaryVision | 0 | The main, forward-facing camera. |
video::VisionCharacteristic::RearVision | 1 | A rear-facing camera. |
video::VisionCharacteristic::OverheadVision | 2 | An overhead camera. |
video::VisionCharacteristic::ThermalVision | 3 | A thermal sensor. |
video::VisionCharacteristic::DepthVision | 4 | A depth sensor. |
video::VisionCharacteristic::Custom | 255 | A role the user names; video::VisionAssignment holds the name. |
This enum was introduced in 1.0.
See also video::VisionAssignment and video::VisionCharacteristics.