]> git.sesse.net Git - casparcg/blob - modules/ffmpeg/StdAfx.h
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches...
[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 <agents_extras.h>\r
46 #include <concrt.h>\r
47 #include <concrt_extras.h>\r
48 #include <ppl.h>\r
49 \r
50 #include <boost/assign.hpp>\r
51 #include <boost/filesystem.hpp>\r
52 #include <boost/foreach.hpp>\r
53 #include <boost/range/algorithm.hpp>\r
54 \r
55 #include <common/utility/string.h>\r
56 #include <common/utility/assert.h>\r
57 #include <common/memory/safe_ptr.h>\r
58 //#include "../common/concurrency/executor.h" // Can't include this due to MSVC lambda bug\r
59 \r
60 #include <common/log/log.h>\r
61 #include <common/exception/exceptions.h>\r
62 #include <common/exception/win32_exception.h>\r
63 \r
64 #pragma warning(push, 1)\r
65 \r
66 extern "C" \r
67 {\r
68         #define __STDC_CONSTANT_MACROS\r
69         #define __STDC_LIMIT_MACROS\r
70         #include <libavformat/avformat.h>\r
71         #include <libavcodec/avcodec.h>\r
72         #include <libavfilter/avfilter.h>\r
73         #include <libswscale/swscale.h>\r
74 }\r
75 \r
76 #pragma warning(pop)\r
77 \r
78 #undef  Yield