Hérite de NSObject
Déclaré dans OTVideoKit.h

Vue d'ensemble

Définit une image d'une vidéo. Voir [OTVideoRender renderVideoFrame:] et [OTVideoCaptureConsumer consumeFrame:].

Propriétés des objets OTVideoFrame

planes

Une multitude d'avions dans le cadre de la vidéo.

@property (nonatomic, strong) NSPointerArray *planes

Déclaré à

OTVideoKit.h

timestamp

Un horodatage de l'image vidéo.

@property (nonatomic, assign) CMTime timestamp

Déclaré à

OTVideoKit.h

orientation

L'orientation de l'image vidéo.

@property (nonatomic, assign) OTVideoOrientation orientation

Déclaré à

OTVideoKit.h

format

Le format de l'image vidéo.

@property (nonatomic, strong) OTVideoFormat *format

Déclaré à

OTVideoKit.h

metadata

Les métadonnées associées à cette image vidéo, le cas échéant. (Obsolète : Cette propriété est obsolète et sera supprimée dans une prochaine version de la bibliothèque.)

@property (nonatomic, readonly) NSData *metadata

Déclaré à

OTVideoKit.h

Instanciation d'objets OTVideoFrame

– init

Initialise un objet OTVideoFrame.

- (nonnull id)init

Déclaré à

OTVideoKit.h

– initWithFormat:

Initialise un objet OTVideoFrame avec le format spécifié.

- (nonnull id)initWithFormat:(nonnull OTVideoFormat *)videoFormat

Paramètres

videoFormat Le format vidéo utilisé par l'image vidéo.

Déclaré à

OTVideoKit.h

– setPlanesWithPointers:numPlanes:

Définit les plans pour l'image vidéo.

- (void)setPlanesWithPointers:(uint8_t *_Nonnull [ _Nonnull ])planes numPlanes:(int)numPlanes

Paramètres

planes Les avions à affecter.
numPlanes Le nombre d'avions à affecter.

Déclaré à

OTVideoKit.h

– clearPlanes

Nettoie les plans dans l'image vidéo.

- (void)clearPlanes

Déclaré à

OTVideoKit.h

– convertInPlace:planes:strides:

Convertit une image vidéo sans allouer de nouveaux plans.

- (void)convertInPlace:(OTPixelFormat)pixelFormat planes:(uint8_t *_Nonnull *_Nonnull)planes strides:(int *_Nonnull)strides

Déclaré à

OTVideoKit.h

– getPlaneBinaryData:

Récupère les données binaires d'une image vidéo donnée.

- (uint8_t *_Nonnull)getPlaneBinaryData:(int)plane

Paramètres

plane Les avions à affecter.

Déclaré à

OTVideoKit.h

– getPlaneStride:

Récupère la valeur du pas pour le plan

- (int)getPlaneStride:(int)plane

Paramètres

plane Les avions à affecter.

Déclaré à

OTVideoKit.h