OTVideoFormat

Define el formato de vídeo asignado a una instancia de un OTVideoFrame objeto.

Propiedades

Nombre Tipo Descripción
name NSString * El nombre que le asignes al formato de vídeo
pixelFormat OTPixelFormat El formato de píxel. Los valores válidos se definen en la enumeración OTPixelFormat.
bytesPerRow NSMutableArray * El número de bytes por fila del vídeo.
imageWidth uint32_t El ancho del vídeo, en píxeles.
imageHeight uint32_t La altura del vídeo, en píxeles.
estimatedFramesPerSecond doble El número estimado de fotogramas por segundo del vídeo.
estimatedCaptureDelay doble El retraso estimado en la captura del vídeo, en milisegundos.

Métodos

Nombre Descripción
(static) videoFormatI420WithWidth:height:(width, height) → {OTVideoFormat *}
(static) videoFormatNV12WithWidth:height:(width, height) → {OTVideoFormat *}
(static) videoFormatARGBWithWidth:height:(width, height) → {OTVideoFormat *}

(estático) videoFormatI420WithWidth:height:(anchura, altura) → {OTVideoFormat *}

Parámetros:
Nombre Tipo Descripción
width uint32_t
height uint32_t
Devoluciones:

(estático) videoFormatNV12WithWidth:height:(anchura, altura) → {OTVideoFormat *}

Parámetros:
Nombre Tipo Descripción
width uint32_t
height uint32_t
Devoluciones:

(estático) videoFormatARGBWithWidth:height:(anchura, altura) → {OTVideoFormat *}

Parámetros:
Nombre Tipo Descripción
width uint32_t
height uint32_t
Devoluciones: