Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
agora::rtc::IVideoFrameMemoryPool Class Referenceabstract

`#include <NGIAgoraVideoFrame.h>`

Inherits agora::RefCountInterface.

Inherited by agora::rtc::IVideoFrameMemoryPoolEx.

## Public Member Functions
virtual agora::agora_refptr< IVideoFrame > | createVideoFrame (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

  data | video frame data of the new video frame
  metatypes | pointer to the array of meta types
  count | number of the meta types in the array

Implemented in agora::rtc::IVideoFrameMemoryPoolEx.