mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-12-01 10:15:22 +00:00
Add missing includes tree-wide
This commit is contained in:
1 parent
a85f933ed0
commit
495cd8b7cd
62 files changed
+194
-4
No files matched your search
@@ -2,6 +2,8 @@
|
||||
|
||||
#include <SDL_opengl.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
CUDARenderer::CUDARenderer()
|
||||
: IFFmpegRenderer(RendererType::CUDA),
|
||||
m_HwContext(nullptr)
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
|
||||
#include <dwmapi.h>
|
||||
|
||||
#include <QByteArray>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using Microsoft::WRL::ComPtr;
|
||||
|
||||
// Standard DXVA GUIDs for HEVC RExt profiles (redefined for compatibility with pre-24H2 SDKs)
|
||||
|
||||
@@ -12,6 +12,8 @@ extern "C" {
|
||||
#include <wrl/client.h>
|
||||
#include <wrl/wrappers/corewrappers.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
class D3D11VARenderer : public IFFmpegRenderer
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -73,6 +73,9 @@ extern "C" {
|
||||
|
||||
#include <Limelight.h>
|
||||
|
||||
#include <QString>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <map>
|
||||
#include <unordered_set>
|
||||
|
||||
|
||||
@@ -10,9 +10,16 @@
|
||||
#include <xf86drm.h>
|
||||
#include <xf86drmMode.h>
|
||||
|
||||
#include <set>
|
||||
#include <unordered_map>
|
||||
#include <algorithm>
|
||||
#include <atomic>
|
||||
#include <inttypes.h>
|
||||
#include <mutex>
|
||||
#include <optional>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
// This is only defined in Linux 6.8+ headers
|
||||
#ifndef DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
#include <QDir>
|
||||
|
||||
#include <Limelight.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <SDL_syswm.h>
|
||||
|
||||
@@ -13,8 +13,11 @@
|
||||
#include <SDL_syswm.h>
|
||||
|
||||
#include <QDir>
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
MmalRenderer::MmalRenderer()
|
||||
: IFFmpegRenderer(RendererType::MMAL),
|
||||
m_Renderer(nullptr),
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
#include "renderer.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
#include <interface/mmal/mmal.h>
|
||||
#include <interface/mmal/util/mmal_util.h>
|
||||
#include <interface/mmal/util/mmal_util_params.h>
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#include "streaming/streamutils.h"
|
||||
#include "streaming/session.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <Windows.h>
|
||||
|
||||
@@ -15,8 +15,9 @@ extern "C" {
|
||||
#include <libavutil/hwcontext_vulkan.h>
|
||||
}
|
||||
|
||||
#include <vector>
|
||||
#include <set>
|
||||
#include <string.h>
|
||||
#include <vector>
|
||||
|
||||
#ifndef VK_KHR_video_decode_av1
|
||||
#define VK_KHR_VIDEO_DECODE_AV1_EXTENSION_NAME "VK_KHR_video_decode_av1"
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include <libplacebo/vulkan.h>
|
||||
|
||||
#ifdef Q_OS_DARWIN
|
||||
#include <memory>
|
||||
|
||||
class MetalVulkanTextureFactory {
|
||||
public:
|
||||
MetalVulkanTextureFactory(pl_vulkan vulkan);
|
||||
|
||||
@@ -7,6 +7,12 @@
|
||||
#include "streaming/video/decoder.h"
|
||||
#include "streaming/video/overlaymanager.h"
|
||||
|
||||
#ifdef HAVE_EGL
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
extern "C" {
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavutil/pixdesc.h>
|
||||
|
||||
@@ -7,6 +7,11 @@
|
||||
|
||||
#include <SDL_syswm.h>
|
||||
|
||||
#include <QString>
|
||||
|
||||
#include <algorithm>
|
||||
#include <string.h>
|
||||
|
||||
extern "C" {
|
||||
#include <libavutil/pixdesc.h>
|
||||
#include <libavutil/opt.h>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <QString>
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
// HACK: Include before vaapi.h to prevent conflicts with Xlib.h
|
||||
@@ -15,8 +16,11 @@
|
||||
|
||||
#include <SDL_syswm.h>
|
||||
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
VAAPIRenderer::VAAPIRenderer(int decoderSelectionPass)
|
||||
: IFFmpegRenderer(RendererType::VAAPI),
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include <Limelight.h>
|
||||
#include <streaming/session.h>
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
#include <mach/mach_time.h>
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <VideoToolbox/VideoToolbox.h>
|
||||
|
||||
@@ -22,6 +22,10 @@ extern "C" {
|
||||
#include <libavutil/pixdesc.h>
|
||||
}
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
#include <math.h>
|
||||
|
||||
struct CscParams
|
||||
{
|
||||
simd_half3x3 matrix;
|
||||
|
||||
Reference in new issue
Block a user