DisplayWireFormat 构造函数

定义

从提供的属性值构造 DisplayWireFormat 对象。

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)

参数

pixelEncoding
DisplayWireFormatPixelEncoding

描述显示管道如何对像素进行编码,包括色度子采样。

bitsPerChannel
Int32

int

用于每个通道的位数,而不考虑色度子采样。

colorSpace
DisplayWireFormatColorSpace

描述颜色空间。

eotf
DisplayWireFormatEotf

指定对像素进行编码的 EOTF) (电光传输函数。

hdrMetadata
DisplayWireFormatHdrMetadata

指定静态或动态 HDR 主控元数据的格式。

适用于