MediaPixelFormat MediaPixelFormat MediaPixelFormat MediaPixelFormat MediaPixelFormat Enum


Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Defines values for media pixel formats.

public : enum class MediaPixelFormat
enum class winrt::Windows::Media::MediaProperties::MediaPixelFormat : int32_t
public enum MediaPixelFormat
Public Enum MediaPixelFormat
var value = Windows.Media.MediaProperties.MediaPixelFormat.bgra8;
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Bgra8 Bgra8 Bgra8 Bgra8 Bgra8

BGRA8 media pixel format.

Nv12 Nv12 Nv12 Nv12 Nv12

NV12 media pixel format.