avcpp
3.2.1
Wrapper for the FFmpeg that simplify usage from C++ projects.
Toggle main menu visibility
Loading...
Searching...
No Matches
filterpad.h
Go to the documentation of this file.
1
#pragma once
2
9
10
#include <iterator>
11
#include <memory>
12
#include <type_traits>
13
14
#include "
avcpp/ffmpeg.h
"
15
#include "
avcpp/avutils.h
"
16
17
#if AVCPP_HAS_AVFILTER
18
19
namespace
av
{
20
28
class
FilterPadList :
public
FFWrapperPtr
<const AVFilterPad>
29
{
30
private
:
31
friend
class
Filter;
32
FilterPadList(
const
AVFilterPad *begin,
size_t
count
);
33
34
public
:
35
using
FFWrapperPtr
<
const
AVFilterPad>
::FFWrapperPtr
;
36
42
size_t
count
() const noexcept;
50
std
::
string
name
(
size_t
index) const noexcept;
59
const
char
*
nameCStr
(
size_t
index) const noexcept;
67
AVMediaType
type
(
size_t
index) const noexcept;
68
69
private:
70
size_t
m_count = 0;
71
};
72
73
}
// namespace av
74
75
#endif
// if AVCPP_HAS_AVFILTER
avutils.h
Common helpers: comparisons, value lookup, non-copyable base, string utilities.
av::FilterPadList::count
size_t count() const noexcept
Number of pads.
av::FilterPadList::type
AVMediaType type(size_t index) const noexcept
Media type a pad accepts or produces.
av::FilterPadList::nameCStr
const char * nameCStr(size_t index) const noexcept
Name of a pad as a C string.
av::FilterPadList::name
std::string name(size_t index) const noexcept
Name of a pad.
ffmpeg.h
FFmpeg types re-exported for the public API and small value wrappers.
av
Root namespace of the library.
Definition
audioresampler.h:19
std
STL namespace.
FFWrapperPtr< const AVFilterPad >::FFWrapperPtr
FFWrapperPtr()=default
avcpp
filters
filterpad.h
Generated by
1.18.0