<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hardware accelerated JPEG decoder on the i.MX8X in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Hardware-accelerated-JPEG-decoder-on-the-i-MX8X/m-p/952903#M142407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply. I am slightly confused as your first email suggest JPEG hardware decoding is not possible and your second email included some sample code that should allow hardware  JPEG decoding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to try to use the sample code you provided (assuming this will work on the I.MX8X) however, there are a number of header files missing (such as fsl_common.h and others.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a full SDK I should download that would provide these missing header files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonners.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Aug 2019 08:49:04 GMT</pubDate>
    <dc:creator>jonners_guttman</dc:creator>
    <dc:date>2019-08-06T08:49:04Z</dc:date>
    <item>
      <title>Hardware accelerated JPEG decoder on the i.MX8X</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hardware-accelerated-JPEG-decoder-on-the-i-MX8X/m-p/952901#M142405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an i.MX8X development board and need to decode JPEG images using the hardware decoder. I was lead to believe that gstreamer would use the hardware to accelerate its decoding performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very new to gstreamer and finally got an application using "appsrc" "jpegdec" and "appsink" as my main elements to decode a JPEG image held in memory. I eventually got this working fine on a Linux virtual machine (Ubuntu) running on my Windows 7 PC. I have recompiled my code to work on the iMX8X platform. I have attached my source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does work and the "raw" image my appsink receives is the correctly decoded JPEG image. However, the frame rate is 5fps and it is using 100% of a single CPU core, clearly not using the hardware decoder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact I renamed the standard JPEG library (libjpeg.so) and my application no longer worked - could not find the library. In my mind this implies that gstreamer is NOT using the hardware decoders but the standard jpeg library which is a software decoder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I absolutely need to decode JPEG images using the hardware (need to be running at 15fps and not use the CPU as all four cores will be hard at work doing other things!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me with some "C" code to get the i.MX8X to use the hardware decoder to decode JPEG images held in memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonners.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 13:54:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hardware-accelerated-JPEG-decoder-on-the-i-MX8X/m-p/952901#M142405</guid>
      <dc:creator>jonners_guttman</dc:creator>
      <dc:date>2019-08-05T13:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware accelerated JPEG decoder on the i.MX8X</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hardware-accelerated-JPEG-decoder-on-the-i-MX8X/m-p/952902#M142406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems there are no available for customers jpeg gstreamer examples&lt;/P&gt;&lt;P&gt;(please note that this part is not publicly released and not fully supported).&lt;/P&gt;&lt;P&gt;Available gstreamer examples can be found&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=imx-yocto-L4.14.98_2.0.0_ga" target="_blank"&gt;Linux L4.14.98_2.0.0 Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Support for i.MX8QXP vpu gstreamer examples can be provided with&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE" title="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE"&gt;NXP Professional Services | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 23:20:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hardware-accelerated-JPEG-decoder-on-the-i-MX8X/m-p/952902#M142406</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-08-05T23:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware accelerated JPEG decoder on the i.MX8X</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hardware-accelerated-JPEG-decoder-on-the-i-MX8X/m-p/952903#M142407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply. I am slightly confused as your first email suggest JPEG hardware decoding is not possible and your second email included some sample code that should allow hardware  JPEG decoding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to try to use the sample code you provided (assuming this will work on the I.MX8X) however, there are a number of header files missing (such as fsl_common.h and others.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a full SDK I should download that would provide these missing header files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonners.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 08:49:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hardware-accelerated-JPEG-decoder-on-the-i-MX8X/m-p/952903#M142407</guid>
      <dc:creator>jonners_guttman</dc:creator>
      <dc:date>2019-08-06T08:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware accelerated JPEG decoder on the i.MX8X</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hardware-accelerated-JPEG-decoder-on-the-i-MX8X/m-p/952904#M142408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonners&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sdk can be downloaded from&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 11:11:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hardware-accelerated-JPEG-decoder-on-the-i-MX8X/m-p/952904#M142408</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-08-06T11:11:54Z</dc:date>
    </item>
  </channel>
</rss>

