<?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のトピックimx6 Android IPU VDI mode motion 0</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-Android-IPU-VDI-mode-motion-0/m-p/1182994#M164882</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I'd like to set &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;VDI mode motion 0&lt;/STRONG&gt;&lt;/FONT&gt; on the Android BSP with below source.&lt;/P&gt;&lt;P&gt;How could I do it???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to Doc :&lt;BR /&gt;i.MX6 IPU TVIN Application Note&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4.3 On The Fly De-interlace&lt;BR /&gt;Except for the memory to memory de-interlace, the IPU can also support on the fly de-interlace&lt;BR /&gt;with CSI-&amp;gt;VDI-&amp;gt;MEM (g_input = 3 with VIDIOC_S_INPUT) and CSI-&amp;gt;VDI-&amp;gt;IC-&amp;gt;MEM (g_input = 2&lt;BR /&gt;with VIDIOC_S_INPUT) capture path: &lt;A href="https://community.nxp.com/docs/DOC-330441" target="_blank"&gt;https://community.nxp.com/docs/DOC-330441&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Limitations:&lt;BR /&gt;1. Since the IC can only output resolution up to 1024*1024, so this is the limitation on output for&lt;BR /&gt;CSI-&amp;gt;VDI-&amp;gt;IC-&amp;gt;MEM path.&lt;BR /&gt;2. Since the VDI can only output resolution up to 968*1024, so CSI-&amp;gt;VDI-&amp;gt;MEM can’t work for&lt;BR /&gt;1080i capture.&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;3. Only VDI motion mode 2 was supported.&lt;/STRONG&gt;&lt;/FONT&gt; To avoid dithering, the driver should set one field&lt;BR /&gt;data for CSI-&amp;gt;VDI-&amp;gt;xxx path, set VDI_SKIP and VDI_MAX_RATIO_SKIP to 1 in register&lt;BR /&gt;IPU_SKIP.&lt;BR /&gt;&lt;BR /&gt;Note: The reason to set VDI_SKIP to skip one field data, ODD field starts from line 1 and EVEN&lt;BR /&gt;field starts from line2, so they are one line shift, if the VDI using both field data, the output video will&lt;BR /&gt;dithering between switching ODD and EVEN field.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Nov 2020 08:45:07 GMT</pubDate>
    <dc:creator>notyet</dc:creator>
    <dc:date>2020-11-13T08:45:07Z</dc:date>
    <item>
      <title>imx6 Android IPU VDI mode motion 0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-Android-IPU-VDI-mode-motion-0/m-p/1182994#M164882</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I'd like to set &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;VDI mode motion 0&lt;/STRONG&gt;&lt;/FONT&gt; on the Android BSP with below source.&lt;/P&gt;&lt;P&gt;How could I do it???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to Doc :&lt;BR /&gt;i.MX6 IPU TVIN Application Note&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4.3 On The Fly De-interlace&lt;BR /&gt;Except for the memory to memory de-interlace, the IPU can also support on the fly de-interlace&lt;BR /&gt;with CSI-&amp;gt;VDI-&amp;gt;MEM (g_input = 3 with VIDIOC_S_INPUT) and CSI-&amp;gt;VDI-&amp;gt;IC-&amp;gt;MEM (g_input = 2&lt;BR /&gt;with VIDIOC_S_INPUT) capture path: &lt;A href="https://community.nxp.com/docs/DOC-330441" target="_blank"&gt;https://community.nxp.com/docs/DOC-330441&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Limitations:&lt;BR /&gt;1. Since the IC can only output resolution up to 1024*1024, so this is the limitation on output for&lt;BR /&gt;CSI-&amp;gt;VDI-&amp;gt;IC-&amp;gt;MEM path.&lt;BR /&gt;2. Since the VDI can only output resolution up to 968*1024, so CSI-&amp;gt;VDI-&amp;gt;MEM can’t work for&lt;BR /&gt;1080i capture.&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;3. Only VDI motion mode 2 was supported.&lt;/STRONG&gt;&lt;/FONT&gt; To avoid dithering, the driver should set one field&lt;BR /&gt;data for CSI-&amp;gt;VDI-&amp;gt;xxx path, set VDI_SKIP and VDI_MAX_RATIO_SKIP to 1 in register&lt;BR /&gt;IPU_SKIP.&lt;BR /&gt;&lt;BR /&gt;Note: The reason to set VDI_SKIP to skip one field data, ODD field starts from line 1 and EVEN&lt;BR /&gt;field starts from line2, so they are one line shift, if the VDI using both field data, the output video will&lt;BR /&gt;dithering between switching ODD and EVEN field.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 08:45:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-Android-IPU-VDI-mode-motion-0/m-p/1182994#M164882</guid>
      <dc:creator>notyet</dc:creator>
      <dc:date>2020-11-13T08:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 Android IPU VDI mode motion 0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-Android-IPU-VDI-mode-motion-0/m-p/1183744#M164942</link>
      <description>&lt;P&gt;Hi notyet&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for "VDI mode motion 0" one can refer to liniux vdi driver, in particular function void _ipu_vdi_set_motion():&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/mxc/ipu3/ipu_ic.c?h=imx_5.4.47_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/mxc/ipu3/ipu_ic.c?h=imx_5.4.47_2.2.0&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/imx/ipu-v3/ipu-vdi.c?h=imx_5.4.47_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/imx/ipu-v3/ipu-vdi.c?h=imx_5.4.47_2.2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 09:18:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-Android-IPU-VDI-mode-motion-0/m-p/1183744#M164942</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-11-16T09:18:24Z</dc:date>
    </item>
  </channel>
</rss>

