]> git.sesse.net Git - casparcg/blob - accelerator/accelerator.h
[streaming_consumer] Default to pcm_s24le for containers supporting it instead of...
[casparcg] / accelerator / accelerator.h
1 #pragma once
2
3 #include <common/forward.h>
4 #include <common/memory.h>
5
6 #include <core/fwd.h>
7
8 #include <boost/noncopyable.hpp>
9
10 namespace caspar { namespace accelerator {
11         
12 class accelerator : boost::noncopyable
13 {
14 public:
15         accelerator(const std::wstring& path);
16         ~accelerator();
17
18         std::unique_ptr<core::image_mixer> create_image_mixer(int channel_id);
19
20         std::shared_ptr<ogl::device> get_ogl_device() const;
21 private:
22         struct impl;
23         spl::unique_ptr<impl> impl_;
24 };
25
26 }}