![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qmultimediautils_p.h"
#include "qvideoframe.h"
#include "qvideoframeformat.h"
#include <QtCore/qdir.h>
#include <QtCore/qloggingcategory.h>
#include <cmath>
Go to the source code of this file.
Functions | |
QT_BEGIN_NAMESPACE | Q_STATIC_LOGGING_CATEGORY (qLcMultimediaUtils, "qt.multimedia.utils") |
Fraction | qRealToFraction (qreal value) |
QSize | qCalculateFrameSize (QSize resolution, Fraction par) |
QSize | qRotatedFrameSize (QSize size, int rotation) |
QSize | qRotatedFramePresentationSize (const QVideoFrame &frame) |
QUrl | qMediaFromUserInput (QUrl url) |
bool | qIsAutoHdrEnabled () |
QRhiSwapChain::Format | qGetRequiredSwapChainFormat (const QVideoFrameFormat &format) |
bool | qShouldUpdateSwapChainFormat (QRhiSwapChain *swapChain, QRhiSwapChain::Format requiredSwapChainFormat) |
Q_MULTIMEDIA_EXPORT VideoTransformation | qNormalizedSurfaceTransformation (const QVideoFrameFormat &format) |
VideoTransformation | qNormalizedFrameTransformation (const QVideoFrame &frame, VideoTransformation videoOutputTransformation) |
QtVideo::Rotation | qVideoRotationFromDegrees (int clockwiseDegrees) |
VideoTransformationOpt | qVideoTransformationFromMatrix (const QTransform &matrix) |
QT_BEGIN_NAMESPACE Q_STATIC_LOGGING_CATEGORY | ( | qLcMultimediaUtils | , |
"qt.multimedia.utils" | ) |
Definition at line 49 of file qmultimediautils.cpp.
References Fraction::denominator, and Fraction::numerator.
QRhiSwapChain::Format qGetRequiredSwapChainFormat | ( | const QVideoFrameFormat & | format | ) |
Definition at line 86 of file qmultimediautils.cpp.
bool qIsAutoHdrEnabled | ( | ) |
Definition at line 79 of file qmultimediautils.cpp.
Definition at line 74 of file qmultimediautils.cpp.
VideoTransformation qNormalizedFrameTransformation | ( | const QVideoFrame & | frame, |
VideoTransformation | videoOutputTransformation ) |
Definition at line 115 of file qmultimediautils.cpp.
Q_MULTIMEDIA_EXPORT VideoTransformation qNormalizedSurfaceTransformation | ( | const QVideoFrameFormat & | format | ) |
Definition at line 106 of file qmultimediautils.cpp.
Definition at line 17 of file qmultimediautils.cpp.
QSize qRotatedFramePresentationSize | ( | const QVideoFrame & | frame | ) |
Definition at line 66 of file qmultimediautils.cpp.
Definition at line 60 of file qmultimediautils.cpp.
bool qShouldUpdateSwapChainFormat | ( | QRhiSwapChain * | swapChain, |
QRhiSwapChain::Format | requiredSwapChainFormat ) |
Definition at line 95 of file qmultimediautils.cpp.
QtVideo::Rotation qVideoRotationFromDegrees | ( | int | clockwiseDegrees | ) |
Definition at line 128 of file qmultimediautils.cpp.
VideoTransformationOpt qVideoTransformationFromMatrix | ( | const QTransform & | matrix | ) |
Definition at line 144 of file qmultimediautils.cpp.