Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCPreProcessRawData Class Reference

A class that contains YUV video frame data. More...

#include <MobileRTCPreProcessRawData.h>

Inherits NSObject.

Instance Methods

(char *) - getYBuffer:
 Gets the Y buffer.
 
(char *) - getUBuffer:
 Gets the U buffer.
 
(char *) - getVBuffer:
 Gets the V buffer.
 

Properties

CGSize size
 The size of the video data.
 
int yStride
 The Y stride.
 
int uStride
 The U stride.
 
int vStride
 The V stride.
 
MobileRTCFrameDataFormat format
 The raw data format of the video data.
 
MobileRTCVideoRawDataRotation rotation
 The video data rotation.
 

Detailed Description

A class that contains YUV video frame data.

Definition at line 12 of file MobileRTCPreProcessRawData.h.

Method Documentation

◆ getUBuffer:

- (char *) getUBuffer: (int) lineNum

Gets the U buffer.

Parameters
lineNumThe line number.
Returns
If the function succeeds, it returns the U buffer.

◆ getVBuffer:

- (char *) getVBuffer: (int) lineNum

Gets the V buffer.

Parameters
lineNumThe line number.
Returns
If the function succeeds, it returns the V buffer.

◆ getYBuffer:

- (char *) getYBuffer: (int) lineNum

Gets the Y buffer.

Parameters
lineNumThe line number.
Returns
If the function succeeds, it returns the Y buffer.

Property Documentation

◆ format

- (MobileRTCFrameDataFormat) format
readwritenonatomicassign

The raw data format of the video data.

Definition at line 58 of file MobileRTCPreProcessRawData.h.

◆ rotation

- (MobileRTCVideoRawDataRotation) rotation
readwritenonatomicassign

The video data rotation.

Definition at line 63 of file MobileRTCPreProcessRawData.h.

◆ size

- (CGSize) size
readwritenonatomicassign

The size of the video data.

Definition at line 17 of file MobileRTCPreProcessRawData.h.

◆ uStride

- (int) uStride
readwritenonatomicassign

The U stride.

Definition at line 27 of file MobileRTCPreProcessRawData.h.

◆ vStride

- (int) vStride
readwritenonatomicassign

The V stride.

Definition at line 32 of file MobileRTCPreProcessRawData.h.

◆ yStride

- (int) yStride
readwritenonatomicassign

The Y stride.

Definition at line 22 of file MobileRTCPreProcessRawData.h.