Share via


WICJpegScanHeader 結構 (wincodec.h)

表示 JPEG 框架標頭。

語法

typedef struct WICJpegScanHeader {
  UINT  cComponents;
  UINT  RestartInterval;
  DWORD ComponentSelectors;
  DWORD HuffmanTableIndices;
  BYTE  StartSpectralSelection;
  BYTE  EndSpectralSelection;
  BYTE  SuccessiveApproximationHigh;
  BYTE  SuccessiveApproximationLow;
} WICJpegScanHeader;

成員

cComponents

掃描中的元件數目。

RestartInterval

掃描內重設標記的間隔。

ComponentSelectors

元件識別碼。

HuffmanTableIndices

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

  • WIC_JPEG_HUFFMAN_BASELINE_ONE
  • WIC_JPEG_HUFFMAN_BASELINE_THREE

StartSpectralSelection

選取範圍的開頭。

EndSpectralSelection

選取範圍的結尾。

SuccessiveApproximationHigh

連續近似值高。

SuccessiveApproximationLow

後續近似值低。

備註

呼叫 IWICJpegFrameDecode::GetScanHeader 來取得影像的掃描標頭。

規格需求

需求
標頭 wincodec.h