共用方式為


COLORSPACE_TRANSFORM_DATA_CAP 結構 (ntd)

色彩空間轉換數據上限。

語法

typedef struct _COLORSPACE_TRANSFORM_DATA_CAP {
  COLORSPACE_TRANSFORM_DATA_TYPE DataType;
  union {
    struct {
      ULONG BitCountOfInteger : 6;
      ULONG BitCountOfFraction : 6;
    };
    struct {
      ULONG BitCountOfExponent : 6;
      ULONG BitCountOfMantissa : 6;
    };
    ULONG Value;
  };
  float                          NumericRangeMin;
  float                          NumericRangeMax;
} COLORSPACE_TRANSFORM_DATA_CAP;

成員

DataType

COLORSPACE_TRANSFORM_DATA_TYPE列舉。

BitCountOfInteger

如果 DataType 是固定點 (COLORSPACE_TRANSFORM_DATA_TYPE_FIXED_POINT) ,則為整數的位計數。

BitCountOfFraction

如果 DataType 是固定點 (COLORSPACE_TRANSFORM_DATA_TYPE_FIXED_POINT) ,則分數的位計數。

BitCountOfExponent

如果 DataType 為 float (COLORSPACE_TRANSFORM_DATA_TYPE_FLOAT) ,則指數的位計數。

BitCountOfMantissa

如果 DataType 為 float (COLORSPACE_TRANSFORM_DATA_TYPE_FLOAT) ,則為 mantissa 的位計數。

Value

NumericRangeMin

Gamma 數據的最小數目。

NumericRangeMax

Gamma 數據的數目上限。

規格需求

需求
最低支援的用戶端 Windows 10 (版本 1903)
標頭 ntdeo.h