Skip to main content
Version: 14 Oct 2024

MediaFormatExtensions

NameSpace: Media

Public Methods

int BytesPerPixel

public static int BytesPerPixel(
this MediaFormat format
)

Parameters

TypeNameDescription
this MediaFormatformat

bool IsMultiPlanar

public static bool IsMultiPlanar(
this MediaFormat format
)

Parameters

TypeNameDescription
this MediaFormatformat

string ToNameOrHexValue

public static string ToNameOrHexValue(
this MediaFormat format
)

Parameters

TypeNameDescription
this MediaFormatformat