]> git.sesse.net Git - casparcg/blob - modules/ffmpeg/StdAfx.h
f7fb536ae90c8c5d638caed16f56e390d6410b20
[casparcg] / modules / ffmpeg / StdAfx.h
1 /*
2 * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>
3 *
4 * This file is part of CasparCG (www.casparcg.com).
5 *
6 * CasparCG is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * CasparCG is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with CasparCG. If not, see <http://www.gnu.org/licenses/>.
18 *
19 * Author: Robert Nagy, ronag89@gmail.com
20 */
21
22 #pragma once
23
24 #if defined _DEBUG && defined _MSC_VER
25 #include <crtdbg.h>
26 #endif
27
28 #define NOMINMAX
29 #define WIN32_LEAN_AND_MEAN
30
31 #include <algorithm>
32 #include <array>
33 #include <assert.h>
34 #include <boost/algorithm/string.hpp>
35 #include <boost/algorithm/string/case_conv.hpp>
36 #include <boost/algorithm/string/predicate.hpp>
37 #include <boost/filesystem.hpp>
38 #include <boost/lexical_cast.hpp>
39 #include <boost/noncopyable.hpp>
40 #include <boost/property_tree/ptree.hpp>
41 #include <boost/range/adaptors.hpp>
42 #include <boost/range/algorithm.hpp>
43 #include <boost/range/algorithm.hpp>
44 #include <boost/range/algorithm/find.hpp>
45 #include <boost/range/algorithm/find_if.hpp>
46 #include <boost/range/algorithm_ext/push_back.hpp>
47 #include <boost/range/iterator_range.hpp>
48 #include <boost/regex.hpp>
49 #include <boost/thread/condition_variable.hpp>
50 #include <boost/thread/mutex.hpp>
51 #include <boost/thread/once.hpp>
52 #include <boost/thread/thread.hpp>
53 #include <cstdint>
54 #include <cstdio>
55 #include <deque>
56 #include <deque>
57 #include <functional>
58 #include <iostream>
59 #include <limits>
60 #include <math.h>
61 #include <memory>
62 #include <queue>
63 #include <sstream>
64 #include <string>
65 #include <tbb/atomic.h>
66 #include <tbb/cache_aligned_allocator.h>
67 #include <tbb/concurrent_queue.h>
68 #include <tbb/concurrent_unordered_map.h>
69 #include <tbb/parallel_for.h>
70 #include <tbb/parallel_invoke.h>
71 #include <tbb/recursive_mutex.h>
72 #include <tbb/tbb_thread.h>
73 #include <unordered_map>
74 #include <vector>
75 #include <common/timer.h>
76
77 #pragma warning(push, 1)
78
79 extern "C" 
80 {
81         #define __STDC_CONSTANT_MACROS
82         #define __STDC_LIMIT_MACROS
83         #include <libavcodec/avcodec.h>
84         #include <libavfilter/avcodec.h>
85         #include <libavfilter/avfilter.h>
86         #include <libavfilter/avfiltergraph.h>
87         #include <libavfilter/buffersink.h>
88         #include <libavformat/avformat.h>
89         #include <libavutil/avutil.h>
90         #include <libavutil/common.h>
91         #include <libavutil/cpu.h>
92         #include <libavutil/error.h>
93         #include <libavutil/imgutils.h>
94         #include <libavutil/opt.h>
95         #include <libavutil/pixdesc.h>
96         #include <libavutil/samplefmt.h>
97         #include <libswscale/swscale.h>
98 }
99
100 #pragma warning(pop)