Pads of a filter: its inputs or its outputs.
More...
#include <filterpad.h>
|
| size_t | count () const noexcept |
| | Number of pads.
|
| std::string | name (size_t index) const noexcept |
| | Name of a pad.
|
| const char * | nameCStr (size_t index) const noexcept |
| | Name of a pad as a C string.
|
| AVMediaType | type (size_t index) const noexcept |
| | Media type a pad accepts or produces.
|
|
| FFWrapperPtr ()=default |
| | Create an empty wrapper; isNull() is true.
|
| const const AVFilterPad * | raw () const |
| | Read access to the wrapped object.
|
| void | reset (const AVFilterPad *raw=nullptr) |
| | Replace the stored pointer.
|
| bool | isNull () const |
| | Whether the wrapper is empty.
|
| void | _log (int level, const char *fmt) const |
| | Log through the FFmpeg log system, using this wrapper as the context.
|
|
|
const AVFilterPad * | m_raw |
| | The wrapped pointer; owned by the derived class, not by this template.
|
Pads are the typed endpoints a filter exposes; the list is a non-owning view into the filter's static description, valid while the filter descriptor lives.
◆ count()
| size_t av::FilterPadList::count |
( |
| ) |
const |
|
noexcept |
◆ name()
| std::string av::FilterPadList::name |
( |
size_t | index | ) |
const |
|
noexcept |
- Parameters
-
| index | zero-based pad index |
- Returns
- the name, or an empty string when the index is out of range
◆ nameCStr()
| const char * av::FilterPadList::nameCStr |
( |
size_t | index | ) |
const |
|
noexcept |
- Parameters
-
| index | zero-based pad index |
- Returns
- a static string owned by FFmpeg, or nullptr when the index is out of range
◆ type()
| AVMediaType av::FilterPadList::type |
( |
size_t | index | ) |
const |
|
noexcept |
- Parameters
-
| index | zero-based pad index |
- Returns
- the AVMEDIA_TYPE_* value
The documentation for this class was generated from the following file: