Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Thomas_Jensen1
Beginner
51 Views

IPP samples bug in jpegenc.cpp

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
51 Views

Hi Thomas,

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

Regards,
Vladimir

Gennady_F_Intel
Moderator
51 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

Reply