- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm testing ipp-samples/image-codecs/ijg.
cjpeg, djpeg in utilites have no problem.
But, some problmes are happen in using ImageMagick with libjpeg.so.ipp
I have tested with convert in ImageMagick/utilities.
$ convert -resize 400x300 test.jpg testout.jpg
convert: Premature end of JPEG file 'test.jpg' @ jpeg.c/EmitMessage/226.
This problem is happen in any jpeg file.
What's wrong?
env : IPP6.1.1.042
gcc 3.4.6
cjpeg, djpeg in utilites have no problem.
But, some problmes are happen in using ImageMagick with libjpeg.so.ipp
I have tested with convert in ImageMagick/utilities.
$ convert -resize 400x300 test.jpg testout.jpg
convert: Premature end of JPEG file 'test.jpg' @ jpeg.c/EmitMessage/226.
This problem is happen in any jpeg file.
What's wrong?
env : IPP6.1.1.042
gcc 3.4.6
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nemorino,
I tried IJG sample with some version of ImageMagic. The jpeg.c file in ImageMagick need to be changed (attached). It may depend on the version of imagemagic. You can search INTEL_IJG to find what was changed to accommodate IPP sample code.
Thanks,
Chao
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please pay attention to how IPP is used in libjpeg. It requires custom jdatasrc.c and jdata dst.c file (usually an application part)
Regards,
Vladimir
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmm.
I will see the files.
jdatasrc.c and jdata dst.c
I will see the files.
jdatasrc.c and jdata dst.c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Chao Y (Intel)
Nemorino,
I tried IJG sample with some version of ImageMagic. The jpeg.c file in ImageMagick need to be changed (attached). It may depend on the version of imagemagic. You can search INTEL_IJG to find what was changed to accommodate IPP sample code.
Thanks,
Chao
The problem is solved.
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