Agora C++ API Reference for All Platforms
Loading...
Searching...
No Matches
agora::rtc::IVideoFrameMemoryPool Class Referenceabstract

#include <NGIAgoraVideoFrame.h>

Inherits agora::RefCountInterface.

Inherited by agora::rtc::IVideoFrameMemoryPoolEx.

Public Member Functions

virtual agora::agora_refptr< IVideoFramecreateVideoFrame (const VideoFrameData &data, const VideoFrameMetaDataType *metatypes=NULL, int count=0)=0
 
- Public Member Functions inherited from agora::RefCountInterface
virtual void AddRef () const =0
 
virtual RefCountReleaseStatus Release () const =0
 
virtual bool HasOneRef () const =0
 

Protected Member Functions

virtual ~IVideoFrameMemoryPool ()
 
- Protected Member Functions inherited from agora::RefCountInterface
virtual ~RefCountInterface ()
 

Constructor & Destructor Documentation

◆ ~IVideoFrameMemoryPool()

virtual agora::rtc::IVideoFrameMemoryPool::~IVideoFrameMemoryPool ( )
inlineprotectedvirtual

Member Function Documentation

◆ createVideoFrame()

virtual agora::agora_refptr< IVideoFrame > agora::rtc::IVideoFrameMemoryPool::createVideoFrame ( const VideoFrameData & data,
const VideoFrameMetaDataType * metatypes = NULL,
int count = 0 )
pure virtual

Create IVideoFrame

Parameters
datavideo frame data of the new video frame
metatypespointer to the array of meta types
countnumber of the meta types in the array

Implemented in agora::rtc::IVideoFrameMemoryPoolEx.