<?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>i.MX Processors中的主题 Use hardware encoder - Andoird iMX8M Plus</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Use-hardware-encoder-Andoird-iMX8M-Plus/m-p/1307183#M176857</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to develop an Android application on the iMX8M Plus board. It is a camera-based application. I am able to display camera data to display using camera 2 API as well as using the GStreamer library. But my CPU usage is very high. Now I am considering using the HW encoder. Can someone please guide me? I would like to use the HW encoder when using Android camera API and the GStreamer API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my&amp;nbsp;BoardConfig.mk (default) -&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;BOARD_SOC_TYPE := IMX8MP&lt;BR /&gt;BOARD_HAVE_VPU := true&lt;BR /&gt;BOARD_VPU_TYPE := hantro&lt;BR /&gt;HAVE_FSL_IMX_GPU2D := false&lt;BR /&gt;HAVE_FSL_IMX_GPU3D := true&lt;BR /&gt;HAVE_FSL_IMX_PXP := false&lt;BR /&gt;TARGET_USES_HWC2 := true&lt;BR /&gt;TARGET_HAVE_VULKAN := true&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;SOONG_CONFIG_IMXPLUGIN += \&lt;BR /&gt;BOARD_VPU_TYPE&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;SOONG_CONFIG_IMXPLUGIN_BOARD_SOC_TYPE = IMX8MP&lt;BR /&gt;SOONG_CONFIG_IMXPLUGIN_BOARD_HAVE_VPU = true&lt;BR /&gt;SOONG_CONFIG_IMXPLUGIN_BOARD_VPU_TYPE = hantro&lt;BR /&gt;SOONG_CONFIG_IMXPLUGIN_BOARD_VPU_ONLY = false&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Going forword, we would like to use NPU for AI processing from Android applications. I would appreciate it if there is any documentation available for the same.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;BR /&gt;Avijit&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 13 Jul 2021 21:56:25 GMT</pubDate>
    <dc:creator>avijitnsec</dc:creator>
    <dc:date>2021-07-13T21:56:25Z</dc:date>
    <item>
      <title>Use hardware encoder - Andoird iMX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-hardware-encoder-Andoird-iMX8M-Plus/m-p/1307183#M176857</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to develop an Android application on the iMX8M Plus board. It is a camera-based application. I am able to display camera data to display using camera 2 API as well as using the GStreamer library. But my CPU usage is very high. Now I am considering using the HW encoder. Can someone please guide me? I would like to use the HW encoder when using Android camera API and the GStreamer API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my&amp;nbsp;BoardConfig.mk (default) -&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;BOARD_SOC_TYPE := IMX8MP&lt;BR /&gt;BOARD_HAVE_VPU := true&lt;BR /&gt;BOARD_VPU_TYPE := hantro&lt;BR /&gt;HAVE_FSL_IMX_GPU2D := false&lt;BR /&gt;HAVE_FSL_IMX_GPU3D := true&lt;BR /&gt;HAVE_FSL_IMX_PXP := false&lt;BR /&gt;TARGET_USES_HWC2 := true&lt;BR /&gt;TARGET_HAVE_VULKAN := true&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;SOONG_CONFIG_IMXPLUGIN += \&lt;BR /&gt;BOARD_VPU_TYPE&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;SOONG_CONFIG_IMXPLUGIN_BOARD_SOC_TYPE = IMX8MP&lt;BR /&gt;SOONG_CONFIG_IMXPLUGIN_BOARD_HAVE_VPU = true&lt;BR /&gt;SOONG_CONFIG_IMXPLUGIN_BOARD_VPU_TYPE = hantro&lt;BR /&gt;SOONG_CONFIG_IMXPLUGIN_BOARD_VPU_ONLY = false&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Going forword, we would like to use NPU for AI processing from Android applications. I would appreciate it if there is any documentation available for the same.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;BR /&gt;Avijit&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jul 2021 21:56:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-hardware-encoder-Andoird-iMX8M-Plus/m-p/1307183#M176857</guid>
      <dc:creator>avijitnsec</dc:creator>
      <dc:date>2021-07-13T21:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Use hardware encoder - Andoird iMX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-hardware-encoder-Andoird-iMX8M-Plus/m-p/1315160#M177636</link>
      <description>&lt;P&gt;for your own application, you can refer to the Nuplayer, which uses VPU on android&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 09:15:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-hardware-encoder-Andoird-iMX8M-Plus/m-p/1315160#M177636</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-07-29T09:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Use hardware encoder - Andoird iMX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-hardware-encoder-Andoird-iMX8M-Plus/m-p/1319307#M177984</link>
      <description>&lt;P&gt;Thank you for the reply. Is there anything specific I need to do to use imx specific VPU. Is there any library I need to include in the gradle file?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 23:26:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-hardware-encoder-Andoird-iMX8M-Plus/m-p/1319307#M177984</guid>
      <dc:creator>avijitnsec</dc:creator>
      <dc:date>2021-08-05T23:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Use hardware encoder - Andoird iMX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-hardware-encoder-Andoird-iMX8M-Plus/m-p/1338344#M179908</link>
      <description>&lt;P&gt;&amp;nbsp;the source code of codecs in the android under:&lt;/P&gt;
&lt;P&gt;•&lt;STRONG&gt;i.MX OMX Codecs&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;•Binary: device/fsl-codec/lib/&lt;/P&gt;
&lt;P&gt;•Source: external/fsl_imx_omx/&lt;/P&gt;
&lt;P&gt;so you can refer to nxp android source code about using vpu&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 10:07:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-hardware-encoder-Andoird-iMX8M-Plus/m-p/1338344#M179908</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-09-10T10:07:34Z</dc:date>
    </item>
  </channel>
</rss>

