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
qsgvivantevideonodefactory.h
Go to the documentation of this file.
1// Copyright (C) 2016 Pelagicore AG
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 QSGVIDEONODEFACTORY_VIVANTE_H
5#define QSGVIDEONODEFACTORY_VIVANTE_H
6
7#include <QObject>
8#include <private/qsgvideonode_p.h>
9
10class QSGVivanteVideoNodeFactory : public QObject, public QSGVideoNodeFactoryInterface
11{
12public:
14 Q_PLUGIN_METADATA(IID QSGVideoNodeFactoryInterface_iid FILE "imx6.json")
15 Q_INTERFACES(QSGVideoNodeFactoryInterface)
16
17 QList<QVideoFrameFormat::PixelFormat> supportedPixelFormats(QVideoFrame::HandleType handleType) const;
19};
20#endif // QSGVIDEONODEFACTORY_VIVANTE_H
\inmodule QtCore
Definition qobject.h:103
QSGVideoNode * createNode(const QVideoFrameFormat &format)
QList< QVideoFrameFormat::PixelFormat > supportedPixelFormats(QVideoFrame::HandleType handleType) const
The QVideoFrameFormat class specifies the stream format of a video presentation surface.
HandleType
Identifies the type of a video buffers handle.
Definition qvideoframe.h:31
GLuint64 GLenum handleType
GLint GLsizei GLsizei GLenum format
#define Q_OBJECT
#define Q_PLUGIN_METADATA(x)
#define Q_INTERFACES(x)