Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 QFFmpegSurfaceCaptureGrabber
void frameGrabbed (const QVideoFrame &)
 
void errorUpdated (QPlatformSurfaceCapture::Error error, const QString &description)
 
- 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 86 of file qx11surfacecapture.cpp.

Constructor & Destructor Documentation

◆ ~Grabber()

QX11SurfaceCapture::Grabber::~Grabber ( )
inlineoverride

Definition at line 101 of file qx11surfacecapture.cpp.

References QFFmpegSurfaceCaptureGrabber::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 89 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 95 of file qx11surfacecapture.cpp.

◆ format()

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

Definition at line 108 of file qx11surfacecapture.cpp.

◆ grabFrame()

QVideoFrame QX11SurfaceCapture::Grabber::grabFrame ( )
inlineoverrideprotectedvirtual

Implements QFFmpegSurfaceCaptureGrabber.

Definition at line 256 of file qx11surfacecapture.cpp.

References QPlatformSurfaceCapture::CaptureFailed, QVideoFrameFormat::pixelFormat(), qCopyPixelsWithAlphaMask(), Qt::Uninitialized, and QFFmpegSurfaceCaptureGrabber::updateError().

+ Here is the call graph for this function:

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