<?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: i.MX8M Mini support for JPEG encoding in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1356226#M181595</link>
    <description>&lt;P&gt;The block diagram of the Hantro VC8000E is on the public site of verisilicon:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.verisilicon.com/en/IPPortfolio/HantroVC8000E" target="_blank"&gt;https://www.verisilicon.com/en/IPPortfolio/HantroVC8000E&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1569309668539056739.png" style="width: 485px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159179i7731108AD6BC93F4/image-dimensions/485x399?v=v2" width="485" height="399" role="button" title="1569309668539056739.png" alt="1569309668539056739.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It does show a JPEG encoder. A similar diagram taken from the imx8mplus reference guide, has a modified block diagram:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Schermafbeelding 2021-10-15 om 08.33.12.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159180i99C08FA311212BA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Schermafbeelding 2021-10-15 om 08.33.12.png" alt="Schermafbeelding 2021-10-15 om 08.33.12.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Apart from the missing jpeg encoder they look very similar. When we realised this we where kind of shocked that it wouldn't be able to generate JPEG or MJPEG hardware accelerated. We are not sure if there are good alternatives, like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;JPEG encoding in the ISP ? some registers hint to this feature&lt;/LI&gt;&lt;LI&gt;JPEG encoding using the GPU, so far we haven't been successful in getting this to work&lt;/LI&gt;&lt;LI&gt;Software encoding using a core works ofcourse, but is to slow for our application.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Somehow we can't believe that this processor would lack this feature. If anyone has a hint on this subject, we are very interested.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;</description>
    <pubDate>Fri, 15 Oct 2021 06:38:00 GMT</pubDate>
    <dc:creator>bart_meeuwissen</dc:creator>
    <dc:date>2021-10-15T06:38:00Z</dc:date>
    <item>
      <title>i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/916949#M138020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed that VPU H1 Register 14 (SWREG14) allows to select between VP8, JPEG or H264; does the VPU_H1 support JPEG? If so, how to use it? gst-inspect-1.0 only returns jpegenc, which is the standard software encoder...&lt;/P&gt;&lt;P&gt;The register is documented in i.MX 8M Mini Applications Processor Reference Manual, Rev. 1, 03/2019, page 4805.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 13:07:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/916949#M138020</guid>
      <dc:creator>vincentz63</dc:creator>
      <dc:date>2019-08-13T13:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/916950#M138021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello JP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The JPEG Encoder consists of a JPEG-E-X core and a JPEG Encoder Wrapper (JPGENCWRP). Similarly, the JPEG Decoder consists of a JPEG decoder core (JPEG-DX) and its corresponding wrapper&lt;/P&gt;&lt;P&gt;The driver relies on the V4L2 framework, For more information on streaming I/O, see Streaming I/O (Memory Mapping).&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/mmap.html" title="https://linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/mmap.html"&gt;3.2. Streaming I/O (Memory Mapping) — The Linux Kernel documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See section 9.5.4 of you Linux ref manual. for usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 16:59:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/916950#M138021</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2019-08-13T16:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/916951#M138022</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;The only relevantLinux doc I have is "i.MX Linux® User's Guide, Rev. L4.14.98-2.0.0_ga, 04/2019", but it does not contain a section 9.5.4.&lt;/P&gt;&lt;P&gt;Section 7.3.3 does states support for MJPEG via GStreamer's vpuenc_jpeg, but that does not seem to exist for the i.MX8MMini. "gst-inspect-1.0 | grep vpu" yields "vpuenc_h264 and vpuenc_vp8".&lt;/P&gt;&lt;P&gt;GStreamer's v4l2src has an image/jpeg pad and its 'io-mode' property can be set to 'mmap'; is this what you're implying I should use to target the h/w JPEG encoder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 08:42:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/916951#M138022</guid>
      <dc:creator>vincentz63</dc:creator>
      <dc:date>2019-08-14T08:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/916952#M138023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Any change you could look into my reply from 14th August?&lt;/P&gt;&lt;P&gt;Do you mean that the JPEG core of the i.MX8MMini was bought from Alma (who appear to sell an IP called JPEG-E-X)?&lt;/P&gt;&lt;P&gt;Do you mean that there's no GStreamer API for the JPEG encoder and that instead we must directly target the V4L2 API to make use of the encoder?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 16:04:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/916952#M138023</guid>
      <dc:creator>vincentz63</dc:creator>
      <dc:date>2019-10-04T16:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1348755#M180852</link>
      <description>&lt;P&gt;Hello JP,&lt;/P&gt;&lt;P&gt;Were you ever able to confirm JPEG HW encode/decode support on the H1?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 22:35:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1348755#M180852</guid>
      <dc:creator>amigen-jason</dc:creator>
      <dc:date>2021-09-29T22:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1348756#M180853</link>
      <description>&lt;P&gt;Do you then confirm that there is a HW encoder and decoder on the i.MX 8M Mini?&amp;nbsp; Is it contained within the H1 VPU?&amp;nbsp; If so, it is also present in the i.MX 8M Plus?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 22:36:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1348756#M180853</guid>
      <dc:creator>amigen-jason</dc:creator>
      <dc:date>2021-09-29T22:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1355797#M181556</link>
      <description>&lt;P&gt;Hi Amigen-jason,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you get any insight on the hardware jpeg encoder in the i.MX 8M Plus. At this point we also run into trouble trying to get it to work.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I look at the documentation of VeriSilicon about the VPU used (Hantro VC8000E) it actually has support for (M)JPEG, but software libraries from VeriSilicon integrated in NXP BSP are lacking the functions for it (not in binary, but strangely the header files for it do exist). Furthermore, when I look into the iMX8MPlus reference manual the JPEG block is not shown in the block diagram of the VC8000E while it is in the documentation of VeriSilicion, did NXP remove it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If anyone has information regarding this, we are interested.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bart Meeuwissen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 10:56:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1355797#M181556</guid>
      <dc:creator>bart_meeuwissen</dc:creator>
      <dc:date>2021-10-14T10:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1356066#M181576</link>
      <description>&lt;P&gt;I got confirmation that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The i.MX 8M Mini and Plus have the same decoder but the encoder is different&lt;/LI&gt;&lt;LI&gt;The JPEG section was removed because JPEG support could not be added to the BSP due to a H1 hardware limitation.&amp;nbsp; Not sure what that means exactly other than, presumably, the Hantro really is missing JPEG support.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What Hantro VC8000E documentation do you have access to?&amp;nbsp; Could I get a link if it is public?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 23:49:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1356066#M181576</guid>
      <dc:creator>amigen-jason</dc:creator>
      <dc:date>2021-10-14T23:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1356226#M181595</link>
      <description>&lt;P&gt;The block diagram of the Hantro VC8000E is on the public site of verisilicon:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.verisilicon.com/en/IPPortfolio/HantroVC8000E" target="_blank"&gt;https://www.verisilicon.com/en/IPPortfolio/HantroVC8000E&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1569309668539056739.png" style="width: 485px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159179i7731108AD6BC93F4/image-dimensions/485x399?v=v2" width="485" height="399" role="button" title="1569309668539056739.png" alt="1569309668539056739.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It does show a JPEG encoder. A similar diagram taken from the imx8mplus reference guide, has a modified block diagram:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Schermafbeelding 2021-10-15 om 08.33.12.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159180i99C08FA311212BA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Schermafbeelding 2021-10-15 om 08.33.12.png" alt="Schermafbeelding 2021-10-15 om 08.33.12.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Apart from the missing jpeg encoder they look very similar. When we realised this we where kind of shocked that it wouldn't be able to generate JPEG or MJPEG hardware accelerated. We are not sure if there are good alternatives, like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;JPEG encoding in the ISP ? some registers hint to this feature&lt;/LI&gt;&lt;LI&gt;JPEG encoding using the GPU, so far we haven't been successful in getting this to work&lt;/LI&gt;&lt;LI&gt;Software encoding using a core works ofcourse, but is to slow for our application.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Somehow we can't believe that this processor would lack this feature. If anyone has a hint on this subject, we are very interested.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 06:38:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1356226#M181595</guid>
      <dc:creator>bart_meeuwissen</dc:creator>
      <dc:date>2021-10-15T06:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1357147#M181708</link>
      <description>&lt;P&gt;-&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 10:31:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1357147#M181708</guid>
      <dc:creator>vincentz63</dc:creator>
      <dc:date>2021-10-18T10:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1357276#M181723</link>
      <description>&lt;P&gt;I agree, missing sort sort of JPEG acceleration is HUGE miss on this part.&amp;nbsp; In all of our applications we need USB-UVC support and adding h.264 support to the Linux kernel has been...difficult.&amp;nbsp; I have demonstrated h.264 over UVC with on a 4.14 kernel but didn't natively work in with all hosts (namely Windows built-in webcam viewer).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have successfully used MJPEG over UVC via libturbojpeg, which is the best SW encoder I can find.&amp;nbsp; The best architecture we can dream up given the lacking HW capabilities is to use the 2D GPU to CSC the image to YUV prior to feeding libturbojpeg so that at least the first stage of JPEG encoding is done in HW.&amp;nbsp; And as libturbojpeg uses NEON to accelerate encoding that's about the best I think we can do.&lt;/P&gt;&lt;P&gt;I'm still working with PRO support to find a better HW solution but it's slow and difficult to find someone who is really in the know.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 15:11:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1357276#M181723</guid>
      <dc:creator>amigen-jason</dc:creator>
      <dc:date>2021-10-18T15:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1638943#M204706</link>
      <description>&lt;P&gt;Did you find a solution here?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 12:27:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/1638943#M204706</guid>
      <dc:creator>KlausHaag</dc:creator>
      <dc:date>2023-04-24T12:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini support for JPEG encoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/2017755#M232225</link>
      <description>&lt;P&gt;I too would like to do hardware JPEG encoding on the IMX8MP - does anyone have this working?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 08:37:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-support-for-JPEG-encoding/m-p/2017755#M232225</guid>
      <dc:creator>jheaffey</dc:creator>
      <dc:date>2024-12-20T08:37:35Z</dc:date>
    </item>
  </channel>
</rss>

