Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QGstUtils Namespace Reference

Functions

Q_MULTIMEDIA_EXPORT QAudioFormat audioFormatForSample (GstSample *sample)
 
QAudioFormat audioFormatForCaps (const QGstCaps &caps)
 
Q_MULTIMEDIA_EXPORT QGstCaps capsForAudioFormat (const QAudioFormat &format)
 
void setFrameTimeStamps (QVideoFrame *frame, GstBuffer *buffer)
 

Function Documentation

◆ audioFormatForCaps()

QAudioFormat QGstUtils::audioFormatForCaps ( const QGstCaps caps)

Definition at line 72 of file qgstutils.cpp.

References QGstCaps::at(), fmt, toString(), and QAudioFormat::Unknown.

Referenced by audioFormatForSample().

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

◆ audioFormatForSample()

QAudioFormat QGstUtils::audioFormatForSample ( GstSample *  sample)

Definition at line 64 of file qgstutils.cpp.

References audioFormatForCaps(), and QGstCaps::NeedsRef.

Referenced by QGstreamerAudioDecoder::read().

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

◆ capsForAudioFormat()

QGstCaps QGstUtils::capsForAudioFormat ( const QAudioFormat format)

Definition at line 99 of file qgstutils.cpp.

References QGstCaps::HasRef.

Referenced by QGstAppSrc::setAudioFormat(), and QGstreamerAudioDecoder::start().

+ Here is the caller graph for this function:

◆ setFrameTimeStamps()

void QGstUtils::setFrameTimeStamps ( QVideoFrame frame,
GstBuffer *  buffer 
)

Definition at line 347 of file qgstutils.cpp.

References frame, and startTime.