Share via


MediaPixelFormat Enum

Definition

Defines values for media pixel formats.

public enum class MediaPixelFormat
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MediaPixelFormat
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MediaPixelFormat
var value = Windows.Media.MediaProperties.MediaPixelFormat.nv12
Public Enum MediaPixelFormat
Inheritance
MediaPixelFormat
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Nv12 0

NV12 media pixel format.

Bgra8 1

BGRA8 media pixel format.

P010 2

P010 media pixel format.

Remarks

Version history

Windows version SDK version Value added
1803 17134 P010

Applies to