Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6704 Discussions

about huffman decoding state structure in jpeg ipp..

Intel_C_Intel
Employee
336 Views
Hi~
We areusing the IPP 5.0 jpegsample code and IXP library in this site.
As the IPP reference manual p 971(document number,A70805-016),
"the fields of the structure of "IppiDecodeHuffmanstate" are hidden from user."
But, we would like to know the structure.
How can we know that?
0 Kudos
2 Replies
Vladimir_Dudnik
Employee
336 Views

Hi,

fields of this structure are hidden because they may be different on different architectures.

You can tract IppiDecodeHuffmanState as

typedef struct _ownpjDecodeHuffmanState
{
Ipp64u uBitBuffer;
int nBitsValid;
int nEndOfBlockRun;
.....
} ownpjDecodeHuffmanState;

Or, you can use ippiDecodeHuffman8x8_Direct_JPEG_1u16s_C1 function, which do exactly the same job but all fields which are hidden in structure are available as a parameters.

Regards,
Vladimir

0 Kudos
Intel_C_Intel
Employee
336 Views
Thank you for your kind explanation.
We will try to adopt your suggestion.
Have a nice day.
0 Kudos
Reply