]> git.sesse.net Git - casparcg/blob - modules/ffmpeg/StdAfx.h
set svn:eol-style native on .h and .cpp files
[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 #ifdef _DEBUG
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 <asmlib.h>
34 #include <assert.h>
35 #include <boost/algorithm/string.hpp>
36 #include <boost/algorithm/string/case_conv.hpp>
37 #include <boost/algorithm/string/predicate.hpp>
38 #include <boost/assign.hpp>
39 #include <boost/filesystem.hpp>
40 #include <boost/foreach.hpp>
41 #include <boost/lexical_cast.hpp>
42 #include <boost/noncopyable.hpp>
43 #include <boost/property_tree/ptree.hpp>
44 #include <boost/range/adaptors.hpp>
45 #include <boost/range/algorithm.hpp>
46 #include <boost/range/algorithm.hpp>
47 #include <boost/range/algorithm/find.hpp>
48 #include <boost/range/algorithm/find_if.hpp>
49 #include <boost/range/algorithm_ext/push_back.hpp>
50 #include <boost/range/iterator_range.hpp>
51 #include <boost/regex.hpp>
52 #include <boost/thread/condition_variable.hpp>
53 #include <boost/thread/mutex.hpp>
54 #include <boost/thread/once.hpp>
55 #include <boost/thread/thread.hpp>
56 #include <boost/timer.hpp>
57 #include <crtdbg.h>
58 #include <cstdint>
59 #include <cstdio>
60 #include <deque>
61 #include <deque>
62 #include <functional>
63 #include <iostream>
64 #include <limits>
65 #include <math.h>
66 #include <memory>
67 #include <queue>
68 #include <sstream>
69 #include <string>
70 #include <tbb/atomic.h>
71 #include <tbb/cache_aligned_allocator.h>
72 #include <tbb/concurrent_queue.h>
73 #include <tbb/concurrent_unordered_map.h>
74 #include <tbb/parallel_for.h>
75 #include <tbb/parallel_invoke.h>
76 #include <tbb/recursive_mutex.h>
77 #include <tbb/tbb_thread.h>
78 #include <unordered_map>
79 #include <vector>
80
81 #pragma warning(push, 1)
82
83 extern "C" 
84 {
85         #define __STDC_CONSTANT_MACROS
86         #define __STDC_LIMIT_MACROS
87         #include <libavcodec/avcodec.h>
88         #include <libavfilter/avcodec.h>
89         #include <libavfilter/avfilter.h>
90         #include <libavfilter/avfiltergraph.h>
91         #include <libavfilter/buffersink.h>
92         #include <libavfilter/vsrc_buffer.h>
93         #include <libavformat/avformat.h>
94         #include <libavutil/avutil.h>
95         #include <libavutil/common.h>
96         #include <libavutil/cpu.h>
97         #include <libavutil/error.h>
98         #include <libavutil/imgutils.h>
99         #include <libavutil/opt.h>
100         #include <libavutil/pixdesc.h>
101         #include <libavutil/samplefmt.h>
102         #include <libswscale/swscale.h>
103 }
104
105 #pragma warning(pop)