Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qimagevideobuffer_p.h
Go to the documentation of this file.
1
// Copyright (C) 2023 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
#ifndef QIMAGEVIDEOBUFFER_P_H
5
#define QIMAGEVIDEOBUFFER_P_H
6
7
#include <private/qabstractvideobuffer_p.h>
8
#include <
qimage.h
>
9
10
//
11
// W A R N I N G
12
// -------------
13
//
14
// This file is not part of the Qt API. It exists purely as an
15
// implementation detail. This header file may change from version to
16
// version without notice, or even be removed.
17
//
18
// We mean it.
19
//
20
21
QT_BEGIN_NAMESPACE
22
23
class
Q_MULTIMEDIA_EXPORT
QImageVideoBuffer
:
public
QAbstractVideoBuffer
24
{
25
public
:
26
QImageVideoBuffer
(
QImage
image
);
27
28
QVideoFrame::MapMode
mapMode()
const override
;
29
30
MapData
map
(
QVideoFrame::MapMode
mode
)
override
;
31
32
void
unmap()
override
;
33
34
QImage
underlyingImage()
const
;
35
36
private
:
37
QVideoFrame::MapMode
m_mapMode =
QVideoFrame::NotMapped
;
38
QImage
m_image;
39
};
40
41
QT_END_NAMESPACE
42
43
#endif
// QIMAGEVIDEOBUFFER_P_H
QAbstractVideoBuffer
The QAbstractVideoBuffer class is an abstraction for video data. \inmodule QtMultimedia.
Definition
qabstractvideobuffer_p.h:42
QImageVideoBuffer
Definition
qimagevideobuffer_p.h:24
QImage
\inmodule QtGui
Definition
qimage.h:37
QVideoFrame::MapMode
MapMode
Enumerates how a video buffer's data is mapped to system memory.
Definition
qvideoframe.h:37
QVideoFrame::NotMapped
@ NotMapped
Definition
qvideoframe.h:38
map
QMap< QString, QString > map
[6]
Definition
doc_src_containers.cpp:96
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
image
Definition
image.cpp:4
qimage.h
mode
GLenum mode
Definition
qopengles2ext.h:333
QAbstractVideoBuffer::MapData
Definition
qabstractvideobuffer_p.h:51
qtmultimedia
src
multimedia
video
qimagevideobuffer_p.h
Generated by
1.10.0