Video SDK for iOS API Reference
Loading...
Searching...
No Matches
ZoomVideoSDKVideoRawData.h
Go to the documentation of this file.
1//
2// ZoomVideoSDKVideoRawData.h
3// ZoomVideoSDK
4//
5// Created by Zoom Video Communications on 2019/1/29.
6// Copyright © Zoom Video Communications, Inc. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <ZoomVideoSDK/ZoomVideoSDKConstants.h>
11
16@interface ZoomVideoSDKVideoRawData : NSObject
17
21@property (nonatomic, assign, nullable) char * yBuffer;
22
26@property (nonatomic, assign, nullable) char *uBuffer;
27
31@property (nonatomic, assign, nullable) char *vBuffer;
32
36@property (nonatomic, assign, nullable) char *alphaBuffer;
37
41@property (nonatomic, assign) NSUInteger alphaBufferLen;
42
46@property (nonatomic, assign) CGSize size;
47
51@property (nonatomic, assign) BOOL isLimited;
52
56@property (nonatomic, assign) ZoomVideoSDKFrameDataFormat format;
57
61@property (nonatomic, assign) ZoomVideoSDKVideoRawDataRotation rotation;
62
66@property(nonatomic, strong, nullable) NSDate *timeStamp;
67
72- (BOOL)canAddRef;
73
78- (BOOL)addRef;
79
84- (NSInteger)releaseRef;
85
86@end
87
ZoomVideoSDKVideoRawDataRotation
RawDataRotationof the directions of video.
ZoomVideoSDKFrameDataFormat
Enumeration of raw data formats. Defines the color space format and color range for video frames.
A Class contains the information of video raw data.
NSInteger releaseRef()
Decrease reference count by 1.
BOOL isLimited
Query video raw data is limited.
ZoomVideoSDKFrameDataFormat format
The raw data format of video data.
char * uBuffer
The YUVI420 U buffer. The U component represents the chroma values.
NSDate * timeStamp
TimeStamp of video data.
ZoomVideoSDKVideoRawDataRotation rotation
The video raw data rotation.
BOOL addRef()
Increase reference count by 1. Adding a reference will ensure that the raw data buffer will not be re...
NSUInteger alphaBufferLen
the alpha buffer data length.
char * vBuffer
The YUVI420 V buffer. The Y component represents the chroma values.
char * yBuffer
The YUVI420 Y buffer. The Y component represents the luma or brightness values.
BOOL canAddRef()
Determine if the reference count for accessing the raw data buffer can be increased.
char * alphaBuffer
The YUVI420 data buffer. The alpha component represents the chroma values.