Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qvideotexturehelper_p.h File Reference
#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)