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

Memory Leak for CJPEGEncoder

danielwang1971
Einsteiger
817Aufrufe

Hello,

I met a problem toexportjpegfile by CJPEGEndoer.

Every thing is fine if OpenMP disabled. However,I gotmemory leakwhen enable OpenMP.Can you help me?

I use IPPv5.2 static lib compiler is MS VS2005.

Best regrads,

Daniel

0 Kudos
4 Antworten
Vladimir_Dudnik
Mitarbeiter
817Aufrufe

Hello,

thanks for reporting the issue. To reduce us effort on investigation of that problem could you please specify how do you detect memory leak and what were your encoding parameters, like compression mode, restart intervals, compression ratio, image size and so on?

Did you detect issue on IPP JPEGView sample or it is your customized code to call IPP JPEG encoder?

Regards,
Vladimir

danielwang1971
Einsteiger
817Aufrufe

Hello Vladimir,

I detect memory leak in my custimized code; I called CJPEGEncoder to export a series of jpegimage files.(By the way,CJEPGEncoder versionis 5.0)

Parameters: JPEG_BASELINE, Image format MONO 8,

Compression ratio 75%,image size any

Best regards,

Daneil wang

Vladimir_Dudnik
Mitarbeiter
817Aufrufe

Daneil,

if I remember that correctly, in IPP 5.0 JPEG encoder was not threaded yet. So it is strange that you detect memory leak issue in encoder which depends on OpenMP threading. BTW, whydo not you use IPP JPEG sample from IPP 5.2 which you seems link with?

Please note, we just released the next version, IPP 5.3, so you might be interested to try this version of libraries and IPP JPEG codec.

Regards,
Vladimir

danielwang1971
Einsteiger
817Aufrufe

Hello Vladimir,

Thank you so much. I tried IPP5.3, everything is fine for IPP JPEG codec.

Regards,

Daniel wang

Antworten