- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.It's ok now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page