Video SDK for iOS API Reference
All Classes Files Functions Enumerations Enumerator Properties
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) char *yBuffer;
22
26@property (nonatomic, assign) char *uBuffer;
27
31@property (nonatomic, assign) char *vBuffer;
32
36@property (nonatomic, assign) 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
67- (BOOL)canAddRef;
68
73- (BOOL)addRef;
74
79- (NSInteger)releaseRef;
80
81@end
82
ZoomVideoSDKVideoRawDataRotation
ZoomVideoSDKVideoRawDataRotation The direction of video.
ZoomVideoSDKFrameDataFormat
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.
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.