QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCVideoNodeItem Class Reference

#include <QGCVideoNodeItem.h>

+ Inheritance diagram for QGCVideoNodeItem:
+ Collaboration diagram for QGCVideoNodeItem:

Public Member Functions

 QGCVideoNodeItem (QQuickItem *parent=nullptr)
 
 ~QGCVideoNodeItem () override
 
void setCurrentTexture (QRhiTexture *texture, const QSize &frameSize, QVideoFrameFormat::PixelFormat pixelFormat, const QMatrix4x4 &externalTextureMatrix)
 

Protected Member Functions

QSGNode * updatePaintNode (QSGNode *oldNode, UpdatePaintNodeData *data) override
 

Detailed Description

Definition at line 11 of file QGCVideoNodeItem.h.

Constructor & Destructor Documentation

◆ QGCVideoNodeItem()

QGCVideoNodeItem::QGCVideoNodeItem ( QQuickItem *  parent = nullptr)
explicit

Definition at line 6 of file QGCVideoNodeItem.cc.

◆ ~QGCVideoNodeItem()

QGCVideoNodeItem::~QGCVideoNodeItem ( )
overridedefault

Member Function Documentation

◆ setCurrentTexture()

void QGCVideoNodeItem::setCurrentTexture ( QRhiTexture *  texture,
const QSize &  frameSize,
QVideoFrameFormat::PixelFormat  pixelFormat,
const QMatrix4x4 &  externalTextureMatrix 
)

Definition at line 13 of file QGCVideoNodeItem.cc.

◆ updatePaintNode()

QSGNode * QGCVideoNodeItem::updatePaintNode ( QSGNode *  oldNode,
UpdatePaintNodeData *  data 
)
overrideprotected

Definition at line 25 of file QGCVideoNodeItem.cc.

References QGCVideoRenderNode::setFrame().


The documentation for this class was generated from the following files: