OTVideoFormat

Define o formato de vídeo atribuído a uma instância de um OTVideoFrame objeto.

Propriedades

Nome Tipo Descrição
name NSString * O nome que você atribui ao formato do vídeo
pixelFormat OTPixelFormat O formato de pixel. Os valores válidos estão definidos na enumeração OTPixelFormat.
bytesPerRow NSMutableArray * O número de bytes por linha do vídeo.
imageWidth uint32_t A largura do vídeo, em pixels.
imageHeight uint32_t A altura do vídeo, em pixels.
estimatedFramesPerSecond duplo O número estimado de quadros por segundo no vídeo.
estimatedCaptureDelay duplo O atraso estimado na captura do vídeo, em milissegundos.

Métodos

Nome Descrição
(static) videoFormatI420WithWidth:height:(width, height) → {OTVideoFormat *}
(static) videoFormatNV12WithWidth:height:(width, height) → {OTVideoFormat *}
(static) videoFormatARGBWithWidth:height:(width, height) → {OTVideoFormat *}

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

Parâmetros:
Nome Tipo Descrição
width uint32_t
height uint32_t
Devoluções:

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

Parâmetros:
Nome Tipo Descrição
width uint32_t
height uint32_t
Devoluções:

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

Parâmetros:
Nome Tipo Descrição
width uint32_t
height uint32_t
Devoluções: