|
avcpp 3.1.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Forward iterator that creates and destroys one device per step.
#include <hwcontext.h>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| Standard iterator category tag. | |
| using | value_type = DeviceProbe |
| Type produced by dereferencing. | |
| using | difference_type = std::ptrdiff_t |
| Distance type required by the iterator traits. | |
| using | pointer = const DeviceProbe* |
| Pointer to the probe result. | |
| using | reference = const DeviceProbe& |
| Reference to the probe result. | |
Public Member Functions | |
| iterator ()=default | |
| End iterator. | |
| iterator (DeviceType type, const char *device) | |
| Start at the given type and probe it immediately. | |
| reference | operator* () const noexcept |
| Result of the current probe. | |
| pointer | operator-> () const noexcept |
| Result of the current probe. | |
| iterator & | operator++ () noexcept |
| Move to the next type and probe it. | |
| 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 |
| type | the first device type to probe |
| device | backend-specific selector, borrowed for the whole iteration |
|
inlinenoexcept |
| other | the iterator to compare with |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
| other | the iterator to compare with |