IWICJpegFrameEncode::GetAcHuffmanTable method (wincodec.h)
Retrieves a copy of the AC Huffman table for the specified scan and table.
Syntax
HRESULT GetAcHuffmanTable(
UINT scanIndex,
UINT tableIndex,
[out] DXGI_JPEG_AC_HUFFMAN_TABLE *pAcHuffmanTable
);
Parameters
scanIndex
Type: UINT
The zero-based index of the scan for which data is retrieved.
tableIndex
Type: UINT
The index of the AC Huffman table to retrieve.
[out] pAcHuffmanTable
Type: DXGI_JPEG_AC_HUFFMAN_TABLE*
A pointer that receives the table data. This parameter must not be NULL.
Return value
Type: HRESULT
This method can return one of these values.
Return value | Description |
---|---|
|
The operation was successful. |
|
The specified scan index is invalid. |
|
Can occur if pAcHuffmanTable is NULL or if tableIndex does not point to a valid table slot. Check the scan header for valid table indices. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | wincodec.h |
Library | Windowscodecs.lib |
DLL | Windowscodecs.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for