- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I want to use UIC library to decode MJPEG frames (input format 420) in YUV422 interleaved format or YUV420 planar (if it is possible).
I was able to do it correctly with the old IJL library: I decode the frames in RGB format and then convert to YUV420 (which is our preferred format to render the frames on video memory).
Now I am trying to use the IPP 7.0/7.1 libraries (using the UIC JPEGDecoder class), but I have some problems.
I have wrote the code based on the example that I have found in the documentation and on the forums. I do not have any error during the code execution, but the output buffer remains with all zeros.
Where could I find an example to decode MJPEG 420 frames with UIC?
Thanks
Andrea
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
UPDATE:
Now we are decoding correctly the frames. The trick to get the job done was to decode the input frames to RGB and then convert to YUV420 format. The direct decode from 420 or 411 to 422 interleaved is not supported. Also with the old IJL decoder we did it in that way.
Bye,
Andrea
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all!
I have a very similar problem. I need to convert JPEG (I get them from MJPEG IP camera) to RGB (BMP, DIB).
What IPP function have you used?
Best regards,
Roman
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page