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