- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Vladimir,
You're right ! Thanks for helping me
to solve the problem. :-)
- Kelvin
You're right ! Thanks for helping me
to solve the problem. :-)
- Kelvin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Kelvin,
you are welcome:)
Regards,
Vladimir
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page