QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
VideoStreamResolver.h File Reference
#include <cstdint>
#include <optional>
#include <QtCore/QByteArray>
#include <QtCore/QObject>
#include <QtCore/QString>
#include <QtQmlIntegration/QtQmlIntegration>
#include "VideoDecoderOptions.h"
#include "VideoReceiver.h"
Include dependency graph for VideoStreamResolver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  VideoStreamResolver::Settings
 The video settings resolve() reads, and what they depend on. More...

Namespaces

namespace  VideoStreamResolver
 Maps the video settings and a camera's advertised stream to what a stream source's VideoReceiver plays.

Enumerations

enum class  VideoStreamResolver::Role : uint8_t { VideoStreamResolver::Primary , VideoStreamResolver::Thermal , VideoStreamResolver::Camera , VideoStreamResolver::Tile }
 What a video source, each with a VideoStreamController, is. VideoSourceRole.Primary, ... in QML. More...

Functions

Settings VideoStreamResolver::snapshot (VideoSettings *videoSettings)
std::optional< VideoReceiver::Config > VideoStreamResolver::resolve (const Settings &settings, const QGCVideoStreamInfo *streamInfo, Role role)
VideoReceiver::DisplayConfig VideoStreamResolver::displayConfig (const Settings &settings)
 The display sink settings: GPU zero-copy unless the CPU path or a software decoder is forced.
bool VideoStreamResolver::isAutoStream (const QGCVideoStreamInfo *streamInfo)
 True when streamInfo advertises a URI, which then takes precedence over the manual settings.
bool VideoStreamResolver::isNetworkSource (const QString &videoSource)
 True for the manual sources that are network streams (not "disabled", not a local camera).
QString VideoStreamResolver::transportName (const QString &uri)