mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-05 14:30:00 +01:00
avfilter/vsrc_gfxcapture: make checkheaders happy
This commit is contained in:
@@ -19,6 +19,10 @@
|
||||
#ifndef AVFILTER_VSRC_GFXCAPTURE_H
|
||||
#define AVFILTER_VSRC_GFXCAPTURE_H
|
||||
|
||||
#include "libavutil/log.h"
|
||||
#include "libavutil/rational.h"
|
||||
#include "libavfilter/avfilter.h"
|
||||
|
||||
typedef struct GfxCaptureContextCpp GfxCaptureContextCpp;
|
||||
|
||||
enum GfxResizeMode {
|
||||
|
||||
@@ -16,24 +16,9 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
extern "C" {
|
||||
#include "config.h"
|
||||
}
|
||||
#include "vsrc_gfxcapture_winrt.hpp"
|
||||
#include "vsrc_gfxcapture_shader.h"
|
||||
|
||||
#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0A00
|
||||
#undef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0A00
|
||||
#endif
|
||||
|
||||
#define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0x130000
|
||||
|
||||
// work around bug in mingw double-defining IReference<unsigned char> (BYTE == boolean)
|
||||
#define ____FIReference_1_boolean_INTERFACE_DEFINED__
|
||||
|
||||
#include <windows.h>
|
||||
#include <initguid.h>
|
||||
#include <wrl.h>
|
||||
#include <roapi.h>
|
||||
#include <dwmapi.h>
|
||||
#include <d3d11.h>
|
||||
#include <d3dcompiler.h>
|
||||
@@ -66,16 +51,12 @@ extern "C" {
|
||||
#include <atomic>
|
||||
#include <cinttypes>
|
||||
#include <condition_variable>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <regex>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "vsrc_gfxcapture_winrt.h"
|
||||
#include "vsrc_gfxcapture_shader.h"
|
||||
|
||||
using namespace ABI::Windows::System;
|
||||
using namespace ABI::Windows::Foundation;
|
||||
using namespace ABI::Windows::Graphics::Capture;
|
||||
|
||||
@@ -19,6 +19,30 @@
|
||||
#ifndef AVFILTER_VSRC_GFXCAPTURE_WINRT_H
|
||||
#define AVFILTER_VSRC_GFXCAPTURE_WINRT_H
|
||||
|
||||
extern "C" {
|
||||
#include "config.h"
|
||||
}
|
||||
|
||||
#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0A00
|
||||
#undef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0A00
|
||||
#endif
|
||||
|
||||
#define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0x130000
|
||||
|
||||
// work around bug in mingw double-defining IReference<unsigned char> (BYTE == boolean)
|
||||
#define ____FIReference_1_boolean_INTERFACE_DEFINED__
|
||||
|
||||
#include <windows.h>
|
||||
#include <initguid.h>
|
||||
#include <wrl.h>
|
||||
#include <roapi.h>
|
||||
#include <windows.foundation.h>
|
||||
|
||||
#include <atomic>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
// Forward-declare IDirect3DDxgiInterfaceAccess if headers too old
|
||||
#if !HAVE_IDIRECT3DDXGIINTERFACEACCESS
|
||||
namespace Windows::Graphics::DirectX::Direct3D11 {
|
||||
Reference in New Issue
Block a user