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>.
|
#include "qffmpegconverter_p.h"
#include <QtMultimedia/qvideoframeformat.h>
#include <QtMultimedia/qvideoframe.h>
#include <QtCore/qloggingcategory.h>
#include <private/qvideotexturehelper_p.h>
#include <libswscale/swscale.h>
Go to the source code of this file.
Classes | |
struct | QT_BEGIN_NAMESPACE::SwsFrameData |
struct | QT_BEGIN_NAMESPACE::SwsColorSpace |
Namespaces | |
namespace | QT_BEGIN_NAMESPACE |
Combined button and popup list for selecting options. | |
Typedefs | |
using | QT_BEGIN_NAMESPACE::SwsContextUPtr = std::unique_ptr<SwsContext, decltype(&sws_freeContext)> |
using | QT_BEGIN_NAMESPACE::PixelFormat = QVideoFrameFormat::PixelFormat |
Functions | |
QT_BEGIN_NAMESPACE::Q_LOGGING_CATEGORY (lc, "qt.multimedia.ffmpeg.converter") | |
AVPixelFormat | QT_BEGIN_NAMESPACE::toAVPixelFormat (QVideoFrameFormat::PixelFormat pixelFormat) |
SwsFrameData | QT_BEGIN_NAMESPACE::getSwsData (QVideoFrame &dst) |
SwsColorSpace | QT_BEGIN_NAMESPACE::toSwsColorSpace (QVideoFrameFormat::ColorRange colorRange, QVideoFrameFormat::ColorSpace colorSpace) |
SwsContextUPtr | QT_BEGIN_NAMESPACE::createConverter (const QSize &srcSize, PixelFormat srcPixFmt, const QSize &dstSize, PixelFormat dstPixFmt) |
bool | QT_BEGIN_NAMESPACE::setColorSpaceDetails (SwsContext *context, const QVideoFrameFormat &srcFormat, const QVideoFrameFormat &dstFormat) |
bool | QT_BEGIN_NAMESPACE::convert (SwsContext *context, QVideoFrame &src, int srcHeight, QVideoFrame &dst) |
QSize | QT_BEGIN_NAMESPACE::adjustSize (const QSize &size, PixelFormat srcFmt, PixelFormat dstFmt) |
QVideoFrame | convertFrame (QVideoFrame &src, const QVideoFrameFormat &dstFormat) |
QVideoFrame convertFrame | ( | QVideoFrame & | src, |
const QVideoFrameFormat & | dstFormat ) |
Definition at line 235 of file qffmpegconverter.cpp.
References convert(), qCCritical, and qCWarning.
Referenced by QFFmpegMediaIntegration::convertVideoFrame().