avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Public Member Functions | List of all members
av::InputFormat Class Reference

#include <format.h>

Inheritance diagram for av::InputFormat:
Inheritance graph
[legend]
Collaboration diagram for av::InputFormat:
Collaboration graph
[legend]

Public Member Functions

 InputFormat ()=default
 
 InputFormat (const std::string &name) noexcept
 
bool setFormat (const std::string &name) noexcept
 
- Public Member Functions inherited from av::Format< avcpp_format_const< AVInputFormat > >
const char * name () const noexcept
 
const char * longName () const noexcept
 
int32_t flags () const noexcept
 
bool isFlags (int32_t flags) const noexcept
 
void setFormat (avcpp_format_const< AVInputFormat > *format) noexcept
 
bool codecSupported (const class Codec &codec) const noexcept
 
bool codecSupported (AVCodecID codec_id) const noexcept
 
- Public Member Functions inherited from FFWrapperPtr< avcpp_format_const< AVInputFormat > >
 FFWrapperPtr ()=default
 
 FFWrapperPtr (avcpp_format_const< AVInputFormat > *raw)
 
const avcpp_format_const< AVInputFormat > * raw () const
 
avcpp_format_const< AVInputFormat > * raw ()
 
void reset (avcpp_format_const< AVInputFormat > *raw=nullptr)
 
bool isNull () const
 
void _log (int level, const char *fmt) const
 
void _log (int level, const char *fmt, const Args &... args) const
 

Additional Inherited Members

- Protected Attributes inherited from FFWrapperPtr< avcpp_format_const< AVInputFormat > >
avcpp_format_const< AVInputFormat > * m_raw
 

Constructor & Destructor Documentation

◆ InputFormat() [1/2]

av::InputFormat::InputFormat ( )
default

◆ InputFormat() [2/2]

av::InputFormat::InputFormat ( const std::string &  name)
noexcept

Member Function Documentation

◆ setFormat()

bool av::InputFormat::setFormat ( const std::string &  name)
noexcept

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