<?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中的主题 Re: iMX53 VPU usage</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268581#M28412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leonardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help. Unfortunately ffmpeg is not capable to use the VPU.&lt;/P&gt;&lt;P&gt;I am looking for g-stream friendly solution for my application. That may use Freescale codecs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2013 13:02:00 GMT</pubDate>
    <dc:creator>rostislav</dc:creator>
    <dc:date>2013-02-25T13:02:00Z</dc:date>
    <item>
      <title>iMX53 VPU usage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268577#M28408</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 am trying to build FFMPEG v0.6.6 on an IMX53 QS board. I need this version of FFMPEG specifically, so that is why I am trying to build it from scratch. After some tests it seems that FFMPEG is not using the NEON SIMD. I would like it to do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, I think I am configuring it properly. My “configure” command is this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;: ./configure --enable-shared --enable-neon --enable-libx264 --enable-gpl --extra-cflags=’-mfpu=neon -mcpu=cortex-a8 -mfloat-abi=softfp’&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The configure script’s summary goes on to say “NEON enabled: yes”. But I don’t think it is really engaged. Why do I think this? My kernel has MXC Debugging turned on. That means I get nice messages about the VPU usage when it is used. When I run a demo video, I see many MXC debugging prints. When I run my software which uses FFMPEG, I see no such messages. Also, performance is low and CPU usage is high. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to build FFMPEG so that it REALLY engages the NEON SIMD (or VPU?)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 13:14:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268577#M28408</guid>
      <dc:creator>rostislav</dc:creator>
      <dc:date>2013-02-22T13:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 VPU usage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268578#M28409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FFMPEG does not have VPU support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I know, any decoder from ffmpeg is sotfware based.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the neon support, I did not understand how you concluded you´re not using it on ffmpeg, could you, please elaborate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 14:15:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268578#M28409</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2013-02-22T14:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 VPU usage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268579#M28410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/rostislav"&gt;rostislav&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if you are really using the element you are building. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post the pipeline you are running?&lt;/P&gt;&lt;P&gt;are you using playbin2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I am not sure how much benefit does the '-mfpu=neon' is archive for that particular gst element. As &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/DaianeAngolini"&gt;DaianeAngolini&lt;/A&gt; mentioned, ffmpeg plugins do not accelerate the decoding/encoding using the VPU, so the only optimization you can get is using the NEON configure parameter, as you have done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 16:14:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268579#M28410</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-02-22T16:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 VPU usage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268580#M28411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daiane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mistakenly thought that Neon is a VPU name. I need to use VPU not Neon. Unfortunately ffmpeg doesn't support VPU. I actually didn't check if Neon used. To confirm VPU usage I added to each VPU related kernel API printk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 12:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268580#M28411</guid>
      <dc:creator>rostislav</dc:creator>
      <dc:date>2013-02-25T12:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 VPU usage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268581#M28412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leonardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help. Unfortunately ffmpeg is not capable to use the VPU.&lt;/P&gt;&lt;P&gt;I am looking for g-stream friendly solution for my application. That may use Freescale codecs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 13:02:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268581#M28412</guid>
      <dc:creator>rostislav</dc:creator>
      <dc:date>2013-02-25T13:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 VPU usage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268582#M28413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds good to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, keep posting your progress (here or on a new discussion). I´m sure there is somebody else working almost the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 13:13:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268582#M28413</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2013-02-25T13:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 VPU usage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268583#M28414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;I installed the Freescale's codecs following i.MX Linux Mulimedia Framework User's Guide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;While trying to use a h264 codec we get the following error:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;0:11.053 PExternalT...0x2f2be420 GStreamer mfw_gst_h264_getbuffer: &amp;gt;&amp;gt;DECODER: Error -4 in allocating the Framebuffer[0]&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;Could anybody point to a document that may help to interpret codec errors? What the&amp;nbsp; "Error -4" means?&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 12:52:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-VPU-usage/m-p/268583#M28414</guid>
      <dc:creator>rostislav</dc:creator>
      <dc:date>2013-06-03T12:52:44Z</dc:date>
    </item>
  </channel>
</rss>

