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

IPP samples bug in jpegenc.cpp

Thomas_Jensen1
Beginner
451 Views
IPP samples bug in uic_jpeg_enc.h

In UIC sample 6.1.4.059, the code in jpegenc.cpp on line 2031 seems to be bad:

buflen = (m_jpeg_mode == JPEG_LOSSLESS) ?
IPP_MAX(ENC_DEFAULT_BUFLEN,m_numxMCU * m_jpeg_ncomp * 2) :
ENC_DEFAULT_BUFLEN;

I guess it should be:

buflen = (m_jpeg_mode == JPEG_LOSSLESS) ?
IPP_MAX(ENC_DEFAULT_BUFLEN,m_numxMCU * m_jpeg_ncomp * 2 * 2) :
ENC_DEFAULT_BUFLEN;

This was also indicated elsewhere in this forum.

I was expecting this latest IPP 6.1.4 update to have included these fixes.

0 Kudos
2 Replies
Vladimir_Dudnik
Employee
451 Views

Hi Thomas,

This will be fixed in the next major version of IPP.

Regards,
Vladimir

0 Kudos
Gennady_F_Intel
Moderator
451 Views

Hi Thomas,
Thanks for your problem you raised.This issue has been submitted to our internal development tracking database for further investigation, we will inform you once a new update becomes available.Here is a bug tracking number for your reference: DPD200090956.

--Gennady

0 Kudos
Reply