QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
qt6glitem.cc File Reference
#include <stdio.h>
#include <gst/video/video.h>
#include "qt6glitem.h"
#include "gstqsg6glnode.h"
#include "gstqt6glutility.h"
#include <QtCore/QMutexLocker>
#include <QtCore/QPointer>
#include <QtGui/QGuiApplication>
#include <QtQuick/QQuickWindow>
#include <QtQuick/QSGSimpleTextureNode>
+ Include dependency graph for qt6glitem.cc:

Go to the source code of this file.

Classes

struct  _Qt6GLVideoItemPrivate
 

Macros

#define GST_CAT_DEFAULT   qt_item_debug
 
#define DEFAULT_FORCE_ASPECT_RATIO   TRUE
 
#define DEFAULT_PAR_N   0
 
#define DEFAULT_PAR_D   1
 

Enumerations

enum  { PROP_0 , PROP_FORCE_ASPECT_RATIO , PROP_PIXEL_ASPECT_RATIO }
 

Functions

 GST_DEBUG_CATEGORY_STATIC (qt_item_debug)
 
static gboolean _calculate_par (Qt6GLVideoItem *widget, GstVideoInfo *info)
 

Macro Definition Documentation

◆ DEFAULT_FORCE_ASPECT_RATIO

#define DEFAULT_FORCE_ASPECT_RATIO   TRUE

Definition at line 48 of file qt6glitem.cc.

◆ DEFAULT_PAR_D

#define DEFAULT_PAR_D   1

Definition at line 50 of file qt6glitem.cc.

◆ DEFAULT_PAR_N

#define DEFAULT_PAR_N   0

Definition at line 49 of file qt6glitem.cc.

◆ GST_CAT_DEFAULT

#define GST_CAT_DEFAULT   qt_item_debug

SECTION:Qt6GLVideoItem @short_description: a Qt5 QtQuick item that renders GStreamer video #GstBuffers

#QtGLVideoItem is an #QQuickItem that renders GStreamer video buffers.

Definition at line 45 of file qt6glitem.cc.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
PROP_0 
PROP_FORCE_ASPECT_RATIO 
PROP_PIXEL_ASPECT_RATIO 

Definition at line 52 of file qt6glitem.cc.

Function Documentation

◆ _calculate_par()

static gboolean _calculate_par ( Qt6GLVideoItem widget,
GstVideoInfo *  info 
)
static

◆ GST_DEBUG_CATEGORY_STATIC()

GST_DEBUG_CATEGORY_STATIC ( qt_item_debug  )