Share via


WICJpegFrameHeader 結構 (wincodec.h)

表示 JPEG 框架標頭。

語法

typedef struct WICJpegFrameHeader {
  UINT                  Width;
  UINT                  Height;
  WICJpegTransferMatrix TransferMatrix;
  WICJpegScanType       ScanType;
  UINT                  cComponents;
  DWORD                 ComponentIdentifiers;
  DWORD                 SampleFactors;
  DWORD                 QuantizationTableIndices;
} WICJpegFrameHeader;

成員

Width

JPEG 框架的寬度。

Height

JPEG 框架的高度。

TransferMatrix

JPEG 框架的傳輸矩陣。

ScanType

JPEG 框架的掃描類型。

cComponents

框架中的元件數目。

ComponentIdentifiers

元件識別碼。

SampleFactors

範例因素。 使用下列其中一個常數,如 IWICJpegFrameDecode 常數中所述。

  • WIC_JPEG_SAMPLE_FACTORS_ONE
  • WIC_JPEG_SAMPLE_FACTORS_THREE_420
  • WIC_JPEG_SAMPLE_FACTORS_THREE_422
  • WIC_JPEG_SAMPLE_FACTORS_THREE_440
  • WIC_JPEG_SAMPLE_FACTORS_THREE_444

QuantizationTableIndices

量化數據表索引的格式。 使用下列其中一個常數,如 IWICJpegFrameDecode 常數中所述。

  • WIC_JPEG_QUANTIZATION_BASELINE_ONE
  • WIC_JPEG_QUANTIZATION_BASELINE_THREE

備註

藉由呼叫 IWICJpegFrameDecode::GetFrameHeader 來取得影像的框架標頭。

規格需求

需求
標頭 wincodec.h

另請參閱

IWICJpegFrameDecode::GetFrameHeader