<?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のトピックi.MX6 VPU Automatic Frame Skip Function</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574262#M87835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I've been evaluating "enableAutoSkip" function of VPU API of i.MX6.&lt;/P&gt;&lt;P&gt;My current environment is :&lt;BR /&gt;- Target&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : i.MX6Q (SABRE-SDP)&lt;BR /&gt;- OS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Linux 3.14.28&lt;BR /&gt;- Encoding&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : H.264 (1920x1080)&lt;BR /&gt;- VPU firmware : Ver&amp;nbsp; 3.1.1_r46063&lt;BR /&gt;- VPU library&amp;nbsp; : Ver&amp;nbsp; 5.4.28&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tested by the following conditions here.(based on "mxc_vpu_test")&lt;BR /&gt;- H.264 video encoding.&lt;BR /&gt;- Set fixed frame rate : 30fps (also GOP=30 fixed.)&lt;BR /&gt;- Use same 1080P YUV image file as video input.&lt;BR /&gt;- Set enableAutoSkip=1(enable)&lt;BR /&gt;- Target bit rate is being done a little small.(from 4Mbps to 500kbps)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assumed result:&lt;BR /&gt;- As a target bit rate is lowered, image quality becomes bad gradually.&lt;BR /&gt;- The encoded data size is always almost same.&lt;BR /&gt;- A frame skip occurs from some bit rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual result:&lt;BR /&gt;- Image quality will be gradually badly.&lt;BR /&gt;- The encoded data size becomes bigger than the target from some bit rate. &lt;BR /&gt;- A frame skip doesn't seem performed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally key-frame(I-picture) doesn't skip. Then VPU shouldn't skip an I-picture &lt;BR /&gt;and should skip an P-picture (or P-pictures), I think. &lt;BR /&gt;Also by extreme setting,such as the case of setting very small target bit rate, &lt;BR /&gt;then all P-pictures must be skipped.&lt;/P&gt;&lt;P&gt;However, I can't find any skipped-frames from the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would there be any mistakes in my understanding or test method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Masahiro &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/376555"&gt;Issues about "enableAutoSkip" function in VPU API&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Jul 2016 06:53:19 GMT</pubDate>
    <dc:creator>masa-i</dc:creator>
    <dc:date>2016-07-16T06:53:19Z</dc:date>
    <item>
      <title>i.MX6 VPU Automatic Frame Skip Function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574262#M87835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I've been evaluating "enableAutoSkip" function of VPU API of i.MX6.&lt;/P&gt;&lt;P&gt;My current environment is :&lt;BR /&gt;- Target&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : i.MX6Q (SABRE-SDP)&lt;BR /&gt;- OS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Linux 3.14.28&lt;BR /&gt;- Encoding&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : H.264 (1920x1080)&lt;BR /&gt;- VPU firmware : Ver&amp;nbsp; 3.1.1_r46063&lt;BR /&gt;- VPU library&amp;nbsp; : Ver&amp;nbsp; 5.4.28&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tested by the following conditions here.(based on "mxc_vpu_test")&lt;BR /&gt;- H.264 video encoding.&lt;BR /&gt;- Set fixed frame rate : 30fps (also GOP=30 fixed.)&lt;BR /&gt;- Use same 1080P YUV image file as video input.&lt;BR /&gt;- Set enableAutoSkip=1(enable)&lt;BR /&gt;- Target bit rate is being done a little small.(from 4Mbps to 500kbps)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assumed result:&lt;BR /&gt;- As a target bit rate is lowered, image quality becomes bad gradually.&lt;BR /&gt;- The encoded data size is always almost same.&lt;BR /&gt;- A frame skip occurs from some bit rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual result:&lt;BR /&gt;- Image quality will be gradually badly.&lt;BR /&gt;- The encoded data size becomes bigger than the target from some bit rate. &lt;BR /&gt;- A frame skip doesn't seem performed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally key-frame(I-picture) doesn't skip. Then VPU shouldn't skip an I-picture &lt;BR /&gt;and should skip an P-picture (or P-pictures), I think. &lt;BR /&gt;Also by extreme setting,such as the case of setting very small target bit rate, &lt;BR /&gt;then all P-pictures must be skipped.&lt;/P&gt;&lt;P&gt;However, I can't find any skipped-frames from the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would there be any mistakes in my understanding or test method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Masahiro &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/376555"&gt;Issues about "enableAutoSkip" function in VPU API&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jul 2016 06:53:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574262#M87835</guid>
      <dc:creator>masa-i</dc:creator>
      <dc:date>2016-07-16T06:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 VPU Automatic Frame Skip Function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574263#M87836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got answer from expert team from another thead, the owner answered the same question as yours:&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;Please&amp;nbsp; check the VPU API doc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;skipPicture. If this value is 0, the encoder encodes the picture normally. If this value is 1, the encoder ignores&lt;/P&gt;&lt;P&gt;sourceFrame and generates a skipped picture. In this situation, the reconstructed image is a duplication of the previous&lt;/P&gt;&lt;P&gt;picture. The skipped picture is encoded as P-type regardless of GOP size.&lt;/P&gt;&lt;P&gt;enableAutoSkip. The value 0 disables automatic skip and 1 enables automatic skip in encoder operation. Automatic skip&lt;/P&gt;&lt;P&gt;means encoder can skip frame encoding when generated Bitstream so far is too big considering target bitrate. This parameter&lt;/P&gt;&lt;P&gt;will be ignored if rate control is not used (bitRate = 0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For&amp;nbsp; automatic skip,&amp;nbsp; I think its behavior is like force enable skipPicture situation, thus there should be P-type.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I think&amp;nbsp; there should be many skip macro blocks , but may be not all of them is skip macro block.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;The result is decided by encoder in the run time&amp;nbsp; , and the result may be different from case to case , may be&amp;nbsp; even encoding from same source twice you will got different result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 07:12:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574263#M87836</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2016-07-27T07:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 VPU Automatic Frame Skip Function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574264#M87837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guanqiong,&lt;/P&gt;&lt;P&gt;Thank you for the information. &lt;BR /&gt;Which thead did you get the answer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm checking the VPU API doc of course. It says "enableAutoSkip" means encoder can skip frame encoding.&lt;BR /&gt;"skip macro block" is decided in the encoding process which does rate control,I think.&lt;/P&gt;&lt;P&gt;If all of the macro blocks in a frame is not skipped, it does not mean "skip frame".&lt;/P&gt;&lt;P&gt;I couldn't see any skipped frames in my test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Masahiro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jul 2016 10:10:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574264#M87837</guid>
      <dc:creator>masa-i</dc:creator>
      <dc:date>2016-07-30T10:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 VPU Automatic Frame Skip Function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574265#M87838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Guanqiong,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;We are still waiting for your comment against the Masahiro's latest post.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Is it possible to provide the actual example of skipping frames by configuring &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;enableAutoSkip parameter&lt;/SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Miyamoto/AVNET&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 00:46:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574265#M87838</guid>
      <dc:creator>Aemj</dc:creator>
      <dc:date>2016-08-05T00:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 VPU Automatic Frame Skip Function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574266#M87839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm waiting for reply from expert team too, any update, I'll forward to you ASAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 05:59:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574266#M87839</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2016-08-05T05:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 VPU Automatic Frame Skip Function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574267#M87840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"after enable enableAutoSkip=1, some p frame&amp;nbsp; content will be dropped, but not means the frame was dropped, the frame will repeat the last frame, then it will be encoded to small size, so the display sequence number is still succession."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 06:57:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-VPU-Automatic-Frame-Skip-Function/m-p/574267#M87840</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2016-08-12T06:57:33Z</dc:date>
    </item>
  </channel>
</rss>

