Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6628 Discussions

picnic (JPEG.cpp line 318) code seem to be incorrect (IPP samples 7.0.6.60)

Bell
Beginner
113 Views
imageCn.ColorSpec().DataRange().SetAsRange16u(1 << (image.Precision()-1));

Should be

imageCn.ColorSpec().DataRange().SetAsRange16u((1 << (image.Precision()-1)) - 1);
0 Kudos
3 Replies
Gennady_F_Intel
Moderator
113 Views
yes, it seems you are perfectly right. it should be fixed.
--Gennady
Gennady_F_Intel
Moderator
113 Views

Hello, please check the latest update 7 ( intel IPP 7.0 Update7) released recently. The problem you reported has been fixed in this update.Please let us know how it works on your side.See here the official announcement of this release.

/Gennady

Bell
Beginner
113 Views
I'm sure it was fixed. Thanks!!

Bell
Reply