|
avcpp 3.2.1
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Non-owning view over a null-terminated AVPixelFormat array.
#include <hwcontext.h>
Classes | |
| class | iterator |
| Forward iterator over a null-terminated AVPixelFormat array. More... | |
Public Member Functions | |
| PixelFormatRange ()=default | |
| Create an empty range. | |
| PixelFormatRange (const AVPixelFormat *formats) noexcept | |
| Wrap a null-terminated format array. | |
| iterator | begin () const noexcept |
| First format. | |
| iterator | end () const noexcept |
| One past the last format. | |
| size_t | size () const noexcept |
| Number of formats. | |
| bool | empty () const noexcept |
| Whether the range has no formats. | |
| PixelFormat | operator[] (size_t index) const noexcept |
| Format access. | |
| std::vector< PixelFormat > | toVector () const |
| Copy the range into a vector. | |
|
explicitnoexcept |
| formats | pointer to the first element, terminated by AV_PIX_FMT_NONE; may be null |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
| index | zero-based index; must be less than size() |
|
inlinenoexcept |
| std::vector< PixelFormat > av::hw::PixelFormatRange::toVector | ( | ) | const |