VIVideoFormat
Interface that represents video format.
Props
frame
@property (assign, readonly, nonatomic) CGSize
frame
A frame size.
Returns
type:
CGSize
interval
@property (assign, readonly, nonatomic) NSUInteger
interval
A time interval between frames in nanoseconds.
Returns
type:
NSUInteger
Methods
initWithFrame:fps:
- (instancetype
)initWithFrame:(CGSize
)frame
fps:(NSUInteger
)fps
Initialize video format with frame size and fps.
Parameters
frame:
CGSize
Frame size.
fps:
NSUInteger
FPS.
Returns
type:
instancetype
initWithFrame:interval:
- (instancetype
)initWithFrame:(CGSize
)frame
interval:(NSUInteger
)interval
Initialize video format with frame size and interval.
Parameters
frame:
CGSize
Frame size.
interval:
NSUInteger
Time interval between frames in milliseconds.
Returns
type:
instancetype