The YUV raw data handler interface.
More...
#include <zoom_sdk_raw_data_def.h>
|
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 starting address of Y raw data.
|
|
virtual char * | GetUBuffer ()=0 |
| Get the starting address of U raw data.
|
|
virtual char * | GetVBuffer ()=0 |
| Get the starting address of V raw data.
|
|
virtual char * | GetAlphaBuffer ()=0 |
| Get the alpha mask data of YUV raw data.
|
|
virtual char * | GetBuffer ()=0 |
| Get the starting address of 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 unsigned long long | GetTimeStamp ()=0 |
| Get the timestamp of the raw data.
|
|
virtual | ~YUVRawDataI420 () |
|
The YUV raw data handler interface.
Definition at line 43 of file zoom_sdk_raw_data_def.h.
◆ ~YUVRawDataI420()
virtual YUVRawDataI420::~YUVRawDataI420 |
( |
| ) |
|
|
inlinevirtual |
◆ AddRef()
virtual bool YUVRawDataI420::AddRef |
( |
| ) |
|
|
pure virtual |
Add one to the reference count.
- Returns
- If the function succeeds, the return value is TRUE. Note: After increasing the reference count, the current object will not be automatically destroyed by SDK and you can use this object in other context. When you no longer use this object, please call 'Release()', otherwise there will be a memory leak.
◆ 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 starting address of 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.
◆ GetTimeStamp()
virtual unsigned long long YUVRawDataI420::GetTimeStamp |
( |
| ) |
|
|
pure virtual |
Get the timestamp of the raw data.
- Returns
- Millisecond timestamp.
◆ GetUBuffer()
virtual char * YUVRawDataI420::GetUBuffer |
( |
| ) |
|
|
pure virtual |
Get the starting address of U raw data.
- Returns
- A pointer to the U raw data.
◆ GetVBuffer()
virtual char * YUVRawDataI420::GetVBuffer |
( |
| ) |
|
|
pure virtual |
Get the starting address of V raw data.
- Returns
- A pointer to the V raw data.
◆ GetYBuffer()
virtual char * YUVRawDataI420::GetYBuffer |
( |
| ) |
|
|
pure virtual |
Get the starting address of Y raw data.
- Returns
- A pointer to the Y 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 current reference count is 0, the SDK will delete this object instance.