Video SDK for iOS API Reference
All Classes Files Functions Enumerations Enumerator Properties
ZoomVideoSDKVideoRawData Class Reference

A Class contains the information of video raw data. More...

#include <ZoomVideoSDKVideoRawData.h>

Inherits NSObject.

Instance Methods

(BOOL) - canAddRef
 Determine if the reference count for accessing the raw data buffer can be increased.
 
(BOOL) - addRef
 Increase reference count by 1. Adding a reference will ensure that the raw data buffer will not be released.
 
(NSInteger) - releaseRef
 Decrease reference count by 1.
 

Properties

char * yBuffer
 The YUVI420 Y buffer. The Y component represents the luma or brightness values.
 
char * uBuffer
 The YUVI420 U buffer. The U component represents the chroma values.
 
char * vBuffer
 The YUVI420 V buffer. The Y component represents the chroma values.
 
char * alphaBuffer
 The YUVI420 data buffer. The alpha component represents the chroma values.
 
NSUInteger alphaBufferLen
 the alpha buffer data length
 
CGSize size
 The stream size.
 
BOOL isLimited
 Query video raw data is limited.
 
ZoomVideoSDKFrameDataFormat format
 The raw data format of video data.
 
ZoomVideoSDKVideoRawDataRotation rotation
 The video raw data rotation.
 

Detailed Description

A Class contains the information of video raw data.

Definition at line 16 of file ZoomVideoSDKVideoRawData.h.

Method Documentation

◆ addRef

- (BOOL) addRef

Increase reference count by 1. Adding a reference will ensure that the raw data buffer will not be released.

Warning
If you addRef, the SDK will try to hold the raw data buffer until the reference becomes 0. When you finish using the raw data buffer, you must call releaseRef;

◆ canAddRef

- (BOOL) canAddRef

Determine if the reference count for accessing the raw data buffer can be increased.

Warning
If you addRef, the SDK will try to hold the raw data buffer until the reference becomes 0. When you finish using the raw data buffer, you must call releaseRef;

◆ releaseRef

- (NSInteger) releaseRef

Decrease reference count by 1.

Warning
If you addRef, the SDK will try to hold the raw data buffer until the reference becomes 0. When you finish using the raw data buffer, you must call releaseRef;

Property Documentation

◆ alphaBuffer

- (char*) alphaBuffer
readwritenonatomicassign

The YUVI420 data buffer. The alpha component represents the chroma values.

Definition at line 36 of file ZoomVideoSDKVideoRawData.h.

◆ alphaBufferLen

- (NSUInteger) alphaBufferLen
readwritenonatomicassign

the alpha buffer data length

Definition at line 41 of file ZoomVideoSDKVideoRawData.h.

◆ format

- (ZoomVideoSDKFrameDataFormat) format
readwritenonatomicassign

The raw data format of video data.

Definition at line 56 of file ZoomVideoSDKVideoRawData.h.

◆ isLimited

- (BOOL) isLimited
readwritenonatomicassign

Query video raw data is limited.

Definition at line 51 of file ZoomVideoSDKVideoRawData.h.

◆ rotation

- (ZoomVideoSDKVideoRawDataRotation) rotation
readwritenonatomicassign

The video raw data rotation.

Definition at line 61 of file ZoomVideoSDKVideoRawData.h.

◆ size

- (CGSize) size
readwritenonatomicassign

The stream size.

Definition at line 46 of file ZoomVideoSDKVideoRawData.h.

◆ uBuffer

- (char*) uBuffer
readwritenonatomicassign

The YUVI420 U buffer. The U component represents the chroma values.

Definition at line 26 of file ZoomVideoSDKVideoRawData.h.

◆ vBuffer

- (char*) vBuffer
readwritenonatomicassign

The YUVI420 V buffer. The Y component represents the chroma values.

Definition at line 31 of file ZoomVideoSDKVideoRawData.h.

◆ yBuffer

- (char*) yBuffer
readwritenonatomicassign

The YUVI420 Y buffer. The Y component represents the luma or brightness values.

Definition at line 21 of file ZoomVideoSDKVideoRawData.h.