<?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: VPU decoder VPU_DEC_NO_ENOUGH_BUF</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174482#M6312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I moved away from using the VPU API's as it's too complicated and proven to be unreliable "at least for my purpose!" &lt;/P&gt;&lt;P&gt;Gstreamer is more reliable for handling the decoding and save me a lot of headache but it's very limited in it's display capabilities.&lt;/P&gt;&lt;P&gt;I'm trying to learn OpenGL to use it for display while gstreamer for decoding I hope this will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion Freescale is not providing enough examples on how to use the i.MX6 platform. My application is simply playing multiple video stream and a GUI! There should be a similar example provided by Freescale but there isn't one:smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2013 08:40:03 GMT</pubDate>
    <dc:creator>Tarek</dc:creator>
    <dc:date>2013-01-03T08:40:03Z</dc:date>
    <item>
      <title>VPU decoder VPU_DEC_NO_ENOUGH_BUF</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174478#M6308</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'm playing live stream from a remote camera using the VPU Wrapper for decoding and IPU mxc_ipu dev for display. The video runs smoothly for about 3 to 4 minutes then VPU_DecDecodeBuf() starts returning &lt;/P&gt;&lt;P&gt;VPU_DEC_INPUT_USED, &lt;/P&gt;&lt;P&gt;VPU_DEC_OUTPUT_NODIS, &lt;/P&gt;&lt;P&gt;VPU_DEC_NO_ENOUGH_BUF then the video stops. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've double checked that all the allocated video buffers are cleared once displayed by calling VPU_DecOutFrameDisplayed(). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I enabled VPU debugging I get the following messages: &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1_repeatFrame: 0,interlacedFrame: 0, indexFrameRangemap: 0, progressiveFrame: 0, topFieldFirst: 0 &lt;/P&gt;&lt;P&gt;aspect ratio: format: 0, ratio: 0x1, InWidth: 640, InHeight: 480 &lt;/P&gt;&lt;P&gt;return Q16Ratio: 0x10000, [OutWidth,OutHeight]=[65536, 65536]&amp;nbsp; &lt;/P&gt;&lt;P&gt;one decoded frame: start: 0x18D76ACA, end: 0x18D797C1 &lt;/P&gt;&lt;P&gt;VpuAccumulateConsumedBytes: size: 11511, type: 2 &lt;/P&gt;&lt;P&gt;last end: 0x18D76ACA, start: 0x18D76ACA, buf start: 0x18C00000, buf end: 0x18F00000, stuff size: 0 &lt;/P&gt;&lt;P&gt;indexFrameDisplay=2 &lt;/P&gt;&lt;P&gt;frame : (P) &lt;/P&gt;&lt;P&gt;VpuGetOutput: Ref frame 1 &lt;/P&gt;&lt;P&gt;VpuCheckDeadLoop: total_dec_size: 0, total_dec_loop: 0, total_null_loop: 1 &lt;/P&gt;&lt;P&gt;calling vpu_DecGetBitstreamBuffer() &lt;/P&gt;&lt;P&gt;calling vpu_DecGetBitstreamBuffer() &lt;/P&gt;&lt;P&gt;Wr: 0x18D8CD08, Rd: 0x18D79A00, space: 3065079 &lt;/P&gt;&lt;P&gt;calling vpu_DecUpdateBitstreamBuffer(): 2997 &lt;/P&gt;&lt;P&gt;calling vpu_DecGetBitstreamBuffer() &lt;/P&gt;&lt;P&gt;nSpace: 3062082, filled : 83646 &lt;/P&gt;&lt;P&gt;===================vpu_DecStartOneFrame: chunkSize: 0, search: 0 &lt;/P&gt;&lt;P&gt;calling vpu_DecStartOneFrame(): 0, skipmode: 0 &lt;/P&gt;&lt;P&gt;while: calling vpu_WaitForInt(500) &lt;/P&gt;&lt;P&gt;VPU_DecOutFrameDisplayed: calling vpu_DecClrDispFlag(): 2 &lt;/P&gt;&lt;P&gt;calling vpu_DecGetOutputInfo() &lt;/P&gt;&lt;P&gt;calling vpu_DecGetOutputInfo(), indexFrmDec: 0, return indexFrmDis: 3, type: 0, success: 0x1, errMB: 0, consumed: 78793 &lt;/P&gt;&lt;P&gt;fieldSequence: 0, vc1_repeatFrame: 0,interlacedFrame: 0, indexFrameRangemap: 0, progressiveFrame: 0, topFieldFirst: 0 &lt;/P&gt;&lt;P&gt;aspect ratio: format: 0, ratio: 0x1, InWidth: 640, InHeight: 480 &lt;/P&gt;&lt;P&gt;return Q16Ratio: 0x10000, [OutWidth,OutHeight]=[65536, 65536]&amp;nbsp; &lt;/P&gt;&lt;P&gt;one decoded frame: start: 0x18D797C1, end: 0x18D8CB8A &lt;/P&gt;&lt;P&gt;VpuAccumulateConsumedBytes: size: 78793, type: 2 &lt;/P&gt;&lt;P&gt;last end: 0x18D797C1, start: 0x18D797C1, buf start: 0x18C00000, buf end: 0x18F00000, stuff size: 0 &lt;/P&gt;&lt;P&gt;indexFrameDisplay=3 &lt;/P&gt;&lt;P&gt;frame : (P) &lt;/P&gt;&lt;P&gt;VpuGetOutput: Ref frame 1 &lt;/P&gt;&lt;P&gt;VpuCheckDeadLoop: total_dec_size: 0, total_dec_loop: 0, total_null_loop: 1 &lt;/P&gt;&lt;P&gt;VPU_DecOutFrameDisplayed: calling vpu_DecClrDispFlag(): 3 &lt;/P&gt;&lt;P&gt;calling vpu_DecGetBitstreamBuffer() &lt;/P&gt;&lt;P&gt;calling vpu_DecGetBitstreamBuffer() &lt;/P&gt;&lt;P&gt;Wr: 0x18D8D8BD, Rd: 0x18D8CE00, space: 3140930 &lt;/P&gt;&lt;P&gt;calling vpu_DecUpdateBitstreamBuffer(): 3217 &lt;/P&gt;&lt;P&gt;calling vpu_DecGetBitstreamBuffer() &lt;/P&gt;&lt;P&gt;nSpace: 3137713, filled : 8015 &lt;/P&gt;&lt;P&gt;===================vpu_DecStartOneFrame: chunkSize: 0, search: 0 &lt;/P&gt;&lt;P&gt;calling vpu_DecStartOneFrame(): 0, skipmode: 0 &lt;/P&gt;&lt;P&gt;while: calling vpu_WaitForInt(500) &lt;/P&gt;&lt;P&gt;calling vpu_DecGetOutputInfo() &lt;/P&gt;&lt;P&gt;calling vpu_DecGetOutputInfo(), indexFrmDec: -1, return indexFrmDis: -3, type: 0, success: 0x1, errMB: 0, consumed: 78793 &lt;/P&gt;&lt;P&gt;fieldSequence: 0, vc1_repeatFrame: 0,interlacedFrame: 0, indexFrameRangemap: 0, progressiveFrame: 0, topFieldFirst: 0 &lt;/P&gt;&lt;P&gt;TSE: no enough frame buffer and return one output frame&lt;/P&gt;&lt;P&gt;VpuCheckDeadLoop: total_dec_size: 0, total_dec_loop: 0, total_null_loop: 1 &lt;/P&gt;&lt;P&gt;calling vpu_DecGetBitstreamBuffer() &lt;/P&gt;&lt;P&gt;calling vpu_DecGetBitstreamBuffer() &lt;/P&gt;&lt;P&gt;Wr: 0x18D8E54E, Rd: 0x18D8CE00, space: 3137713 &lt;/P&gt;&lt;P&gt;calling vpu_DecUpdateBitstreamBuffer(): 3009 &lt;/P&gt;&lt;P&gt;calling vpu_DecGetBitstreamBuffer() &lt;/P&gt;&lt;P&gt;nSpace: 3134704, filled : 11024 &lt;/P&gt;&lt;P&gt;===================vpu_DecStartOneFrame: chunkSize: 0, search: 0 &lt;/P&gt;&lt;P&gt;calling vpu_DecStartOneFrame(): 0, skipmode: 0 &lt;/P&gt;&lt;P&gt;while: calling vpu_WaitForInt(500) &lt;/P&gt;&lt;P&gt;calling vpu_DecGetOutputInfo() &lt;/P&gt;&lt;P&gt;calling vpu_DecGetOutputInfo(), indexFrmDec: -1, return indexFrmDis: -3, type: 0, success: 0x1, errMB: 0, consumed: 78793 &lt;/P&gt;&lt;P&gt;fieldSequence: 0, vc1_repeatFrame: 0,interlacedFrame: 0, indexFrameRangemap: 0, progressiveFrame: 0, topFieldFirst: 0 &lt;/P&gt;&lt;P&gt;TSE: no enough frame buffer and return one output frame&lt;/P&gt;&lt;P&gt;VpuCheckDeadLoop: total_dec_size: 3217, total_dec_loop: 1, total_null_loop: 2 &lt;/P&gt;&lt;P&gt;calling vpu_DecGetBitstreamBuffer() &lt;/P&gt;&lt;P&gt;calling vpu_DecGetBitstreamBuffer() &lt;/P&gt;&lt;P&gt;Wr: 0x18D8F10F, Rd: 0x18D8CE00, space: 3134704 &lt;/P&gt;&lt;P&gt;calling vpu_DecUpdateBitstreamBuffer(): 3225 &lt;/P&gt;&lt;P&gt;calling vpu_DecGetBitstreamBuffer() &lt;/P&gt;&lt;P&gt;nSpace: 3131479, filled : 14249 &lt;/P&gt;&lt;P&gt;===================vpu_DecStartOneFrame: chunkSize: 0, search: 0 &lt;/P&gt;&lt;P&gt;calling vpu_DecStartOneFrame(): 0, skipmode: 0 &lt;/P&gt;&lt;P&gt;while: calling vpu_WaitForInt(500) &lt;/P&gt;&lt;P&gt;calling vpu_DecGetOutputInfo() &lt;/P&gt;&lt;P&gt;calling vpu_DecGetOutputInfo(), indexFrmDec: -1, return indexFrmDis: -3, type: 0, success: 0x1, errMB: 0, consumed: 78793 &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why the decoder is not using the available buffers and how should I retrieve the normal video stream display without restarting the process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I'm running BSP12.08 on Nitrogen Board and using Poky distribution Yocto build system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 16:45:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174478#M6308</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2012-11-13T16:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: VPU decoder VPU_DEC_NO_ENOUGH_BUF</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174479#M6309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Hi, can you let me know the chip related with this question?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 08:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174479#M6309</guid>
      <dc:creator>Yongxin</dc:creator>
      <dc:date>2012-11-26T08:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: VPU decoder VPU_DEC_NO_ENOUGH_BUF</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174480#M6310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chip is i.MX6Q&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 16:33:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174480#M6310</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2012-11-28T16:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: VPU decoder VPU_DEC_NO_ENOUGH_BUF</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174481#M6311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, can you please provide the application you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 07:28:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174481#M6311</guid>
      <dc:creator>anishkhanna</dc:creator>
      <dc:date>2013-01-03T07:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: VPU decoder VPU_DEC_NO_ENOUGH_BUF</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174482#M6312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I moved away from using the VPU API's as it's too complicated and proven to be unreliable "at least for my purpose!" &lt;/P&gt;&lt;P&gt;Gstreamer is more reliable for handling the decoding and save me a lot of headache but it's very limited in it's display capabilities.&lt;/P&gt;&lt;P&gt;I'm trying to learn OpenGL to use it for display while gstreamer for decoding I hope this will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion Freescale is not providing enough examples on how to use the i.MX6 platform. My application is simply playing multiple video stream and a GUI! There should be a similar example provided by Freescale but there isn't one:smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 08:40:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174482#M6312</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-01-03T08:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: VPU decoder VPU_DEC_NO_ENOUGH_BUF</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174483#M6313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tarek El-Sherbiny for your information :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5 class="simple" style="padding-top: 8px; font-weight: normal; font-size: 20px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/H5&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>Thu, 03 Jan 2013 12:25:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-VPU-DEC-NO-ENOUGH-BUF/m-p/174483#M6313</guid>
      <dc:creator>anishkhanna</dc:creator>
      <dc:date>2013-01-03T12:25:44Z</dc:date>
    </item>
  </channel>
</rss>

