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
QGstUtils Namespace Reference

Classes

struct  GListIterator
 
struct  GListRangeAdaptor
 

Functions

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

Function Documentation

◆ audioFormatForCaps()

QAudioFormat QGstUtils::audioFormatForCaps ( const QGstCaps & caps)

Definition at line 56 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 48 of file qgstutils.cpp.

References audioFormatForCaps(), and QGstPointerImpl::QGstObjectWrapper< GstCaps >::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 83 of file qgstutils.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstCaps >::HasRef.

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

+ Here is the caller graph for this function:

◆ setFrameTimeStampsFromBuffer()

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

Definition at line 118 of file qgstutils.cpp.

References frame, and startTime.