Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QX11SurfaceCapture::Grabber Class Reference
+ Inheritance diagram for QX11SurfaceCapture::Grabber:
+ Collaboration diagram for QX11SurfaceCapture::Grabber:

Public Member Functions

 ~Grabber () override
 
const QVideoFrameFormatformat () const
 

Static Public Member Functions

static std::unique_ptr< Grabbercreate (QX11SurfaceCapture &capture, QScreen *screen)
 
static std::unique_ptr< Grabbercreate (QX11SurfaceCapture &capture, WId wid)
 

Protected Member Functions

QVideoFrame grabFrame () override
 

Additional Inherited Members

- Signals inherited from QFFmpegSurfaceCaptureThread
void frameGrabbed (const QVideoFrame &)
 
void errorUpdated (QPlatformSurfaceCapture::Error error, const QString &description)
 
- Signals inherited from QThread
void started (QPrivateSignal)
 
void finished (QPrivateSignal)
 
- Signals inherited from QObject
void destroyed (QObject *=nullptr)
 This signal is emitted immediately before the object obj is destroyed, after any instances of QPointer have been notified, and cannot be blocked.
 
void objectNameChanged (const QString &objectName, QPrivateSignal)
 This signal is emitted after the object's name has been changed.
 
- Properties inherited from QObject
QString objectName
 the name of this object
 

Detailed Description

Definition at line 121 of file qx11surfacecapture.cpp.

Constructor & Destructor Documentation

◆ ~Grabber()

QX11SurfaceCapture::Grabber::~Grabber ( )
inlineoverride

Definition at line 136 of file qx11surfacecapture.cpp.

References QFFmpegSurfaceCaptureThread::stop().

+ Here is the call graph for this function:

Member Function Documentation

◆ create() [1/2]

static std::unique_ptr< Grabber > QX11SurfaceCapture::Grabber::create ( QX11SurfaceCapture capture,
QScreen screen 
)
inlinestatic

Definition at line 124 of file qx11surfacecapture.cpp.

References screen.

◆ create() [2/2]

static std::unique_ptr< Grabber > QX11SurfaceCapture::Grabber::create ( QX11SurfaceCapture capture,
WId  wid 
)
inlinestatic

Definition at line 130 of file qx11surfacecapture.cpp.

◆ format()

const QVideoFrameFormat & QX11SurfaceCapture::Grabber::format ( ) const
inline

Definition at line 143 of file qx11surfacecapture.cpp.

◆ grabFrame()

QVideoFrame QX11SurfaceCapture::Grabber::grabFrame ( )
inlineoverrideprotectedvirtual

Implements QFFmpegSurfaceCaptureThread.

Definition at line 290 of file qx11surfacecapture.cpp.

References QPlatformSurfaceCapture::CaptureFailed, and QPlatformSurfaceCapture::updateError().

+ Here is the call graph for this function:

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