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

Memory Leak for CJPEGEncoder

danielwang1971
초급자
1,221 조회수

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 포인트
4 응답
Vladimir_Dudnik
1,221 조회수

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

0 포인트
danielwang1971
초급자
1,221 조회수

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

0 포인트
Vladimir_Dudnik
1,221 조회수

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

0 포인트
danielwang1971
초급자
1,221 조회수

Hello Vladimir,

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

Regards,

Daniel wang

0 포인트
응답