Defines the video format assigned to an instance of an OTVideoFrame object.
Properties
| Name |
Type |
Description |
name |
NSString * |
The name you assign to the video format |
pixelFormat |
OTPixelFormat |
The pixel format. Valid values are defined in the OTPixelFormat enum. |
bytesPerRow |
NSMutableArray * |
The number of bytes per row of the video. |
imageWidth |
uint32_t |
The width of the video, in pixels. |
imageHeight |
uint32_t |
The height of the video, in pixels. |
estimatedFramesPerSecond |
double |
The estimated number of frames per second in the video. |
estimatedCaptureDelay |
double |
The estimated capture delay, in milliseconds, of the video. |
Methods
| Name |
Description |
(static) videoFormatI420WithWidth:height:(width, height) → {OTVideoFormat *} |
|
(static) videoFormatNV12WithWidth:height:(width, height) → {OTVideoFormat *} |
|
(static) videoFormatARGBWithWidth:height:(width, height) → {OTVideoFormat *} |
|
Parameters:
| Name |
Type |
Description |
width |
uint32_t |
|
height |
uint32_t |
|
Returns:
Parameters:
| Name |
Type |
Description |
width |
uint32_t |
|
height |
uint32_t |
|
Returns:
Parameters:
| Name |
Type |
Description |
width |
uint32_t |
|
height |
uint32_t |
|
Returns: