]> git.sesse.net Git - casparcg/blob - modules/ffmpeg/StdAfx.h
2.0.1: ffmpeg: Replaced TBB implementation with better Concurrency Runtime based...
[casparcg] / modules / ffmpeg / StdAfx.h
1 /*\r
2 * copyright (c) 2010 Sveriges Television AB <info@casparcg.com>\r
3 *\r
4 *  This file is part of CasparCG.\r
5 *\r
6 *    CasparCG is free software: you can redistribute it and/or modify\r
7 *    it under the terms of the GNU General Public License as published by\r
8 *    the Free Software Foundation, either version 3 of the License, or\r
9 *    (at your option) any later version.\r
10 *\r
11 *    CasparCG is distributed in the hope that it will be useful,\r
12 *    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
13 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
14 *    GNU General Public License for more details.\r
15 \r
16 *    You should have received a copy of the GNU General Public License\r
17 *    along with CasparCG.  If not, see <http://www.gnu.org/licenses/>.\r
18 *\r
19 */\r
20  \r
21 // stdafx.h : include file for standard system include files,\r
22 //  or project specific include files that are used frequently, but\r
23 //      are changed infrequently\r
24 //\r
25 \r
26 #pragma once\r
27 \r
28 #ifdef _DEBUG\r
29 #include <crtdbg.h>\r
30 #endif\r
31 \r
32 #define NOMINMAX\r
33 \r
34 #include <memory>\r
35 #include <array>\r
36 #include <functional>\r
37 #include <algorithm>\r
38 #include <vector>\r
39 #include <deque>\r
40 #include <queue>\r
41 #include <string>\r
42 #include <math.h>\r
43 \r
44 #include <agents.h>\r
45 #include <ppl.h>\r
46 \r
47 #include <boost/assign.hpp>\r
48 #include <boost/filesystem.hpp>\r
49 #include <boost/foreach.hpp>\r
50 #include <boost/range/algorithm.hpp>\r
51 \r
52 #include <common/utility/string.h>\r
53 #include <common/utility/assert.h>\r
54 #include <common/memory/safe_ptr.h>\r
55 //#include "../common/concurrency/executor.h" // Can't include this due to MSVC lambda bug\r
56 \r
57 #include <common/log/log.h>\r
58 #include <common/exception/exceptions.h>\r
59 #include <common/exception/win32_exception.h>\r
60 \r
61 #pragma warning(push, 1)\r
62 \r
63 extern "C" \r
64 {\r
65         #define __STDC_CONSTANT_MACROS\r
66         #define __STDC_LIMIT_MACROS\r
67         #include <libavformat/avformat.h>\r
68         #include <libavcodec/avcodec.h>\r
69         #include <libavfilter/avfilter.h>\r
70         #include <libswscale/swscale.h>\r
71 }\r
72 \r
73 #pragma warning(pop)\r