Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QAVFHelpers Namespace Reference

Functions

Q_MULTIMEDIA_EXPORT QVideoFrameFormat::ColorRange colorRangeForCVPixelFormat (CvPixelFormat cvPixelFormat)
Q_MULTIMEDIA_EXPORT QVideoFrameFormat::PixelFormat fromCVPixelFormat (CvPixelFormat cvPixelFormat)
Q_MULTIMEDIA_EXPORT CvPixelFormat toCVPixelFormat (QVideoFrameFormat::PixelFormat pixFmt, QVideoFrameFormat::ColorRange colorRange)
Q_MULTIMEDIA_EXPORT QVideoFrameFormat videoFormatForImageBuffer (CVImageBufferRef buffer, bool openGL=false)

Function Documentation

◆ colorRangeForCVPixelFormat()

QT_BEGIN_NAMESPACE ColorRange QAVFHelpers::colorRangeForCVPixelFormat ( CvPixelFormat cvPixelFormat)

Definition at line 54 of file qavfhelpers.mm.

◆ fromCVPixelFormat()

PixelFormat QAVFHelpers::fromCVPixelFormat ( CvPixelFormat cvPixelFormat)

Definition at line 59 of file qavfhelpers.mm.

◆ toCVPixelFormat()

Q_MULTIMEDIA_EXPORT CvPixelFormat QAVFHelpers::toCVPixelFormat ( QVideoFrameFormat::PixelFormat pixFmt,
QVideoFrameFormat::ColorRange colorRange )

◆ videoFormatForImageBuffer()

QVideoFrameFormat QAVFHelpers::videoFormatForImageBuffer ( CVImageBufferRef buffer,
bool openGL = false )

Definition at line 69 of file qavfhelpers.mm.