]> git.sesse.net Git - casparcg/blob - modules/ffmpeg/StdAfx.h
2.0.2: Is now locked, only bug fixes should be added. New features go into 2.1.0.
[casparcg] / modules / ffmpeg / StdAfx.h
1 /*\r
2 * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\r
3 *\r
4 * This file is part of CasparCG (www.casparcg.com).\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 * Author: Robert Nagy, ronag89@gmail.com\r
20 */\r
21 \r
22 #pragma once\r
23 \r
24 #ifdef _DEBUG\r
25 #include <crtdbg.h>\r
26 #endif\r
27 \r
28 #define NOMINMAX\r
29 \r
30 #include <memory>\r
31 #include <array>\r
32 #include <functional>\r
33 #include <algorithm>\r
34 #include <vector>\r
35 #include <deque>\r
36 #include <queue>\r
37 #include <string>\r
38 #include <math.h>\r
39 \r
40 #include <tbb/atomic.h>\r
41 #include <tbb/concurrent_queue.h>\r
42 #include <tbb/parallel_for.h>\r
43 \r
44 #include <boost/assign.hpp>\r
45 #include <boost/algorithm/string.hpp>\r
46 #include <boost/filesystem.hpp>\r
47 #include <boost/foreach.hpp>\r
48 #include <boost/range/algorithm.hpp>\r
49 #include <boost/property_tree/ptree.hpp>\r
50 #include <boost/assign.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