PonyPlayer
VideoFrameRef类 参考

#include <frame.hpp>

Public 成员函数

 VideoFrameRef (AVFrame *frame, bool isValid, double pts)
 
 VideoFrameRef ()
 
 VideoFrameRef (VideoFrameRef &&rhs) noexcept
 
 VideoFrameRef (const VideoFrameRef &rhs)
 
VideoFrameRefoperator= (VideoFrameRef &&rhs) noexcept
 
VideoFrameRefoperator= (const VideoFrameRef &rhs) noexcept
 
 ~VideoFrameRef ()
 
bool operator== (const VideoFrameRef &frame) const
 
bool operator!= (const VideoFrameRef &frame) const
 
bool isValid () const
 
double getPTS () const
 
std::byte * getY () const
 
std::byte * getU () const
 
std::byte * getV () const
 
int getLineSize () const
 
int getWidth () const
 
int getHeight () const
 
bool isSameSize (const VideoFrameRef &frame) const
 
bool isSameSize (int width, int height) const
 

构造及析构函数说明

◆ VideoFrameRef() [1/4]

VideoFrameRef::VideoFrameRef ( AVFrame *  frame,
bool  isValid,
double  pts 
)
inline

◆ VideoFrameRef() [2/4]

VideoFrameRef::VideoFrameRef ( )
inline

◆ VideoFrameRef() [3/4]

VideoFrameRef::VideoFrameRef ( VideoFrameRef &&  rhs)
inlinenoexcept

◆ VideoFrameRef() [4/4]

VideoFrameRef::VideoFrameRef ( const VideoFrameRef rhs)
inline

◆ ~VideoFrameRef()

VideoFrameRef::~VideoFrameRef ( )
inline

成员函数说明

◆ getHeight()

int VideoFrameRef::getHeight ( ) const
inline

◆ getLineSize()

int VideoFrameRef::getLineSize ( ) const
inline

◆ getPTS()

double VideoFrameRef::getPTS ( ) const
inline

◆ getU()

std::byte * VideoFrameRef::getU ( ) const
inline

◆ getV()

std::byte * VideoFrameRef::getV ( ) const
inline

◆ getWidth()

int VideoFrameRef::getWidth ( ) const
inline

◆ getY()

std::byte * VideoFrameRef::getY ( ) const
inline

◆ isSameSize() [1/2]

bool VideoFrameRef::isSameSize ( const VideoFrameRef frame) const
inline

◆ isSameSize() [2/2]

bool VideoFrameRef::isSameSize ( int  width,
int  height 
) const
inline

◆ isValid()

bool VideoFrameRef::isValid ( ) const
inline
返回
图像数据是否有效

◆ operator!=()

bool VideoFrameRef::operator!= ( const VideoFrameRef frame) const
inline

◆ operator=() [1/2]

VideoFrameRef & VideoFrameRef::operator= ( const VideoFrameRef rhs)
inlinenoexcept

◆ operator=() [2/2]

VideoFrameRef & VideoFrameRef::operator= ( VideoFrameRef &&  rhs)
inlinenoexcept

◆ operator==()

bool VideoFrameRef::operator== ( const VideoFrameRef frame) const
inline

该类的文档由以下文件生成: