Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QGstreamerIntegration Class Reference

#include <qgstreamerintegration_p.h>

+ Inheritance diagram for QGstreamerIntegration:
+ Collaboration diagram for QGstreamerIntegration:

Public Member Functions

 QGstreamerIntegration ()
 
 ~QGstreamerIntegration ()
 
QPlatformMediaFormatInfoformatInfo () override
 
QMaybe< QPlatformAudioDecoder * > createAudioDecoder (QAudioDecoder *decoder) override
 
QMaybe< QPlatformMediaCaptureSession * > createCaptureSession () override
 
QMaybe< QPlatformMediaPlayer * > createPlayer (QMediaPlayer *player) override
 
QMaybe< QPlatformCamera * > createCamera (QCamera *) override
 
QMaybe< QPlatformMediaRecorder * > createRecorder (QMediaRecorder *) override
 
QMaybe< QPlatformImageCapture * > createImageCapture (QImageCapture *) override
 
QMaybe< QPlatformVideoSink * > createVideoSink (QVideoSink *sink) override
 
QMaybe< QPlatformAudioInput * > createAudioInput (QAudioInput *) override
 
QMaybe< QPlatformAudioOutput * > createAudioOutput (QAudioOutput *) override
 
const QGstreamerFormatInfogstFormatsInfo () const
 
GstDevice * videoDevice (const QByteArray &id) const
 
- Public Member Functions inherited from QPlatformMediaIntegration
 QPlatformMediaIntegration ()
 
virtual ~QPlatformMediaIntegration ()
 
virtual QPlatformMediaFormatInfoformatInfo ()=0
 
virtual QList< QCameraDevicevideoInputs ()
 
virtual QMaybe< QPlatformCamera * > createCamera (QCamera *)
 
virtual QPlatformSurfaceCapturecreateScreenCapture (QScreenCapture *)
 
virtual QPlatformSurfaceCapturecreateWindowCapture (QWindowCapture *)
 
virtual QMaybe< QPlatformAudioDecoder * > createAudioDecoder (QAudioDecoder *)
 
virtual QMaybe< QPlatformMediaCaptureSession * > createCaptureSession ()
 
virtual QMaybe< QPlatformMediaPlayer * > createPlayer (QMediaPlayer *)
 
virtual QMaybe< QPlatformMediaRecorder * > createRecorder (QMediaRecorder *)
 
virtual QMaybe< QPlatformImageCapture * > createImageCapture (QImageCapture *)
 
virtual QMaybe< QPlatformAudioInput * > createAudioInput (QAudioInput *)
 
virtual QMaybe< QPlatformAudioOutput * > createAudioOutput (QAudioOutput *)
 
virtual QMaybe< QPlatformVideoSink * > createVideoSink (QVideoSink *)
 
QList< QCapturableWindowcapturableWindows ()
 
bool isCapturableWindowValid (const QCapturableWindowPrivate &)
 
QPlatformVideoDevicesvideoDevices ()
 

Static Public Member Functions

static QGstreamerIntegrationinstance ()
 
- Static Public Member Functions inherited from QPlatformMediaIntegration
static QPlatformMediaIntegrationinstance ()
 

Additional Inherited Members

- Protected Attributes inherited from QPlatformMediaIntegration
std::unique_ptr< QPlatformVideoDevicesm_videoDevices
 
std::unique_ptr< QPlatformCapturableWindowsm_capturableWindows
 

Detailed Description

Definition at line 25 of file qgstreamerintegration_p.h.

Constructor & Destructor Documentation

◆ QGstreamerIntegration()

QGstreamerIntegration::QGstreamerIntegration ( )

◆ ~QGstreamerIntegration()

QGstreamerIntegration::~QGstreamerIntegration ( )

Definition at line 47 of file qgstreamerintegration.cpp.

Member Function Documentation

◆ createAudioDecoder()

QMaybe< QPlatformAudioDecoder * > QGstreamerIntegration::createAudioDecoder ( QAudioDecoder decoder)
overridevirtual

Reimplemented from QPlatformMediaIntegration.

Definition at line 62 of file qgstreamerintegration.cpp.

References QGstreamerAudioDecoder::create().

+ Here is the call graph for this function:

◆ createAudioInput()

QMaybe< QPlatformAudioInput * > QGstreamerIntegration::createAudioInput ( QAudioInput q)
overridevirtual

Reimplemented from QPlatformMediaIntegration.

Definition at line 97 of file qgstreamerintegration.cpp.

References QGstreamerAudioInput::create().

+ Here is the call graph for this function:

◆ createAudioOutput()

QMaybe< QPlatformAudioOutput * > QGstreamerIntegration::createAudioOutput ( QAudioOutput q)
overridevirtual

Reimplemented from QPlatformMediaIntegration.

Definition at line 102 of file qgstreamerintegration.cpp.

References QGstreamerAudioOutput::create().

+ Here is the call graph for this function:

◆ createCamera()

QMaybe< QPlatformCamera * > QGstreamerIntegration::createCamera ( QCamera camera)
overridevirtual

Reimplemented from QPlatformMediaIntegration.

Definition at line 77 of file qgstreamerintegration.cpp.

References camera, and QGstreamerCamera::create().

+ Here is the call graph for this function:

◆ createCaptureSession()

QMaybe< QPlatformMediaCaptureSession * > QGstreamerIntegration::createCaptureSession ( )
overridevirtual

Reimplemented from QPlatformMediaIntegration.

Definition at line 67 of file qgstreamerintegration.cpp.

References QGstreamerMediaCapture::create().

+ Here is the call graph for this function:

◆ createImageCapture()

QMaybe< QPlatformImageCapture * > QGstreamerIntegration::createImageCapture ( QImageCapture imageCapture)
overridevirtual

Reimplemented from QPlatformMediaIntegration.

Definition at line 87 of file qgstreamerintegration.cpp.

References QGstreamerImageCapture::create(), and imageCapture.

+ Here is the call graph for this function:

◆ createPlayer()

QMaybe< QPlatformMediaPlayer * > QGstreamerIntegration::createPlayer ( QMediaPlayer player)
overridevirtual

Reimplemented from QPlatformMediaIntegration.

Definition at line 72 of file qgstreamerintegration.cpp.

References QGstreamerMediaPlayer::create(), and player.

+ Here is the call graph for this function:

◆ createRecorder()

QMaybe< QPlatformMediaRecorder * > QGstreamerIntegration::createRecorder ( QMediaRecorder recorder)
overridevirtual

Reimplemented from QPlatformMediaIntegration.

Definition at line 82 of file qgstreamerintegration.cpp.

References recorder.

◆ createVideoSink()

QMaybe< QPlatformVideoSink * > QGstreamerIntegration::createVideoSink ( QVideoSink sink)
overridevirtual

Reimplemented from QPlatformMediaIntegration.

Definition at line 92 of file qgstreamerintegration.cpp.

◆ formatInfo()

QPlatformMediaFormatInfo * QGstreamerIntegration::formatInfo ( )
overridevirtual

Implements QPlatformMediaIntegration.

Definition at line 52 of file qgstreamerintegration.cpp.

◆ gstFormatsInfo()

const QGstreamerFormatInfo * QGstreamerIntegration::gstFormatsInfo ( ) const

Definition at line 57 of file qgstreamerintegration.cpp.

Referenced by createAudioProfile(), createContainerProfile(), and createVideoProfile().

+ Here is the caller graph for this function:

◆ instance()

static QGstreamerIntegration * QGstreamerIntegration::instance ( )
inlinestatic

Definition at line 31 of file qgstreamerintegration_p.h.

References QPlatformMediaIntegration::instance().

Referenced by createAudioProfile(), createContainerProfile(), createVideoProfile(), and QGstreamerCamera::setCamera().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ videoDevice()

GstDevice * QGstreamerIntegration::videoDevice ( const QByteArray id) const

Definition at line 107 of file qgstreamerintegration.cpp.

References QPlatformMediaIntegration::m_videoDevices, and videoDevice().

Referenced by videoDevice().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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