QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstAppSinkAdapter.h File Reference
#include <QtCore/QObject>
#include <QtCore/QElapsedTimer>
#include <QtCore/QList>
#include <QtCore/QMutex>
#include <QtCore/QPointer>
#include <QtCore/QTimer>
#include <QtMultimedia/QVideoFrame>
#include <QtMultimedia/QVideoFrameFormat>
#include <atomic>
#include <cstdint>
#include <gst/gst.h>
#include <gst/app/gstappsink.h>
#include <gst/video/video-info.h>
#include <gst/video/video.h>
+ Include dependency graph for GstAppSinkAdapter.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GstAppSinkAdapter
 Bridges a GStreamer appsink to a Qt QVideoSink. More...
 

Functions

QVideoFrameFormat::ColorSpace toQtColorSpace (GstVideoColorMatrix matrix)
 
QVideoFrameFormat::ColorTransfer toQtColorTransfer (GstVideoTransferFunction transfer)
 
QVideoFrameFormat::PixelFormat toQtPixelFormat (GstVideoFormat fmt)
 
QVideoFrameFormat applyCropMeta (QVideoFrameFormat format, GstBuffer *buffer)
 
void applyOrientationToFrame (QVideoFrame &frame, GstVideoOrientationMethod method)
 

Function Documentation

◆ applyCropMeta()

QVideoFrameFormat applyCropMeta ( QVideoFrameFormat  format,
GstBuffer *  buffer 
)

Definition at line 262 of file GstAppSinkAdapter.cc.

◆ applyOrientationToFrame()

void applyOrientationToFrame ( QVideoFrame &  frame,
GstVideoOrientationMethod  method 
)

Definition at line 131 of file GstAppSinkAdapter.cc.

◆ toQtColorSpace()

QVideoFrameFormat::ColorSpace toQtColorSpace ( GstVideoColorMatrix  matrix)

Definition at line 51 of file GstAppSinkAdapter.cc.

◆ toQtColorTransfer()

QVideoFrameFormat::ColorTransfer toQtColorTransfer ( GstVideoTransferFunction  transfer)

Definition at line 63 of file GstAppSinkAdapter.cc.

◆ toQtPixelFormat()

QVideoFrameFormat::PixelFormat toQtPixelFormat ( GstVideoFormat  fmt)

Definition at line 87 of file GstAppSinkAdapter.cc.