IImagingfactory vs neonized jpeglib RRS feed

  • Question

  • Hello,

    I have to convert programmatically jpeg pictures to bmp. At the moment I do this using iimagingfactory (CreateImageFromBuffer). Operating system is WEC7, processor imx6. 

    Using a special SDK/compiler from platformbuilder I can use ARMV7 instructions and NEON intrinsics.

    There exists a neonzied jpeg-lib that could be transferred to WEC7 (I fear with a lot of work). 

    My question: Can I expect a significant gain of speed by using such a neonizied jpeg lib ? Or is iimagingfactory already optimzied so that any improvement is unlikely ?

    Thanks !

    Friday, December 29, 2017 6:45 PM

All replies

  • Step into the imaging factory functions and look at the assembly. That'll at least give you a general idea whether the code is using NEON instructions. The jpeg-lib may be handcrafted optimized, but whether or not you can expect a big improvement really depends on the two code-bases. Without that info it is impossible for anyone to tell you (unless there is someone on this forum that has already gone down the path you are about to take).

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog:

    Microsoft Embedded Partner
    NXP Proven Partner
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here:

    Monday, January 1, 2018 9:03 PM