avcpp
2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
src
filters
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
:
21
using
FFWrapperPtr<const AVFilterPad>::FFWrapperPtr
;
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
avutils.h
ffmpeg.h
av
Definition:
audioresampler.cpp:8
std
Definition:
averror.h:228
FFWrapperPtr
Definition:
ffmpeg.h:22
Generated by
1.9.1