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
qwasmvideosink_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists purely as an
9// implementation detail. This header file may change from version to
10// version without notice, or even be removed.
11//
12// We mean it.
13//
14
15#ifndef QWASMVIDEOSINK_H
16#define QWASMVIDEOSINK_H
17
18#include <private/qplatformvideosink_p.h>
19
21
22class QVideoSink;
23class QRhi;
24
26{
28
29public:
30 explicit QWasmVideoSink(QVideoSink *parent = 0);
31
32 void setRhi(QRhi *) override;
33
34private:
35 QRhi *m_rhi = nullptr;
36};
37
38QT_END_NAMESPACE
39
40#endif // QWASMVIDEOSINK_H
\inmodule QtMultimedia
QObject * parent
Definition qobject.h:73
int capture(const QString &fileName) override
void setReadyForCapture(bool isReady)
bool isReadyForCapture() const override
void setImageSettings(const QImageEncoderSettings &settings) override
void setCaptureSession(QPlatformMediaCaptureSession *session)
QImageEncoderSettings imageSettings() const override
int captureToBuffer() override
void setRhi(QRhi *) override
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")