Share via


DisplayWireFormat Constructor

Definition

Constructs a DisplayWireFormat object from the supplied property values.

public:
 DisplayWireFormat(DisplayWireFormatPixelEncoding pixelEncoding, int bitsPerChannel, DisplayWireFormatColorSpace colorSpace, DisplayWireFormatEotf eotf, DisplayWireFormatHdrMetadata hdrMetadata);
 DisplayWireFormat(DisplayWireFormatPixelEncoding const& pixelEncoding, int const& bitsPerChannel, DisplayWireFormatColorSpace const& colorSpace, DisplayWireFormatEotf const& eotf, DisplayWireFormatHdrMetadata const& hdrMetadata);
public DisplayWireFormat(DisplayWireFormatPixelEncoding pixelEncoding, int bitsPerChannel, DisplayWireFormatColorSpace colorSpace, DisplayWireFormatEotf eotf, DisplayWireFormatHdrMetadata hdrMetadata);
function DisplayWireFormat(pixelEncoding, bitsPerChannel, colorSpace, eotf, hdrMetadata)
Public Sub New (pixelEncoding As DisplayWireFormatPixelEncoding, bitsPerChannel As Integer, colorSpace As DisplayWireFormatColorSpace, eotf As DisplayWireFormatEotf, hdrMetadata As DisplayWireFormatHdrMetadata)

Parameters

pixelEncoding
DisplayWireFormatPixelEncoding

Describes how pixels are encoded by the display pipeline, including chroma subsampling.

bitsPerChannel
Int32

int

The number of bits used for each channel, without regard for chroma subsampling.

colorSpace
DisplayWireFormatColorSpace

Describes the color space.

eotf
DisplayWireFormatEotf

Specifies the electro-optical transfer function (EOTF) that pixels are encoded for.

hdrMetadata
DisplayWireFormatHdrMetadata

Specifies the format for static or dynamic HDR mastering metadata.

Applies to