avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
filterpad.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <iterator>
4 #include <memory>
5 #include <type_traits>
6 
7 #include "ffmpeg.h"
8 #include "avutils.h"
9 
10 #if AVCPP_HAS_AVFILTER
11 
12 namespace av {
13 
14 class FilterPadList : public FFWrapperPtr<const AVFilterPad>
15 {
16 private:
17  friend class Filter;
18  FilterPadList(const AVFilterPad *begin, size_t count);
19 
20 public:
22 
23  size_t count() const noexcept;
24  std::string name(size_t index) const noexcept;
25  const char* nameCStr(size_t index) const noexcept;
26  AVMediaType type(size_t index) const noexcept;
27 
28 private:
29  size_t m_count = 0;
30 };
31 
32 } // namespace av
33 
34 #endif // if AVCPP_HAS_AVFILTER
Definition: audioresampler.cpp:8
Definition: averror.h:228
Definition: ffmpeg.h:22