avcpp 3.2.1
Wrapper for the FFmpeg that simplify usage from C++ projects.
Loading...
Searching...
No Matches
av::hw::CodecConfigRange Class Reference

Non-owning iterator over AVCodecHWConfig entries of a codec.

#include <hwcontext.h>

Classes

class  iterator
 Forward iterator over the hardware configurations of a codec. More...

Public Member Functions

 CodecConfigRange ()=default
 Create an empty range.
 CodecConfigRange (const Codec &codec) noexcept
 Iterate the hardware configurations of a codec.
iterator begin () const
 First configuration.
iterator end () const
 End of the range.
bool empty () const
 Whether the codec has no hardware configuration.

Constructor & Destructor Documentation

◆ CodecConfigRange()

av::hw::CodecConfigRange::CodecConfigRange ( const Codec & codec)
inlineexplicitnoexcept
Parameters
codecthe codec to inspect; the range is empty when it is not valid

Member Function Documentation

◆ begin()

iterator av::hw::CodecConfigRange::begin ( ) const
inline
Returns
an iterator at index zero

◆ empty()

bool av::hw::CodecConfigRange::empty ( ) const
inline
Returns
true when there is nothing to iterate

◆ end()

iterator av::hw::CodecConfigRange::end ( ) const
inline
Returns
the past-the-end iterator

The documentation for this class was generated from the following file: