Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6709 Discussions

UIC JPEG encoder JPEGEncoderParamsXXX not well designed

Bell
Beginner
223 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
Moderator
223 Views
thanks for your report. I will forward it to our engineer expert to have a comment.

Regards,
Chao
0 Kudos
Sergey_K_Intel
Employee
223 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
0 Kudos
Reply