avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
av::Frame< T > Class Template Reference

#include <frame.h>

Inheritance diagram for av::Frame< T >:
Inheritance graph
[legend]
Collaboration diagram for av::Frame< T >:
Collaboration graph
[legend]

Public Member Functions

clone (size_t align=1) const
 
 FrameCommon ()
 
 FrameCommon (const AVFrame *frame)
 
 FrameCommon (const FrameCommon &other)
 
 FrameCommon (FrameCommon &&other)
 
- Public Member Functions inherited from av::FrameCommon
 FrameCommon ()
 
 FrameCommon (const AVFrame *frame)
 
 FrameCommon (const FrameCommon &other)
 
 FrameCommon (FrameCommon &&other)
 
 ~FrameCommon ()
 
bool isReferenced () const
 
int refCount () const
 
AVFrame * makeRef () const
 
Timestamp pts () const
 
attribute_deprecated void setPts (int64_t pts, Rational ptsTimeBase)
 
void setPts (const Timestamp &ts)
 
const RationaltimeBase () const
 
void setTimeBase (const Rational &value)
 
int streamIndex () const
 
void setStreamIndex (int streamIndex)
 
void setComplete (bool isComplete)
 
bool isComplete () const
 
bool isValid () const
 
 operator bool () const
 
uint8_t * data (size_t plane=0)
 
const uint8_t * data (size_t plane=0) const
 
size_t size (size_t plane) const
 
size_t size () const
 
void dump () const
 
void operator= (const FrameCommon &)=delete
 
void swap (FrameCommon &other)
 
- Public Member Functions inherited from FFWrapperPtr< AVFrame >
 FFWrapperPtr ()=default
 
 FFWrapperPtr (AVFrame *raw)
 
const AVFrame * raw () const
 
AVFrame * raw ()
 
void reset (AVFrame *raw=nullptr)
 
bool isNull () const
 
void _log (int level, const char *fmt) const
 
void _log (int level, const char *fmt, const Args &... args) const
 

Static Public Member Functions

static T null ()
 

Protected Member Functions

T & assignOperator (const T &rhs)
 
T & moveOperator (T &&rhs)
 
- Protected Member Functions inherited from av::FrameCommon
void copyInfoFrom (const FrameCommon &other)
 
void clone (FrameCommon &dst, size_t align=1) const
 

Additional Inherited Members

- Protected Attributes inherited from av::FrameCommon
Rational m_timeBase {}
 
int m_streamIndex {-1}
 
bool m_isComplete {false}
 
- Protected Attributes inherited from FFWrapperPtr< AVFrame >
AVFrame * m_raw
 

Member Function Documentation

◆ assignOperator()

template<typename T >
T& av::Frame< T >::assignOperator ( const T &  rhs)
inlineprotected

◆ clone()

template<typename T >
T av::Frame< T >::clone ( size_t  align = 1) const
inline

◆ FrameCommon() [1/4]

template<typename T >
av::FrameCommon::FrameCommon

◆ FrameCommon() [2/4]

template<typename T >
av::FrameCommon::FrameCommon

◆ FrameCommon() [3/4]

template<typename T >
av::FrameCommon::FrameCommon

◆ FrameCommon() [4/4]

template<typename T >
av::FrameCommon::FrameCommon

◆ moveOperator()

template<typename T >
T& av::Frame< T >::moveOperator ( T &&  rhs)
inlineprotected

◆ null()

template<typename T >
static T av::Frame< T >::null ( )
inlinestatic

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