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
qvideoframeformat.cpp File Reference

(71938abd258876f72893145a2c63e3136d7e6f67)

#include "qvideoframeformat.h"
#include <QtMultimedia/private/qvideotexturehelper_p.h>
#include <QtMultimedia/private/qvideotransformation_p.h>
#include <QtMultimedia/private/qmultimedia_enum_to_string_converter_p.h>
#include <qdebug.h>
#include <qlist.h>
#include <qmetatype.h>
#include <qvariant.h>
#include <qmatrix4x4.h>
Include dependency graph for qvideoframeformat.cpp:

Go to the source code of this file.

Classes

class  QVideoFrameFormatPrivate

Functions

static void initResource ()
 QT_DEFINE_QESDP_SPECIALIZATION_DTOR (QVideoFrameFormatPrivate)
 QT_MM_MAKE_STRING_RESOLVER (QVideoFrameFormat::PixelFormat, QtMultimediaPrivate::EnumName,(QVideoFrameFormat::Format_Invalid, "Invalid")(QVideoFrameFormat::Format_ARGB8888, "ARGB8888")(QVideoFrameFormat::Format_ARGB8888_Premultiplied, "ARGB8888 Premultiplied")(QVideoFrameFormat::Format_XRGB8888, "XRGB8888")(QVideoFrameFormat::Format_BGRA8888, "BGRA8888")(QVideoFrameFormat::Format_BGRX8888, "BGRX8888")(QVideoFrameFormat::Format_BGRA8888_Premultiplied, "BGRA8888 Premultiplied")(QVideoFrameFormat::Format_RGBA8888, "RGBA8888")(QVideoFrameFormat::Format_RGBX8888, "RGBX8888")(QVideoFrameFormat::Format_ABGR8888, "ABGR8888")(QVideoFrameFormat::Format_XBGR8888, "XBGR8888")(QVideoFrameFormat::Format_AYUV, "AYUV")(QVideoFrameFormat::Format_AYUV_Premultiplied, "AYUV Premultiplied")(QVideoFrameFormat::Format_YUV420P, "YUV420P")(QVideoFrameFormat::Format_YUV420P10, "YUV420P10")(QVideoFrameFormat::Format_YUV422P, "YUV422P")(QVideoFrameFormat::Format_YV12, "YV12")(QVideoFrameFormat::Format_UYVY, "UYVY")(QVideoFrameFormat::Format_YUYV, "YUYV")(QVideoFrameFormat::Format_NV12, "NV12")(QVideoFrameFormat::Format_NV21, "NV21")(QVideoFrameFormat::Format_IMC1, "IMC1")(QVideoFrameFormat::Format_IMC2, "IMC2")(QVideoFrameFormat::Format_IMC3, "IMC3")(QVideoFrameFormat::Format_IMC4, "IMC4")(QVideoFrameFormat::Format_Y8, "Y8")(QVideoFrameFormat::Format_Y16, "Y16")(QVideoFrameFormat::Format_P010, "P010")(QVideoFrameFormat::Format_P016, "P016")(QVideoFrameFormat::Format_SamplerExternalOES, "SamplerExternalOES")(QVideoFrameFormat::Format_Jpeg, "Jpeg")(QVideoFrameFormat::Format_SamplerRect, "SamplerRect"))
 QT_MM_MAKE_STRING_RESOLVER (QVideoFrameFormat::ColorSpace, QtMultimediaPrivate::EnumName,(QVideoFrameFormat::ColorSpace_BT601, "ColorSpace_BT601")(QVideoFrameFormat::ColorSpace_BT709, "ColorSpace_BT709")(QVideoFrameFormat::ColorSpace_AdobeRgb, "ColorSpace_AdobeRgb")(QVideoFrameFormat::ColorSpace_BT2020, "ColorSpace_BT2020")(QVideoFrameFormat::ColorSpace_Undefined, "ColorSpace_Undefined"))
 QT_MM_DEFINE_QDEBUG_ENUM (QVideoFrameFormat::ColorSpace)
 QT_MM_MAKE_STRING_RESOLVER (QVideoFrameFormat::ColorTransfer, QtMultimediaPrivate::EnumName,(QVideoFrameFormat::ColorTransfer_Unknown, "ColorTransfer_Unknown")(QVideoFrameFormat::ColorTransfer_BT709, "ColorTransfer_BT709")(QVideoFrameFormat::ColorTransfer_BT601, "ColorTransfer_BT601")(QVideoFrameFormat::ColorTransfer_Linear, "ColorTransfer_Linear")(QVideoFrameFormat::ColorTransfer_Gamma22, "ColorTransfer_Gamma22")(QVideoFrameFormat::ColorTransfer_Gamma28, "ColorTransfer_Gamma28")(QVideoFrameFormat::ColorTransfer_ST2084, "ColorTransfer_ST2084")(QVideoFrameFormat::ColorTransfer_STD_B67, "ColorTransfer_STD_B67"))
 QT_MM_DEFINE_QDEBUG_ENUM (QVideoFrameFormat::ColorTransfer)
 QT_MM_MAKE_STRING_RESOLVER (QVideoFrameFormat::ColorRange, QtMultimediaPrivate::EnumName,(QVideoFrameFormat::ColorRange_Unknown, "ColorRange_Unknown")(QVideoFrameFormat::ColorRange_Video, "ColorRange_Video")(QVideoFrameFormat::ColorRange_Full, "ColorRange_Full"))
 QT_MM_DEFINE_QDEBUG_ENUM (QVideoFrameFormat::ColorRange)
 QT_MM_MAKE_STRING_RESOLVER (QVideoFrameFormat::Direction, QtMultimediaPrivate::EnumName,(QVideoFrameFormat::TopToBottom, "TopToBottom")(QVideoFrameFormat::BottomToTop, "BottomToTop"))
 QT_MM_DEFINE_QDEBUG_ENUM (QVideoFrameFormat::Direction)
QDebug operator<< (QDebug dbg, const QVideoFrameFormat &f)
QDebug operator<< (QDebug dbg, QVideoFrameFormat::PixelFormat pf)

Function Documentation

◆ initResource()

void initResource ( )
static

Definition at line 16 of file qvideoframeformat.cpp.

◆ operator<<() [1/2]

QDebug operator<< ( QDebug dbg,
const QVideoFrameFormat & f )

Definition at line 988 of file qvideoframeformat.cpp.

◆ operator<<() [2/2]

QDebug operator<< ( QDebug dbg,
QVideoFrameFormat::PixelFormat pf )

Definition at line 1008 of file qvideoframeformat.cpp.

◆ QT_DEFINE_QESDP_SPECIALIZATION_DTOR()

QT_DEFINE_QESDP_SPECIALIZATION_DTOR ( QVideoFrameFormatPrivate )

◆ QT_MM_DEFINE_QDEBUG_ENUM() [1/4]

QT_MM_DEFINE_QDEBUG_ENUM ( QVideoFrameFormat::ColorRange )

◆ QT_MM_DEFINE_QDEBUG_ENUM() [2/4]

QT_MM_DEFINE_QDEBUG_ENUM ( QVideoFrameFormat::ColorSpace )

◆ QT_MM_DEFINE_QDEBUG_ENUM() [3/4]

QT_MM_DEFINE_QDEBUG_ENUM ( QVideoFrameFormat::ColorTransfer )

◆ QT_MM_DEFINE_QDEBUG_ENUM() [4/4]

QT_MM_DEFINE_QDEBUG_ENUM ( QVideoFrameFormat::Direction )

◆ QT_MM_MAKE_STRING_RESOLVER() [1/5]

◆ QT_MM_MAKE_STRING_RESOLVER() [2/5]

◆ QT_MM_MAKE_STRING_RESOLVER() [3/5]

QT_MM_MAKE_STRING_RESOLVER ( QVideoFrameFormat::ColorTransfer ,
QtMultimediaPrivate::EnumName ,
(QVideoFrameFormat::ColorTransfer_Unknown, "ColorTransfer_Unknown")(QVideoFrameFormat::ColorTransfer_BT709, "ColorTransfer_BT709")(QVideoFrameFormat::ColorTransfer_BT601, "ColorTransfer_BT601")(QVideoFrameFormat::ColorTransfer_Linear, "ColorTransfer_Linear")(QVideoFrameFormat::ColorTransfer_Gamma22, "ColorTransfer_Gamma22")(QVideoFrameFormat::ColorTransfer_Gamma28, "ColorTransfer_Gamma28")(QVideoFrameFormat::ColorTransfer_ST2084, "ColorTransfer_ST2084")(QVideoFrameFormat::ColorTransfer_STD_B67, "ColorTransfer_STD_B67")  )

◆ QT_MM_MAKE_STRING_RESOLVER() [4/5]

◆ QT_MM_MAKE_STRING_RESOLVER() [5/5]

QT_MM_MAKE_STRING_RESOLVER ( QVideoFrameFormat::PixelFormat ,
QtMultimediaPrivate::EnumName ,
(QVideoFrameFormat::Format_Invalid, "Invalid")(QVideoFrameFormat::Format_ARGB8888, "ARGB8888")(QVideoFrameFormat::Format_ARGB8888_Premultiplied, "ARGB8888 Premultiplied")(QVideoFrameFormat::Format_XRGB8888, "XRGB8888")(QVideoFrameFormat::Format_BGRA8888, "BGRA8888")(QVideoFrameFormat::Format_BGRX8888, "BGRX8888")(QVideoFrameFormat::Format_BGRA8888_Premultiplied, "BGRA8888 Premultiplied")(QVideoFrameFormat::Format_RGBA8888, "RGBA8888")(QVideoFrameFormat::Format_RGBX8888, "RGBX8888")(QVideoFrameFormat::Format_ABGR8888, "ABGR8888")(QVideoFrameFormat::Format_XBGR8888, "XBGR8888")(QVideoFrameFormat::Format_AYUV, "AYUV")(QVideoFrameFormat::Format_AYUV_Premultiplied, "AYUV Premultiplied")(QVideoFrameFormat::Format_YUV420P, "YUV420P")(QVideoFrameFormat::Format_YUV420P10, "YUV420P10")(QVideoFrameFormat::Format_YUV422P, "YUV422P")(QVideoFrameFormat::Format_YV12, "YV12")(QVideoFrameFormat::Format_UYVY, "UYVY")(QVideoFrameFormat::Format_YUYV, "YUYV")(QVideoFrameFormat::Format_NV12, "NV12")(QVideoFrameFormat::Format_NV21, "NV21")(QVideoFrameFormat::Format_IMC1, "IMC1")(QVideoFrameFormat::Format_IMC2, "IMC2")(QVideoFrameFormat::Format_IMC3, "IMC3")(QVideoFrameFormat::Format_IMC4, "IMC4")(QVideoFrameFormat::Format_Y8, "Y8")(QVideoFrameFormat::Format_Y16, "Y16")(QVideoFrameFormat::Format_P010, "P010")(QVideoFrameFormat::Format_P016, "P016")(QVideoFrameFormat::Format_SamplerExternalOES, "SamplerExternalOES")(QVideoFrameFormat::Format_Jpeg, "Jpeg")(QVideoFrameFormat::Format_SamplerRect, "SamplerRect")  )