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

Functions

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

Function Documentation

◆ colorRangeForCVPixelFormat()

ColorRange QAVFHelpers::colorRangeForCVPixelFormat ( CvPixelFormat cvPixelFormat)

Definition at line 51 of file qavfhelpers.mm.

Referenced by videoFormatForImageBuffer().

+ Here is the caller graph for this function:

◆ fromCVPixelFormat()

PixelFormat QAVFHelpers::fromCVPixelFormat ( CvPixelFormat cvPixelFormat)

Definition at line 56 of file qavfhelpers.mm.

Referenced by videoFormatForImageBuffer().

+ Here is the caller graph for this function:

◆ toCVPixelFormat()

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

Referenced by QAVFCamera::cameraPixelFormatScore(), AVFCaptureFramesDelegate::captureOutput:didOutputSampleBuffer:fromConnection:, and qt_convert_to_capture_device_format().

+ Here is the caller graph for this function:

◆ videoFormatForImageBuffer()

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