![]() |
Qt 6.x
The Qt SDK
|
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) |
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().
QAudioFormat QGstUtils::audioFormatForSample | ( | GstSample * | sample | ) |
Definition at line 64 of file qgstutils.cpp.
References audioFormatForCaps(), and QGstCaps::NeedsRef.
Referenced by QGstreamerAudioDecoder::read().
QGstCaps QGstUtils::capsForAudioFormat | ( | const QAudioFormat & | format | ) |
Definition at line 99 of file qgstutils.cpp.
References QGstCaps::HasRef.
Referenced by QGstAppSrc::setAudioFormat(), and QGstreamerAudioDecoder::start().
void QGstUtils::setFrameTimeStamps | ( | QVideoFrame * | frame, |
GstBuffer * | buffer | ||
) |
Definition at line 347 of file qgstutils.cpp.