VideoMediaFrameFormat クラス

定義

VideoMediaFrame のイメージ形式について説明します。

public ref class VideoMediaFrameFormat sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class VideoMediaFrameFormat final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class VideoMediaFrameFormat
Public NotInheritable Class VideoMediaFrameFormat
継承
Object Platform::Object IInspectable VideoMediaFrameFormat
属性

Windows の要件

デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v3.0 で導入)

注釈

MediaFrameFormat.VideoFormatVideoMediaFrame.VideoFormat、または DepthMediaFrame.VideoFormat プロパティにアクセスして、このクラスのインスタンスを取得します。

MediaFrameSource を使用してフレームをキャプチャする方法については、「MediaFrameReader を使用してメディア フレームを処理する」を参照してください。

プロパティ

DepthFormat

フレームに深度データが含まれている場合に、ビデオ メディア フレーム内の深度データの形式を記述する オブジェクトを取得します。

Height

ビデオ メディア フレームの高さをピクセル単位で取得します。

MediaFrameFormat

ビデオ フレームに固有ではないメディア フレームの形式に関する情報を提供する オブジェクトを取得します。

Width

ビデオ メディア フレームの幅をピクセル単位で取得します。

適用対象

こちらもご覧ください