WICJpegFrameHeader structure (wincodec.h)
Represents a JPEG frame header.
Syntax
typedef struct WICJpegFrameHeader {
UINT Width;
UINT Height;
WICJpegTransferMatrix TransferMatrix;
WICJpegScanType ScanType;
UINT cComponents;
DWORD ComponentIdentifiers;
DWORD SampleFactors;
DWORD QuantizationTableIndices;
} WICJpegFrameHeader;
Members
Width
The width of the JPEG frame.
Height
The height of the JPEG frame.
TransferMatrix
The transfer matrix of the JPEG frame.
ScanType
The scan type of the JPEG frame.
cComponents
The number of components in the frame.
ComponentIdentifiers
The component identifiers.
SampleFactors
The sample factors. Use one of the following constants, described in IWICJpegFrameDecode Constants.
- 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
The format of the quantization table indices. Use one of the following constants, described in IWICJpegFrameDecode Constants.
- WIC_JPEG_QUANTIZATION_BASELINE_ONE
- WIC_JPEG_QUANTIZATION_BASELINE_THREE
Remarks
Get the frame header for an image by calling IWICJpegFrameDecode::GetFrameHeader.
Requirements
Requirement | Value |
---|---|
Header | wincodec.h |