Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6633 Discussions

UIC JPEG encoder JPEGEncoderParamsXXX not well designed

Bell
Beginner
115 Views
Every type of m_color declared inside class JPEGEncoderParamsXXX (uic.jpeg.enc.h) was JCOLOR. However, it actually a IM_COLOR type. This might confuse the user. I recommend you change the UIC JPEG sample to prevent try and error. And suggest you to review the decoder part.
0 Kudos
2 Replies
Chao_Y_Intel
Employee
115 Views
thanks for your report. I will forward it to our engineer expert to have a comment.

Regards,
Chao
Sergey_K_Intel
Employee
115 Views
Hi Bell,
You're right, this is not only confusing but error-prone too. We'll revise using of colors in all image codecs.
Thank you!
Regards,
Sergey
Reply