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

The IPP5.1 JPEG2000 decoder performace ?

mozartisme
Beginner
293 Views

Dear Sir:

I used the IPP5.1 JPEG2000 to decode my bitstream from network. Now I find it can only decode 512*512 10 frame/s and the CPU always 100% on my P4 2.4G PC.

I find the CPU always 100% caused by following code:

while(j2kCodestream.ReadNextTilePartHeader())
{
while(j2kCodestream.ReadPacket())
}

and

"j2kCodestream.UpdateImageComponents(interfaceImgRef);"

"ConvertImageChannelsToDIB (metaImage, dib.Info(), dibData.Channels(), false, diagnOutputPtr);"

the two line code spent too much time to decode the JPEG2000 bit stream. So I can onlydecode 10 frame/s.

I want to someone can help me to improve the performace.

Thank you!


Mozart.

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
293 Views

Hi Mozart,

The first, to improve performance we do recommend you to build the sample with Intel compiler, in that case OpenMP threadin will be added to JPEG2000 decoder, so you will get benefits from HT/DC systems automatically.

The second, you might omit ConvertImageChannelsToDIB() call if you will use directly image data from internal codec representation.

By the way, I recommend you to try JPEG2000 sample from IPP 5.2 beta, which is available now. It contain improvement in threading efficiency and so should provide you better performance.

Regards,
Vladimir

0 Kudos
Reply