-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstdafx.h
More file actions
54 lines (46 loc) · 1.51 KB
/
Copy pathstdafx.h
File metadata and controls
54 lines (46 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <tchar.h>
#include <stdio.h>
#include <process.h>
#include <stdint.h>
// Platform SDK
#include <sdkddkver.h>
#if (NTDDI_VERSION >= NTDDI_VERSION_FROM_WIN32_WINNT2(0x0602)) // >= _WIN32_WINNT_WIN8
#define MFX_D3D11_SUPPORT 1 // Enable D3D11 support if SDK allows
#pragma message("\nIntel QuickSync Decoder is built with D3D11 support\n")
#else
#define MFX_D3D11_SUPPORT 0
#pragma message("\nNote: Intel QuickSync Decoder is built without D3D11 support!")
#pragma message("\tMust have Windows SDK 8.0 installed and environment variable INTELMEDIASDK_WINSDK_PATH")
#pragma message("\tshould point to it.")
#pragma message("\te.g. \"C:\\Program Files (x86)\\Windows Kits\\8.0\"")
// disable depracated warnings from VC10's Windows SDK 7.0
#pragma warning(disable: 4995)
#endif
#include <d3d9.h>
#include <d3d11.h>
#include <dshow.h>
#include <dvdmedia.h>
#include <initguid.h>
#include <atlbase.h>
#include <dxva2api.h>
#if MFX_D3D11_SUPPORT
#include <dxgi1_2.h>
#endif
// Intel Media SDK
#include <mfxvideo++.h>
// STL
#include <list>
#include <vector>
#include <deque>
#include <set>
#include <algorithm>
// PPL
#include <ppl.h>
// use our own ASSERT macro
#undef ASSERT