- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi,
I use jpeg sample to encode image of size 720x480
as follows:
-------------------------------------
int linestep = img_w*3 + DIB_PAD_BYTES(img_w, 3);
encoder.SetSource(pBGR, img_w, img_h, 3, linestep, JC_BGR);
encoder.SetDestination(95, JS_444, JC_YCBCR);
errCode = encoder.WriteWholeImage(pJpeg, JPEGSize);
---------------------------------------
It returns internal error and debug mode report
IPP Error: ippiEncodeHuffman8x8_JPEG_16s1u_C1() failed - -62
It seems happen only on those image which we overlap
some line or text on it. e.g.
http://graphics.usc.edu/~tatchung/test.jpg
I also try JPEG samples 4.1 but same problem
happens. I'm using IPP 4.1.
Is it a known problem ?
Thanks.
- Kelvin
I use jpeg sample to encode image of size 720x480
as follows:
-------------------------------------
int linestep = img_w*3 + DIB_PAD_BYTES(img_w, 3);
encoder.SetSource(pBGR, img_w, img_h, 3, linestep, JC_BGR);
encoder.SetDestination(95, JS_444, JC_YCBCR);
errCode = encoder.WriteWholeImage(pJpeg, JPEGSize);
---------------------------------------
It returns internal error and debug mode report
IPP Error: ippiEncodeHuffman8x8_JPEG_16s1u_C1() failed - -62
It seems happen only on those image which we overlap
some line or text on it. e.g.
http://graphics.usc.edu/~tatchung/test.jpg
I also try JPEG samples 4.1 but same problem
happens. I'm using IPP 4.1.
Is it a known problem ?
Thanks.
- Kelvin
링크가 복사됨
3 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi,
No, there were no such bug with IPP JPEG codec, can you reproduce this bug in JPEGView sample?
Note, you can see textual descripion of errors in ippdefs.h file. Here, status = -62 stands for ippStsJPEGOutOfBufErr = -62, /* Attempt to access out of the buffer */.
The reason can be not enough buffer size for output JPEG data. Can you increase buffer for compressed JPEG data?
Regards,
Vladimir
