のビデオフレームを定義します。 IVideoRenderer.RenderFrame(VideoFrame) そして IVideoFrameConsumer.Consume(VideoFrame) メソッド。 続きを読む...
IDisposable インターフェースを継承しています。
| パブリックメンバー関数 | |
| void | 廃棄する () |
| 以下の事項を処理する ビデオフレーム オブジェクトのリソース。 | |
| IntPtr | GetPlane (int index) |
| そのフレームの指定されたビデオプレーンへのポインタを取得します。 続きを読む... | |
| イント | GetPlaneStride (int index) |
| 指定されたビデオプレーンのフレームに対するストライドを取得します。 続きを読む... | |
| イント | GetPlaneSize (int index) |
| 指定されたビデオプレーンのフレームサイズを取得します。 続きを読む... | |
| イント | GetPlaneWidth (int index) |
| フレームの指定されたビデオプレーンの幅(ピクセル単位)を取得します。 続きを読む... | |
| イント | GetPlaneHeight (int index) |
| そのフレームの指定されたビデオプレーンの高さ(ピクセル単位)を取得します。 続きを読む... | |
| void | ConvertInPlace (PixelFormat destinationFormat, IntPtr[] planes, int[] strides) |
| ビデオフレームを、引数として渡されたバッファにコピーします。 飛行機 パラメータが必要だ。 続きを読む... |
| 静的パブリックメンバー関数 | |
| static ビデオフレーム | CreateYuv420pFrameFromBuffer (PixelFormat sourceFormat, int width, int height, IntPtr[] planes, int[] strides) |
| プレーンの配列から I420 ビデオフレームを作成します。 続きを読む... | |
| static ビデオフレーム | CreateFrameFromBuffer (PixelFormat format, int width, int height, IntPtr[] planes, int[] strides) |
| 一連の平面からビデオフレームを作成します。 続きを読む... | |
| static ビデオフレーム | CreateFrameFromBuffer (PixelFormat format, int width, int height, IntPtr buffer) |
| バッファからビデオフレームを作成します。 続きを読む... | |
| static ビデオフレーム | CreateYuv420pFrameFromBitmap (ビットマップ ビットマップ) |
| ビットマップから YUV420p ビデオフレームを作成します。 続きを読む... |
| 保護されたメンバ関数 | |
| 仮想 void | 廃棄する (bool disposing) |
| プロパティ | |
| イント | 幅 [get] |
| 動画フレームの幅(ピクセル単位)。 | |
| イント | 高さ [get] |
| 動画フレームの高さ(ピクセル単位)。 | |
| PixelFormat | PixelFormat [get] |
| ビデオフレームのピクセル形式。 | |
| bool | IsMirrored [get] |
| ローカルクライアントで動画画像が反転表示されるかどうか。 | |
| イント | 航空機数 [get] |
| この動画のフレームに含まれる飛行機の数。 |
詳細な説明
のビデオフレームを定義します。 IVideoRenderer.RenderFrame(VideoFrame) そして IVideoFrameConsumer.Consume(VideoFrame) のメソッドがある。
メンバー関数のドキュメント
ConvertInPlace()
| void OpenTok.VideoFrame.ConvertInPlace | ( | PixelFormat | destinationFormat, |
| IntPtr[] | 飛行機, | ||
| int[] | 大股 | ||
| ) |
ビデオフレームを、引数として渡されたバッファにコピーします。 飛行機 パラメータが必要だ。
パラメータ : | | | | --- | --- | | destinationFormat | 動画のフォーマット。現在、これは以下の形式でのみ動作することにご注意ください。 PixelFormat.FormatYuv420p. | | planes | ビデオデータの保存先バッファ「planes」へのポインタ。 | | strides | ピクセルデータの1行あたりのバイト数。 |
CreateFrameFromBuffer() [1/2]
| --- | --- | --- | --- | static ビデオフレーム OpenTok.VideoFrame.CreateFrameFromBuffer | ( | PixelFormat | フォーマット, | イント | 幅, | イント | 高さ, | IntPtr | バッファ | ) |
バッファからビデオフレームを作成します。
パラメータ : | | | | --- | --- | | format | ソースフレームのフォーマット。 | | width | 幅(ピクセル単位)。 | | height | 高さ(ピクセル単位)。 | | buffer | ソースバッファへのポインタ。 |
CreateFrameFromBuffer() [2/2]
| --- | --- | --- | --- | static ビデオフレーム OpenTok.VideoFrame.CreateFrameFromBuffer | ( | PixelFormat | フォーマット, | イント | 幅, | イント | 高さ, | IntPtr[] | 飛行機, | int[] | 大股 | ) |
一連の平面からビデオフレームを作成します。
パラメータ : | | | | --- | --- | | format | ソースフレームのフォーマット。 | | width | 幅(ピクセル単位)。 | | height | 高さ(ピクセル単位)。 | | planes | ソースプレーンを含む配列。 | | strides | ソースストライドを含む配列。 |
CreateYuv420pFrameFromBitmap()
| --- | --- | --- | --- | --- | --- | static ビデオフレーム OpenTok.VideoFrame.CreateYuv420pFrameFromBitmap | ( | ビットマップ | ビットマップ | ) |
ビットマップから YUV420p 形式のビデオフレームを作成します。
パラメータ : | | | | --- | --- | | ビットマップ | フレームのソースビットマップ。 |
CreateYuv420pFrameFromBuffer()
| --- | --- | --- | --- | static ビデオフレーム OpenTok.VideoFrame.CreateYuv420pFrameFromBuffer | ( | PixelFormat | sourceFormat, | イント | 幅, | イント | 高さ, | IntPtr[] | 飛行機, | int[] | 大股 | ) |
プレーンの配列から I420 ビデオフレームを作成します。
パラメータ : | | | | --- | --- | | sourceFormat | ソースフレームのフォーマット。 | | width | 幅(ピクセル単位)。 | | height | 高さ(ピクセル単位)。 | | planes | ソースプレーンを含む配列。 | | strides | ソースストライドを含む配列。 |
GetPlane()
| IntPtr OpenTok.VideoFrame.GetPlane | ( | イント | 目次 | ) |
そのフレームの指定されたビデオプレーンへのポインタを取得します。
パラメータ : | | | | --- | --- | | index | フレームのインデックス。の NumberOfPlanes プロパティ ビデオフレーム object は利用可能な平面の数です。 |
GetPlaneHeight()
| int OpenTok.VideoFrame.GetPlaneHeight | ( | イント | 目次 | ) |
そのフレームの指定されたビデオプレーンの高さ(ピクセル単位)を取得します。
パラメータ : | | | | --- | --- | | index | フレームのインデックス。の NumberOfPlanes プロパティ ビデオフレーム object は利用可能な平面の数です。 |
GetPlaneSize()
| int OpenTok.VideoFrame.GetPlaneSize | ( | イント | 目次 | ) |
指定されたビデオプレーンのフレームサイズを取得します。
パラメータ : | | | | --- | --- | | index | フレームのインデックス。の NumberOfPlanes プロパティ ビデオフレーム object は利用可能な平面の数です。 |
GetPlaneStride()
| int OpenTok.VideoFrame.GetPlaneStride | ( | イント | 目次 | ) |
指定されたビデオプレーンのフレームに対するストライドを取得します。
パラメータ : | | | | --- | --- | | index | フレームのインデックス。の NumberOfPlanes プロパティ ビデオフレーム object は利用可能な平面の数です。 |
GetPlaneWidth()
| int OpenTok.VideoFrame.GetPlaneWidth | ( | イント | 目次 | ) |
フレームの指定されたビデオプレーンの幅(ピクセル単位)を取得します。
パラメータ : | | | | --- | --- | | index | フレームのインデックス。の NumberOfPlanes プロパティ ビデオフレーム object は利用可能な平面の数です。 |