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