4#ifndef QVIDEOWINDOW_P_H
5#define QVIDEOWINDOW_P_H
19#include <QOffscreenSurface>
23#include <private/qplatformvideosink_p.h>
24#include <private/qvideotexturehelper_p.h>
58 std::unique_ptr<QOffscreenSurface> m_fallbackSurface;
122 std::unique_ptr<QVideoWindowPrivate>
d;
The QBackingStore class provides a drawing area for QWindow.
The QResizeEvent class contains event parameters for resize events.
Implementation
Describes which graphics API-specific backend gets used by a QRhi instance.
The QScreen class is used to query screen properties. \inmodule QtGui.
The QVideoFrame class represents a frame of video data.
The QVideoSink class represents a generic sink for video data.
void updateSubtitle(QRhiResourceUpdateBatch *rub, const QSize &frameSize)
std::unique_ptr< QRhiShaderResourceBindings > m_shaderResourceBindings
std::unique_ptr< QVideoFrameTextures > m_frameTextures
std::unique_ptr< QRhiShaderResourceBindings > m_subtitleResourceBindings
Qt::AspectRatioMode aspectRatioMode
QVideoTextureHelper::SubtitleLayout m_subtitleLayout
std::unique_ptr< QRhiGraphicsPipeline > m_subtitlePipeline
std::unique_ptr< QRhiSwapChain > m_swapChain
std::unique_ptr< QRhiBuffer > m_uniformBuf
std::unique_ptr< QVideoSink > m_sink
QVideoFrame m_currentFrame
QVideoFrame m_videoFrameSlots[NVideoFrameSlots]
std::unique_ptr< QRhiRenderPassDescriptor > m_renderPass
std::unique_ptr< QRhiGraphicsPipeline > m_graphicsPipeline
std::unique_ptr< QRhi > m_rhi
QRhi::Implementation m_graphicsApi
std::unique_ptr< QRhiTexture > m_subtitleTexture
QBackingStore * backingStore
void setupGraphicsPipeline(QRhiGraphicsPipeline *pipeline, QRhiShaderResourceBindings *bindings, const QVideoFrameFormat &fmt)
std::unique_ptr< QRhiBuffer > m_subtitleUniformBuf
std::unique_ptr< QRhiBuffer > m_vertexBuf
std::unique_ptr< QRhiSampler > m_textureSampler
void updateTextures(QRhiResourceUpdateBatch *rub)
void aspectRatioModeChanged(Qt::AspectRatioMode mode)
virtual void resizeEvent(QResizeEvent *)
Override this to handle resize events (ev).
Combined button and popup list for selecting options.
GLdouble GLdouble GLdouble GLdouble q
static constexpr QSize frameSize(const T &frame)
QVideoFrameFormat::PixelFormat fmt
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent