QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstAppSinkAdapter.cc File Reference
#include "GstAppSinkAdapter.h"
#include "HwBuffers/GstHwVideoBufferFactory.h"
#include "QGCLoggingCategory.h"
#include "gstqgc/gstqgcvideosinkbin.h"
#include <QtCore/QMetaObject>
#include <QtCore/QMutexLocker>
#include <chrono>
#include <QtMultimedia/QVideoFrame>
#include <QtMultimedia/QVideoFrameFormat>
#include <QtMultimedia/QVideoSink>
#include <gst/app/gstappsink.h>
#include <gst/video/gstvideometa.h>
#include <gst/video/video-hdr.h>
#include <gst/video/video-info.h>
#include <gst/video/video.h>
+ Include dependency graph for GstAppSinkAdapter.cc:

Go to the source code of this file.

Functions

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

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.