1 | // Copyright (C) 2024 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 "qhwvideobuffer_p.h" |
5 | |
6 | QT_BEGIN_NAMESPACE |
7 | |
8 | QVideoFrameTextures::~QVideoFrameTextures() = default; |
9 | |
10 | QVideoFrameTexturesHandles::~QVideoFrameTexturesHandles() = default; |
11 | |
12 | QHwVideoBuffer::QHwVideoBuffer(QVideoFrame::HandleType type, QRhi *rhi) : m_type(type), m_rhi(rhi) |
13 | { |
14 | } |
15 | |
16 | // must be out-of-line to ensure correct working of dynamic_cast when QHwVideoBuffer is created in tests |
17 | QHwVideoBuffer::~QHwVideoBuffer() = default; |
18 | |
19 | QT_END_NAMESPACE |
20 |