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>.
|
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) |
ColorRange QAVFHelpers::colorRangeForCVPixelFormat | ( | CvPixelFormat | cvPixelFormat | ) |
Definition at line 51 of file qavfhelpers.mm.
Referenced by videoFormatForImageBuffer().
PixelFormat QAVFHelpers::fromCVPixelFormat | ( | CvPixelFormat | cvPixelFormat | ) |
Definition at line 56 of file qavfhelpers.mm.
Referenced by videoFormatForImageBuffer().
CvPixelFormat QAVFHelpers::toCVPixelFormat | ( | QVideoFrameFormat::PixelFormat | pixFmt, |
QVideoFrameFormat::ColorRange | colorRange ) |
Referenced by QAVFCamera::cameraPixelFormatScore(), AVFCaptureFramesDelegate::captureOutput:didOutputSampleBuffer:fromConnection:, and qt_convert_to_capture_device_format().
QVideoFrameFormat QAVFHelpers::videoFormatForImageBuffer | ( | CVImageBufferRef | buffer, |
bool | openGL = false ) |
Definition at line 66 of file qavfhelpers.mm.
References colorRangeForCVPixelFormat(), QVideoFrameFormat::ColorSpace_BT2020, QVideoFrameFormat::ColorSpace_BT601, QVideoFrameFormat::ColorSpace_BT709, QVideoFrameFormat::ColorSpace_Undefined, QVideoFrameFormat::ColorTransfer_BT601, QVideoFrameFormat::ColorTransfer_BT709, QVideoFrameFormat::ColorTransfer_Gamma22, QVideoFrameFormat::ColorTransfer_Gamma28, QVideoFrameFormat::ColorTransfer_Linear, QVideoFrameFormat::ColorTransfer_ST2084, QVideoFrameFormat::ColorTransfer_STD_B67, QVideoFrameFormat::ColorTransfer_Unknown, QVideoFrameFormat::Format_SamplerRect, fromCVPixelFormat(), iOS, and qWarning.
Referenced by AVFVideoBuffer::AVFVideoBuffer().