|
avcpp 3.2.1
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Forward iterator over the codecs FFmpeg was built with.
#include <hwcontext.h>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| Standard iterator category tag. | |
| using | value_type = Codec |
| Type produced by dereferencing. | |
| using | difference_type = std::ptrdiff_t |
| Distance type required by the iterator traits. | |
| using | pointer = void |
| No pointer-to-element type: the value is produced on dereference. | |
| using | reference = Codec |
| Dereference result type. | |
Public Member Functions | |
| iterator ()=default | |
| End iterator. | |
| iterator (AVCodecID id, DeviceType type, bool encoders) | |
| Start the iteration and skip everything that does not match. | |
| Codec | operator* () const noexcept |
| Codec at the current position. | |
| iterator & | operator++ () noexcept |
| Advance to the next matching codec. | |
| iterator | operator++ (int) noexcept |
| Advance, returning the previous position. | |
| bool | operator== (const iterator &other) const noexcept |
| Compare positions. | |
| bool | operator!= (const iterator &other) const noexcept |
| Compare positions. | |
|
inline |
| id | the codec identifier to accept, or AV_CODEC_ID_NONE for any |
| type | the device type the codec must support |
| encoders | true to look for encoders, false for decoders |
|
inlinenoexcept |
| other | the iterator to compare with |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
| other | the iterator to compare with |