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

(bd12577890fa5da58998b5e74c1652a4ad00eb84)

#include "qffmpegconverter_p.h"
#include "qffmpeg_p.h"
#include <QtMultimedia/qvideoframeformat.h>
#include <QtMultimedia/qvideoframe.h>
#include <QtCore/qloggingcategory.h>
#include <private/qvideotexturehelper_p.h>
#include <libswscale/swscale.h>
Include dependency graph for qffmpegconverter.cpp:

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::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)
QFFmpeg::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)

Function Documentation

◆ convertFrame()

QVideoFrame convertFrame ( QVideoFrame & src,
const QVideoFrameFormat & dstFormat )

Definition at line 230 of file qffmpegconverter.cpp.