Mac SDK
Public Member Functions | List of all members
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. More...
 
virtual bool AddRef ()=0
 Add one to the reference count. More...
 
virtual int Release ()=0
 Subtract one from the reference count. More...
 
virtual char * GetYBuffer ()=0
 Get the y-data of the YUV raw data. More...
 
virtual char * GetUBuffer ()=0
 Get the u-data of the YUV raw data. More...
 
virtual char * GetVBuffer ()=0
 Get the v-data of the YUV raw data. More...
 
virtual char * GetBuffer ()=0
 Get the YUV raw data. More...
 
virtual unsigned int GetBufferLen ()=0
 Get the buffer length of the YUV raw data. More...
 
virtual bool IsLimitedI420 ()=0
 Determine if the YUV raw data is limited range mode. More...
 
virtual unsigned int GetStreamWidth ()=0
 Get the stream width. More...
 
virtual unsigned int GetStreamHeight ()=0
 Get the stream height. More...
 
virtual unsigned int GetRotation ()=0
 Get the rotation angle of the local video device. More...
 
virtual unsigned int GetSourceID ()=0
 Get the source_id of the current YUV raw data. More...
 

Detailed Description

The YUV raw data handler interface.

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.

◆ 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.

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