<?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: i.MX53 VPU API feature</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX53-VPU-API-feature/m-p/540474#M85306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Guanqiong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vpu_EncOpen() or vpu_EncOpen() may receives a handle but inquery such as vpu_IsBusy() or vpu_WaitForInt() have no arguments. So it seems impossible to know which instance is busy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the encode/decode flow in i.MX5x_Linux_VPU_API.pdf, interrupt signaling is allowed.&lt;/P&gt;&lt;P&gt;After setting&amp;nbsp; the corresponding bit on completion interrupt enable register, active instance and other instances also wait for this interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Q) How other instances can recognize&amp;nbsp; which process of instance completed?&lt;/P&gt;&lt;P&gt;If "interrupt reason register" provide such status, could you describe more details?&lt;/P&gt;&lt;P&gt;(Refer to the p72: When an interrupt is signaled, the application checks the source of the interrupt by checking the value of interrupt reason register.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Q) Is there any transcode(encode+decode simultaneously) sample code? Could you provide it to me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2016 10:06:40 GMT</pubDate>
    <dc:creator>torus1000</dc:creator>
    <dc:date>2016-08-02T10:06:40Z</dc:date>
    <item>
      <title>i.MX53 VPU API feature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX53-VPU-API-feature/m-p/540472#M85304</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 suppose vpu_IsBusy() simply return status and don't care which process is running.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;RM p4966&lt;/P&gt;&lt;P&gt;VPU supports up to 4 decoding/encoding processes simultaneously. Each process can&lt;/P&gt;&lt;P&gt;have a different format. The host processor creates and executes the specified process by&lt;/P&gt;&lt;P&gt;sending parameters and commands to the BIT processor through the VPU API.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is there any VPU APIs to confirm which process alive?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 02:33:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX53-VPU-API-feature/m-p/540472#M85304</guid>
      <dc:creator>torus1000</dc:creator>
      <dc:date>2016-07-27T02:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX53 VPU API feature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX53-VPU-API-feature/m-p/540473#M85305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer to the Reference Manual,&lt;/P&gt;&lt;P&gt;Since VPU is a multiple instance codec, the application requires this kind of&lt;/P&gt;&lt;P&gt;handle. Once the application receives a handle, the application must pass the handle to all subsequent decoder-related&lt;/P&gt;&lt;P&gt;functions.When writing a VPU driver, this handle can be regard as a device-ID or a port-ID of the VPU for each task.&lt;/P&gt;&lt;P&gt;Since the VPU can only perform one picture processing task at a time, the application task should check if VPU is ready&lt;/P&gt;&lt;P&gt;before starting a new picture operation. An application can easily terminate a single task on VPU by calling a function for&lt;/P&gt;&lt;P&gt;closing a certain instance.&lt;/P&gt;&lt;P&gt;for every task, one can refer to the decoding flow or encoding flow in the VPU API reference manual.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 07:19:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX53-VPU-API-feature/m-p/540473#M85305</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2016-07-29T07:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX53 VPU API feature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX53-VPU-API-feature/m-p/540474#M85306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Guanqiong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vpu_EncOpen() or vpu_EncOpen() may receives a handle but inquery such as vpu_IsBusy() or vpu_WaitForInt() have no arguments. So it seems impossible to know which instance is busy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the encode/decode flow in i.MX5x_Linux_VPU_API.pdf, interrupt signaling is allowed.&lt;/P&gt;&lt;P&gt;After setting&amp;nbsp; the corresponding bit on completion interrupt enable register, active instance and other instances also wait for this interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Q) How other instances can recognize&amp;nbsp; which process of instance completed?&lt;/P&gt;&lt;P&gt;If "interrupt reason register" provide such status, could you describe more details?&lt;/P&gt;&lt;P&gt;(Refer to the p72: When an interrupt is signaled, the application checks the source of the interrupt by checking the value of interrupt reason register.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Q) Is there any transcode(encode+decode simultaneously) sample code? Could you provide it to me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 10:06:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX53-VPU-API-feature/m-p/540474#M85306</guid>
      <dc:creator>torus1000</dc:creator>
      <dc:date>2016-08-02T10:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX53 VPU API feature</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX53-VPU-API-feature/m-p/540475#M85307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) because vpu is developed by the third-party company, the internal register isn't open to us, and all of function, we include them in the vpu lib, and you also can refer to the vpu driver(mxc_vpu.c)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) you can use unit test, like mxc_vpu_test.out -D "..."&amp;amp;mxc_vpu_test.out -E "..."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 08:36:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX53-VPU-API-feature/m-p/540475#M85307</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2016-08-10T08:36:29Z</dc:date>
    </item>
  </channel>
</rss>

