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>.
Loading...
Searching...
No Matches
qvideotexturehelper_p.h File Reference

(3e781ec9b9d46ca444ef711d0a4ffecbd6c3b225)

#include <qvideoframeformat.h>
#include <rhi/qrhi.h>
#include <QtGui/qtextlayout.h>
+ Include dependency graph for qvideotexturehelper_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QVideoTextureHelper::TextureDescription
 
struct  QVideoTextureHelper::TextureDescription::SizeScale
 
struct  QVideoTextureHelper::UniformData
 
struct  QVideoTextureHelper::SubtitleLayout
 

Namespaces

namespace  QVideoTextureHelper
 

Functions

const TextureDescriptionQVideoTextureHelper::textureDescription (QVideoFrameFormat::PixelFormat format)
 
QString QVideoTextureHelper::vertexShaderFileName (const QVideoFrameFormat &format)
 
QString QVideoTextureHelper::fragmentShaderFileName (const QVideoFrameFormat &format, QRhiSwapChain::Format surfaceFormat)
 
void QVideoTextureHelper::updateUniformData (QByteArray *dst, const QVideoFrameFormat &format, const QVideoFrame &frame, const QMatrix4x4 &transform, float opacity, float maxNits)
 
std::unique_ptr< QVideoFrameTexturesQVideoTextureHelper::createTextures (QVideoFrame &frame, QRhi *rhi, QRhiResourceUpdateBatch *rub, std::unique_ptr< QVideoFrameTextures > &&oldTextures)