Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

IJG porting to PCA problem!

cloud007
Beginner
688 Views
I want to port huffman decoding part using PCA version IPP,but met the exception of:

When read about 70 rows,the following cal return error code -2.
Can some one tell me what's the cause?


int used_bits_len = 0,last_bits_left,marker = 0;
int valid_pre_fetched_bits = 0;
unsigned int pre_fetched_bits = 0;

stat = ippiDecodeHuffman8x8_Direct_JPEG_1u16s_C1(
cinfo->src->next_input_byte,
&used_bits_len,
(Ipp16s *)&block[0],
&state.last_dc_val[ci],
&marker,
&pre_fetched_bits,
&valid_pre_fetched_bits,
dctbl->pHuffTbl,
actbl->pHuffTbl
);

Thanks
0 Kudos
3 Replies
Vladimir_Dudnik
Employee
688 Views
Hi Cloud,
Please take a look on JPEG-cross-arch sample, it should be available in IPP v4.1. This sample was dedicated to work on both Windows XP on IA and Windows CE on PCA. So, it may give some hints how to use IPP functions in JPEG codec.
Regards,
Vladimir
0 Kudos
cloud007
Beginner
688 Views
Thanks.It's ok now
0 Kudos
Vladimir_Dudnik
Employee
688 Views
Hi Cloud,
That's great you solve your issue. By the way, how you find IPP performance on Xscale platform? What about functionality? Is it cover your needs?
Regards,
Vladimir
0 Kudos
Reply