ZOOM Windows SDK  5.2.42037.1112
Public Member Functions | List of all members
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. More...
 
virtual YUVRawDataI420ConvertToYUVViaExternalBuffer (char *buffer_, int size_)=0
 Convert the intermediate YUV raw data to YUV raw data via external buffer. More...
 
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. More...
 

Detailed Description

I420 YUV raw data converter interface.

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.

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