Video SDK for Windows API Reference
Loading...
Searching...
No Matches
YUVRawDataI420 Class Referenceabstract

The YUV raw data handler interface. More...

#include <zoom_sdk_raw_data_def.h>

Public Member Functions

virtual bool CanAddRef ()=0
 Determine if the reference count can be increased.
 
virtual bool AddRef ()=0
 Add one to the reference count.
 
virtual int Release ()=0
 Subtract one from the reference count.
 
virtual char * GetYBuffer ()=0
 Get the y-data of the YUV raw data.
 
virtual char * GetUBuffer ()=0
 Get the u-data of the YUV raw data.
 
virtual char * GetVBuffer ()=0
 Get the v-data of the YUV raw data.
 
virtual char * GetAlphaBuffer ()=0
 Get the alpha mask data of YUV raw data.
 
virtual char * GetBuffer ()=0
 Get the YUV raw data.
 
virtual unsigned int GetBufferLen ()=0
 Get the buffer length of the YUV raw data.
 
virtual unsigned int GetAlphaBufferLen ()=0
 Get the alpha mask data length.
 
virtual bool IsLimitedI420 ()=0
 Determine if the YUV raw data is limited range mode.
 
virtual unsigned int GetStreamWidth ()=0
 Get the stream width.
 
virtual unsigned int GetStreamHeight ()=0
 Get the stream height.
 
virtual unsigned int GetRotation ()=0
 Get the rotation angle of the local video device.
 
virtual unsigned int GetSourceID ()=0
 Get the source_id of the current YUV raw data.
 
virtual ~YUVRawDataI420 ()
 

Detailed Description

The YUV raw data handler interface.

Definition at line 38 of file zoom_sdk_raw_data_def.h.

Constructor & Destructor Documentation

◆ ~YUVRawDataI420()

virtual YUVRawDataI420::~YUVRawDataI420 ( )
inlinevirtual

Definition at line 100 of file zoom_sdk_raw_data_def.h.

100{}

Member Function Documentation

◆ AddRef()

virtual bool YUVRawDataI420::AddRef ( )
pure virtual

Add one to the reference count.

Returns
If the function succeeds, the return value is TRUE.

◆ CanAddRef()

virtual bool YUVRawDataI420::CanAddRef ( )
pure virtual

Determine if the reference count can be increased.

Returns
TRUE indicates to the reference count can be increased.

◆ GetAlphaBuffer()

virtual char * YUVRawDataI420::GetAlphaBuffer ( )
pure virtual

Get the alpha mask data of YUV raw data.

Returns
A pointer to the alpha mask data.

◆ GetAlphaBufferLen()

virtual unsigned int YUVRawDataI420::GetAlphaBufferLen ( )
pure virtual

Get the alpha mask data length.

Returns
The length of alpha mask data.

◆ GetBuffer()

virtual char * YUVRawDataI420::GetBuffer ( )
pure virtual

Get the YUV raw data.

Returns
A pointer to the YUV raw data.

◆ GetBufferLen()

virtual unsigned int YUVRawDataI420::GetBufferLen ( )
pure virtual

Get the buffer length of the YUV raw data.

Returns
The length of the YUV raw data.

◆ GetRotation()

virtual unsigned int YUVRawDataI420::GetRotation ( )
pure virtual

Get the rotation angle of the local video device.

Returns
If the function succeeds, the return is enumerated in LocalVideoDeviceRotation enum

◆ GetSourceID()

virtual unsigned int YUVRawDataI420::GetSourceID ( )
pure virtual

Get the source_id of the current YUV raw data.

Returns
The source_id.

◆ GetStreamHeight()

virtual unsigned int YUVRawDataI420::GetStreamHeight ( )
pure virtual

Get the stream height.

Returns
The stream height.

◆ GetStreamWidth()

virtual unsigned int YUVRawDataI420::GetStreamWidth ( )
pure virtual

Get the stream width.

Returns
The stream width.

◆ GetUBuffer()

virtual char * YUVRawDataI420::GetUBuffer ( )
pure virtual

Get the u-data of the YUV raw data.

Returns
A pointer to the u-data of the YUV raw data.

◆ GetVBuffer()

virtual char * YUVRawDataI420::GetVBuffer ( )
pure virtual

Get the v-data of the YUV raw data.

Returns
A pointer to the v-data of the YUV raw data.

◆ GetYBuffer()

virtual char * YUVRawDataI420::GetYBuffer ( )
pure virtual

Get the y-data of the YUV raw data.

Returns
A pointer to the y-data of the YUV raw data.

◆ IsLimitedI420()

virtual bool YUVRawDataI420::IsLimitedI420 ( )
pure virtual

Determine if the YUV raw data is limited range mode.

Returns
True indicates to the YUV raw data is limited range mode.

◆ Release()

virtual int YUVRawDataI420::Release ( )
pure virtual

Subtract one from the reference count.

Returns
The current reference count. If the currrent reference count is 0, the SDK will delete this object instance.