File indexing completed on 2024-04-28 09:21:52
0001 /* 0002 SPDX-FileCopyrightText: 2023 Aleix Pol Gonzalez <aleixpol@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #pragma once 0008 0009 #include "pipewiresourcestream.h" 0010 #include <QByteArray> 0011 #include <epoxy/egl.h> 0012 #include <kpipewire_export.h> 0013 0014 typedef unsigned int GLenum; 0015 0016 namespace PWHelpers 0017 { 0018 0019 KPIPEWIRE_EXPORT QImage SpaBufferToQImage(const uchar *data, int width, int height, qsizetype bytesPerLine, spa_video_format format); 0020 0021 }