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
qohosvideosink.cpp
Go to the documentation of this file.
1
// Copyright (C) 2026 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
#
include
"qohosvideosink_p.h"
5
6
#
include
<
rhi
/
qrhi
.
h
>
7
8
QT_BEGIN_NAMESPACE
9
10
QOhosVideoSink
::
QOhosVideoSink
(
QVideoSink
*
parent
) :
QPlatformVideoSink
(
parent
) { }
11
12
QOhosVideoSink::~QOhosVideoSink() =
default
;
13
14
void
QOhosVideoSink
::
setRhi
(QRhi *rhi)
15
{
16
if
(m_rhi == rhi)
17
return
;
18
m_rhi = rhi;
19
emit rhiChanged();
20
}
21
22
QT_END_NAMESPACE
23
24
#
include
"moc_qohosvideosink_p.cpp"
QObjectData::parent
QObject * parent
Definition
qobject.h:74
QOhosVideoSink
Definition
qohosvideosink_p.h:25
QOhosVideoSink::setRhi
void setRhi(QRhi *rhi) override
Definition
qohosvideosink.cpp:14
QVideoSink
The QVideoSink class represents a generic sink for video data.
Definition
qvideosink.h:22
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtmultimedia
src
plugins
multimedia
ohos
common
qohosvideosink.cpp
Generated on
for Qt by
1.16.1