VideoMediaFrameFormat Class

Definition

Describes the image format of a 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
Inheritance
Object Platform::Object IInspectable VideoMediaFrameFormat
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

Get an instance of this class by accessing the MediaFrameFormat.VideoFormat, VideoMediaFrame.VideoFormat, or DepthMediaFrame.VideoFormat property.

For how-to guidance on using MediaFrameSource to capture frames, see Process media frames with MediaFrameReader.

Properties

DepthFormat

Gets an object that describes the format of the depth data in a video media frame, if the frame contains depth data.

Height

Gets the height of the video media frame, in pixels.

MediaFrameFormat

Gets an object that provides information about the format of the media frame that is not specific to video frames.

Width

Gets the width of the video media frame, in pixels.

Applies to

See also