Mac SDK
Instance Methods | List of all members
ZoomSDKYUVRawDataI420 Class Reference
Inheritance diagram for ZoomSDKYUVRawDataI420:

Instance Methods

(BOOL) - canAddRef
 Get if this object can add ref. More...
 
(BOOL) - addRef
 Add reference for this object, if you doesn't add ref, this object will be released when the callback response ends. More...
 
(int) - releaseData
 Release the object, if you has add ref, remeber to call this api to release when you wantn't to use this object. More...
 
(char *) - getYBuffer
 Get the Y data. More...
 
(char *) - getUBuffer
 Get the U data. More...
 
(char *) - getVBuffer
 Get the V data. More...
 
(char *) - getBuffer
 Get the buffer data. More...
 
(unsigned int) - getBufferLen
 Get the buffer length of this data. More...
 
(BOOL) - isLimitedI420
 Get if this data is limited I420 format. More...
 
(unsigned int) - getStreamWidth
 Get the stream width of this data. More...
 
(unsigned int) - getStreamHeight
 Get the stream height of this data. More...
 
(unsigned int) - getRotation
 Get the rotation of this data. More...
 
(unsigned int) - getSourceID
 Get the source id of this data. More...
 

Method Documentation

◆ addRef

- (BOOL) addRef

Add reference for this object, if you doesn't add ref, this object will be released when the callback response ends.

Returns
If the function succeeds, it will return YES. Otherwise NO.

◆ canAddRef

- (BOOL) canAddRef

Get if this object can add ref.

Returns
If can add ref, it will return YES. Otherwise NO.

◆ getBuffer

- (char*) getBuffer

Get the buffer data.

Returns
If the function succeeds, it will return the buffer data.

◆ getBufferLen

- (unsigned int) getBufferLen

Get the buffer length of this data.

Returns
If the function succeeds, it will return the buffer length of this data.

◆ getRotation

- (unsigned int) getRotation

Get the rotation of this data.

Returns
If the function succeeds, it will return the rotation of this data.

◆ getSourceID

- (unsigned int) getSourceID

Get the source id of this data.

Returns
If the function succeeds, it will return the source id of this data.

◆ getStreamHeight

- (unsigned int) getStreamHeight

Get the stream height of this data.

Returns
If the function succeeds, it will return the stream height of this data.

◆ getStreamWidth

- (unsigned int) getStreamWidth

Get the stream width of this data.

Returns
If the function succeeds, it will return the stream width of this data.

◆ getUBuffer

- (char*) getUBuffer

Get the U data.

Returns
If the function succeeds, it will return the U data.

◆ getVBuffer

- (char*) getVBuffer

Get the V data.

Returns
If the function succeeds, it will return the V data.

◆ getYBuffer

- (char*) getYBuffer

Get the Y data.

Returns
If the function succeeds, it will return the Y data.

◆ isLimitedI420

- (BOOL) isLimitedI420

Get if this data is limited I420 format.

Returns
If is limited I420 format, it will return YES. Otherwise NO.

◆ releaseData

- (int) releaseData

Release the object, if you has add ref, remeber to call this api to release when you wantn't to use this object.

Returns
If the function succeeds, it will return reference count of this object.

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