Struttura WICJpegFrameHeader (wincodec.h)

Rappresenta un'intestazione di frame JPEG.

Sintassi

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

Members

Width

Larghezza del frame JPEG.

Height

Altezza del frame JPEG.

TransferMatrix

Matrice di trasferimento del frame JPEG.

ScanType

Tipo di analisi del frame JPEG.

cComponents

Numero di componenti nel frame.

ComponentIdentifiers

Identificatori del componente.

SampleFactors

Fattori di esempio. Usare una delle costanti seguenti, descritte in Costanti 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

Formato degli indici della tabella di quantizzazione. Usare una delle costanti seguenti, descritte in Costanti IWICJpegFrameDecode.

  • WIC_JPEG_QUANTIZATION_BASELINE_ONE
  • WIC_JPEG_QUANTIZATION_BASELINE_THREE

Commenti

Ottenere l'intestazione del frame per un'immagine chiamando IWICJpegFrameDecode::GetFrameHeader.

Requisiti

Requisito Valore
Intestazione wincodec.h

Vedi anche

IWICJpegFrameDecode::GetFrameHeader