OTVideoFormat

のインスタンスに割り当てられるビデオ形式を定義します。 OTVideoFrame オブジェクトがある。

プロパティ

名称 タイプ 説明
name NSString * 動画形式に付ける名前
pixelFormat OTPixelFormat ピクセル形式。有効な値は、OTPixelFormat 列挙型で定義されています。
bytesPerRow NSMutableArray * 動画の1行あたりのバイト数。
imageWidth uint32_t 動画の幅(ピクセル単位)。
imageHeight uint32_t 動画の高さ(ピクセル単位)。
estimatedFramesPerSecond ダブル 動画の1秒あたりの推定フレーム数。
estimatedCaptureDelay ダブル 動画の推定キャプチャ遅延(ミリ秒単位)。

方法

名称 説明
(static) videoFormatI420WithWidth:height:(width, height) → {OTVideoFormat *}
(static) videoFormatNV12WithWidth:height:(width, height) → {OTVideoFormat *}
(static) videoFormatARGBWithWidth:height:(width, height) → {OTVideoFormat *}

(static) videoFormatI420WithWidth:height:(width, height) →{OTVideoFormat *}

パラメータ:
名称 タイプ 説明
width uint32_t
height uint32_t
リターンズ

(static) videoFormatNV12WithWidth:height:(width, height) →{OTVideoFormat *}

パラメータ:
名称 タイプ 説明
width uint32_t
height uint32_t
リターンズ

(static) videoFormatARGBWithWidth:height:(width, height) →{OTVideoFormat *}

パラメータ:
名称 タイプ 説明
width uint32_t
height uint32_t
リターンズ