<?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: iMX6 VPU Zero Buffer Decode in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236434#M18811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that worked.&amp;nbsp; Instead of using the VPU_xxx API, we used the libfslvpuwrap API (which then calls the VPU_XXX API).&amp;nbsp; We could not tell exactly why this worked, but can't knock success!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2013 21:30:34 GMT</pubDate>
    <dc:creator>SteveBakke</dc:creator>
    <dc:date>2013-09-12T21:30:34Z</dc:date>
    <item>
      <title>iMX6 VPU Zero Buffer Decode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236429#M18806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Original &lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-objectid="309958" data-objecttype="1" href="https://community.nxp.com/thread/309958#341236"&gt;thread&lt;/A&gt; is from a user's profile area, but placing on i.MX Community for wider audience:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;We need to use the VPU decoder in a zero-delay mode, i.e. we give the decoder a frame of H.264 data and the decoder performs the decode and provides the framebuffer, immediately.&amp;nbsp; It looks like according to the documentation if we set reorderEnable in the DecOpenParam structure, the decoder should operated in this mode.&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;However we must feed 3 frames in before we get the first frame out. Previously we used iMX53 and this zero-delay decode worked fine. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Enclosed is a modified version of the mxc_vpu_test example.&amp;nbsp; The example was modified to read a .h264 files along with an index file that precisely feeds one frame per keystroke to the decoder.&amp;nbsp; The very first frame is made up of SPS, PPS and and I-Frame, all other frames are P frames.&amp;nbsp; A Readme file in the tgz file explains the changes.&amp;nbsp; You need to build this in the same directory as the original mxc_vpu_text.&amp;nbsp; You probably will have to modify the system directory and the example should build.&amp;nbsp; Also the binary is included see readme for launch instructions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess we are missing setting some parm somewhere to get into this zero-delay mode????&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336494"&gt;mxc_vpu_test_single_frame.tgz&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 17:05:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236429#M18806</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-01T17:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 VPU Zero Buffer Decode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236430#M18807</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/SteveBakke"&gt;SteveBakke&lt;/A&gt; seems that the main problem is that the statement DecOpenParam.&lt;EM&gt;reorderEnable=0&lt;/EM&gt; is somehow ignored.&amp;nbsp; Have you tried other set of h264 &amp;amp; idx files? or more general, other codec formats? Perhaps you are not interested in other codecs but this is just to make sure the code you have added is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 18:09:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236430#M18807</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-01T18:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 VPU Zero Buffer Decode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236431#M18808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, other files and the "live real-time stream data" has the same problem.&amp;nbsp; It must be H.264.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 18:21:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236431#M18808</guid>
      <dc:creator>SteveBakke</dc:creator>
      <dc:date>2013-08-01T18:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 VPU Zero Buffer Decode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236432#M18809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have queried your question to one of our experts (&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/DaianeAngolini"&gt;DaianeAngolini&lt;/A&gt;) and she mentioned the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;"&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri,sans-serif;"&gt;“reorder” does not seems to mean “zero buffer”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="en-US"&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: Tahoma;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="en-US"&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: Tahoma;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri,sans-serif;"&gt;Reorder on a H264 is not what I would like to expect from a zero buffer approach, because H264 first frame is not a complete displayable frame. You may try using another decoder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="en-US"&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: Tahoma;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="en-US"&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: Tahoma;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri,sans-serif;"&gt;But, the mainly thing would be considering that i.mx53 default MM version is an old on. Something like 2.0.5. And now we are at 3.0.8 for imx6. It means we gone from 2.X.X to 3.X.X, a huge difference into the source code. Imx5 VPU decoder was based on imx-lib, current imx6 vpu decoder is based on libfslvpuwrap. I don´t think the VPU firmware changed so much (it is still 1.0.15 currently). Maybe customer can compare both source codes in order to understand why reorder used to work and know it´s useless."&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri,sans-serif;"&gt;Leo&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: Tahoma;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 15:03:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236432#M18809</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-02T15:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 VPU Zero Buffer Decode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236433#M18810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve, please click Correct Answer/Helpfule Answer if your issue is resolved.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 07:04:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236433#M18810</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2013-08-19T07:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 VPU Zero Buffer Decode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236434#M18811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that worked.&amp;nbsp; Instead of using the VPU_xxx API, we used the libfslvpuwrap API (which then calls the VPU_XXX API).&amp;nbsp; We could not tell exactly why this worked, but can't knock success!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 21:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236434#M18811</guid>
      <dc:creator>SteveBakke</dc:creator>
      <dc:date>2013-09-12T21:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 VPU Zero Buffer Decode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236435#M18812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the exact same requirement in my project to decode H264 frame by frame . I have following questions :&lt;/P&gt;&lt;P&gt;1. How can one generate index file (car.idx) for any h264 streams ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 22:30:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-VPU-Zero-Buffer-Decode/m-p/236435#M18812</guid>
      <dc:creator>ganeshr</dc:creator>
      <dc:date>2014-12-11T22:30:56Z</dc:date>
    </item>
  </channel>
</rss>

