Loading...
Searching...
No Matches
Gfx::CameraPreviewWidget Class Reference
Live preview of a Video::ExternalInput, for device settings dialogs. More...
Inheritance diagram for Gfx::CameraPreviewWidget:
Detailed Description
Live preview of a Video::ExternalInput, for device settings dialogs.
Renders through the ordinary score::gfx path – CameraNode into a private Graph, read back by RhiPreviewWidget – so what the dialog shows is what the device will produce, decoders and colour handling included.
Public Member Functions | |
| CameraPreviewWidget (QWidget *parent=nullptr) | |
| void | setInput (std::shared_ptr< Video::ExternalInput > input) |
| Takes ownership of the input's lifetime: starts it, stops it on clear(). | |
| void | clear () |
| const Video::VideoMetadata * | metadata () const noexcept |
| Fields are only meaningful once the input has delivered a frame. | |
The documentation for this class was generated from the following files:
- CameraPreviewWidget.hpp
- CameraPreviewWidget.cpp