Définit le format vidéo attribué à une instance d'un OTVideoFrame objet.
Propriétés
| Nom |
Type |
Description |
name |
NSString * |
Le nom que vous attribuez au format vidéo |
pixelFormat |
OTPixelFormat |
Le format de pixel. Les valeurs valides sont définies dans l'énumération OTPixelFormat. |
bytesPerRow |
NSMutableArray * |
Le nombre d'octets par ligne de la vidéo. |
imageWidth |
uint32_t |
La largeur de la vidéo, en pixels. |
imageHeight |
uint32_t |
La hauteur de la vidéo, en pixels. |
estimatedFramesPerSecond |
double |
Le nombre estimé d'images par seconde dans la vidéo. |
estimatedCaptureDelay |
double |
Le délai de capture estimé, en millisecondes, de la vidéo. |
Méthodes
| Nom |
Description |
(static) videoFormatI420WithWidth:height:(width, height) → {OTVideoFormat *} |
|
(static) videoFormatNV12WithWidth:height:(width, height) → {OTVideoFormat *} |
|
(static) videoFormatARGBWithWidth:height:(width, height) → {OTVideoFormat *} |
|
Paramètres :
| Nom |
Type |
Description |
width |
uint32_t |
|
height |
uint32_t |
|
Retours :
Paramètres :
| Nom |
Type |
Description |
width |
uint32_t |
|
height |
uint32_t |
|
Retours :
Paramètres :
| Nom |
Type |
Description |
width |
uint32_t |
|
height |
uint32_t |
|
Retours :