|
avcpp 3.1.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Forward iterator over a null-terminated AVPixelFormat array.
#include <hwcontext.h>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| Standard iterator category tag. | |
| using | value_type = PixelFormat |
| 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 = PixelFormat |
| Dereference result type. | |
Public Member Functions | |
| iterator ()=default | |
| End iterator. | |
| iterator (const AVPixelFormat *ptr) noexcept | |
| Point the iterator at an array element. | |
| PixelFormat | operator* () const noexcept |
| Format at the current position. | |
| iterator & | operator++ () noexcept |
| Advance to the next format. | |
| 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. | |
|
inlineexplicitnoexcept |
| ptr | position in the array |
|
inlinenoexcept |
| other | the iterator to compare with |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
| other | the iterator to compare with |