2 * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>
\r
4 * This file is part of CasparCG (www.casparcg.com).
\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
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
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
19 * Author: Robert Nagy, ronag89@gmail.com
\r
29 #define WIN32_LEAN_AND_MEAN
\r
31 #include <algorithm>
\r
35 #include <boost/algorithm/string.hpp>
\r
36 #include <boost/algorithm/string/case_conv.hpp>
\r
37 #include <boost/algorithm/string/predicate.hpp>
\r
38 #include <boost/assign.hpp>
\r
39 #include <boost/filesystem.hpp>
\r
40 #include <boost/foreach.hpp>
\r
41 #include <boost/lexical_cast.hpp>
\r
42 #include <boost/noncopyable.hpp>
\r
43 #include <boost/property_tree/ptree.hpp>
\r
44 #include <boost/range/adaptors.hpp>
\r
45 #include <boost/range/algorithm.hpp>
\r
46 #include <boost/range/algorithm.hpp>
\r
47 #include <boost/range/algorithm/find.hpp>
\r
48 #include <boost/range/algorithm/find_if.hpp>
\r
49 #include <boost/range/algorithm_ext/push_back.hpp>
\r
50 #include <boost/range/iterator_range.hpp>
\r
51 #include <boost/regex.hpp>
\r
52 #include <boost/thread/condition_variable.hpp>
\r
53 #include <boost/thread/mutex.hpp>
\r
54 #include <boost/thread/once.hpp>
\r
55 #include <boost/thread/thread.hpp>
\r
56 #include <boost/timer.hpp>
\r
62 #include <functional>
\r
70 #include <tbb/atomic.h>
\r
71 #include <tbb/cache_aligned_allocator.h>
\r
72 #include <tbb/concurrent_queue.h>
\r
73 #include <tbb/concurrent_unordered_map.h>
\r
74 #include <tbb/parallel_for.h>
\r
75 #include <tbb/parallel_invoke.h>
\r
76 #include <tbb/recursive_mutex.h>
\r
77 #include <tbb/tbb_thread.h>
\r
78 #include <unordered_map>
\r
81 #pragma warning(push, 1)
\r
85 #define __STDC_CONSTANT_MACROS
\r
86 #define __STDC_LIMIT_MACROS
\r
87 #include <libavcodec/avcodec.h>
\r
88 #include <libavfilter/avcodec.h>
\r
89 #include <libavfilter/avfilter.h>
\r
90 #include <libavfilter/avfiltergraph.h>
\r
91 #include <libavfilter/buffersink.h>
\r
92 #include <libavfilter/vsrc_buffer.h>
\r
93 #include <libavformat/avformat.h>
\r
94 #include <libavutil/avutil.h>
\r
95 #include <libavutil/common.h>
\r
96 #include <libavutil/cpu.h>
\r
97 #include <libavutil/error.h>
\r
98 #include <libavutil/imgutils.h>
\r
99 #include <libavutil/opt.h>
\r
100 #include <libavutil/pixdesc.h>
\r
101 #include <libavutil/samplefmt.h>
\r
102 #include <libswscale/swscale.h>
\r
105 #pragma warning(pop)
\r