3 #include <common/memory/safe_ptr.h>
\r
5 #include <boost/noncopyable.hpp>
\r
15 static bool double_rate(const std::wstring& filters)
\r
17 if(filters.find(L"YADIF=1") != std::string::npos)
\r
20 if(filters.find(L"YADIF=3") != std::string::npos)
\r
26 class filter : boost::noncopyable
\r
29 filter(const std::wstring& filters = L"", const std::vector<PixelFormat>& pix_fmts = std::vector<PixelFormat>());
\r
30 filter(filter&& other);
\r
31 filter& operator=(filter&& other);
\r
33 std::vector<safe_ptr<AVFrame>> execute(const std::shared_ptr<AVFrame>& frame);
\r
36 struct implementation;
\r
37 safe_ptr<implementation> impl_;
\r