Forward iterator over the hardware configurations of a codec.
#include <hwcontext.h>
|
|
using | iterator_category = std::forward_iterator_tag |
| | Standard iterator category tag.
|
|
using | value_type = AVCodecHWConfig |
| | Type produced by dereferencing.
|
|
using | difference_type = std::ptrdiff_t |
| | Distance type required by the iterator traits.
|
|
using | pointer = const AVCodecHWConfig* |
| | Pointer to the configuration entry.
|
|
using | reference = const AVCodecHWConfig& |
| | Reference to the configuration entry.
|
|
|
| iterator ()=default |
| | End iterator.
|
| | iterator (const AVCodec *codec, int index) noexcept |
| | Point the iterator at a configuration index.
|
| reference | operator* () const noexcept |
| | Configuration at the current position.
|
| pointer | operator-> () const noexcept |
| | Configuration at the current position.
|
| iterator & | operator++ () noexcept |
| | Advance to the next configuration.
|
| 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.
|
◆ iterator()
| av::hw::CodecConfigRange::iterator::iterator |
( |
const AVCodec * | codec, |
|
|
int | index ) |
|
inlinenoexcept |
- Parameters
-
| codec | the codec to inspect |
| index | zero-based configuration index; negative means end |
◆ operator!=()
| bool av::hw::CodecConfigRange::iterator::operator!= |
( |
const iterator & | other | ) |
const |
|
inlinenoexcept |
- Parameters
-
| other | the iterator to compare with |
- Returns
- true when the iterators point at different configurations
◆ operator*()
| reference av::hw::CodecConfigRange::iterator::operator* |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- the FFmpeg configuration entry
◆ operator++() [1/2]
| iterator & av::hw::CodecConfigRange::iterator::operator++ |
( |
| ) |
|
|
inlinenoexcept |
◆ operator++() [2/2]
| iterator av::hw::CodecConfigRange::iterator::operator++ |
( |
int | | ) |
|
|
inlinenoexcept |
- Returns
- a copy of the iterator before advancing
◆ operator->()
| pointer av::hw::CodecConfigRange::iterator::operator-> |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- a pointer to the FFmpeg configuration entry
◆ operator==()
| bool av::hw::CodecConfigRange::iterator::operator== |
( |
const iterator & | other | ) |
const |
|
inlinenoexcept |
- Parameters
-
| other | the iterator to compare with |
- Returns
- true when both point at the same configuration
The documentation for this class was generated from the following file: