Meeting SDK for Linux API Reference
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IYUVRawDataI420Converter Class Referenceabstract

I420 YUV raw data converter interface. More...

#include <zoom_sdk_raw_data_def.h>

Public Member Functions

virtual YUVRawDataI420ConvertToYUV ()=0
 Convert the intermediate YUV raw data to YUV raw data.
 
virtual YUVRawDataI420ConvertToYUVViaExternalBuffer (char *buffer_, int size_)=0
 Convert the intermediate YUV raw data to YUV raw data via external buffer.
 
virtual void FillToPixelBuffer (char *ybuffer_, int ybuffer_pre_row_bytes, char *uvbuffer_, int uvbuffer_pre_row_bytes, int width, int height)=0
 Fill data to the pixel buffer if expanding the size of the intermediate YUV raw data.
 
virtual ~IYUVRawDataI420Converter ()
 

Detailed Description

I420 YUV raw data converter interface.

Definition at line 123 of file zoom_sdk_raw_data_def.h.

Constructor & Destructor Documentation

◆ ~IYUVRawDataI420Converter()

virtual IYUVRawDataI420Converter::~IYUVRawDataI420Converter ( )
inlinevirtual

Definition at line 145 of file zoom_sdk_raw_data_def.h.

145{}

Member Function Documentation

◆ ConvertToYUV()

virtual YUVRawDataI420 * IYUVRawDataI420Converter::ConvertToYUV ( )
pure virtual

Convert the intermediate YUV raw data to YUV raw data.

Returns
The YUV raw data. A pointer to YUVRawDataI420. For more details, see YUVRawDataI420.

◆ ConvertToYUVViaExternalBuffer()

virtual YUVRawDataI420 * IYUVRawDataI420Converter::ConvertToYUVViaExternalBuffer ( char * buffer_,
int size_ )
pure virtual

Convert the intermediate YUV raw data to YUV raw data via external buffer.

Parameters
bufferSpecifies the external buffer.
size_Specifies the size of the YUV raw data.
Returns
The YUV raw data. A pointer to YUVRawDataI420. For more details, see YUVRawDataI420.

◆ FillToPixelBuffer()

virtual void IYUVRawDataI420Converter::FillToPixelBuffer ( char * ybuffer_,
int ybuffer_pre_row_bytes,
char * uvbuffer_,
int uvbuffer_pre_row_bytes,
int width,
int height )
pure virtual

Fill data to the pixel buffer if expanding the size of the intermediate YUV raw data.

Parameters
ybuffer_Specifies the y-data of intermediate YUV raw data.
ybuffer_pre_row_bytesSpecifies the width of the y-data.
uvbuffer_Specifies the uv-data of intermediate YUV raw data.
uvbuffer_pre_row_bytesSpecifies the width of the uv-data.
widthSpecifies the new width to extended.
heightSpecifies the new height to extended.