<?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: Slow-motion deinterlacing HD video with VDIC in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426467#M64641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This thread also terminated with no exact answer:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/340250"&gt;Regarding input resolution of i.MX6 IPU-VDIC&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2015 23:12:07 GMT</pubDate>
    <dc:creator>carstenbehling</dc:creator>
    <dc:date>2015-05-15T23:12:07Z</dc:date>
    <item>
      <title>Slow-motion deinterlacing HD video with VDIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426460#M64634</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 try to get the following GStreamer pipeline working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gst-launch-1.0 filesrc location=/vertrezmotion.ts ! tsdemux ! mpegvideoparse ! imxvpudec&amp;nbsp; ! imxipuvideotransform deinterlace-mode=1 ! imxg2dvideosink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It ends up with the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt;[INFO]&amp;nbsp; Product Info: i.MX6Q/D/S&lt;/P&gt;&lt;P&gt;Pipeline is PREROLLING ...&lt;/P&gt;&lt;P&gt;[INFO]&amp;nbsp; bitstreamMode 1, chromaInterleave 0, mapType 0, tiled2LinearEnable 0&lt;/P&gt;&lt;P&gt;imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x40000000&lt;/P&gt;&lt;P&gt;imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x40000000&lt;/P&gt;&lt;P&gt;imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x40000000&lt;/P&gt;&lt;P&gt;imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'deinterlace-mode=2' is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The test video resolution is 1920x1080. Origin of the test video:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.w6rz.net/vertrezmotion.zip" title="http://www.w6rz.net/vertrezmotion.zip"&gt;http://www.w6rz.net/vertrezmotion.zip&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freescale kernel: 3.10.53,&lt;/P&gt;&lt;P&gt;Plugins: &lt;A href="http://www.w6rz.net/vertrezmotion.zip" title="http://www.w6rz.net/vertrezmotion.zip"&gt;http://www.w6rz.net/vertrezmotion.zip&lt;/A&gt; Tag: 9ab6c7cc3c634d464a9f8933dd6657a796b6aafc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already know that the IPU has to run in split mode for the left and right 960 pixel stripe due to the buffer limitation. The user interface driver (drivers/mxc/ipu_device.c) seems to split&lt;/P&gt;&lt;P&gt;the stripes in two completions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A discussion of the split mode was already started here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/340250"&gt;Regarding input resolution of i.MX6 IPU-VDIC&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that the current implementation in linux-3.10.53 doesn't support the deinterlacing of 1920x1080 frames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) So how can we fix it?&lt;/P&gt;&lt;P&gt;b) Is there a way to deinterlace the two stripes in parallel on the IPU, or maybe each of them on one of the two IPU's?&lt;/P&gt;&lt;P&gt;c) Or could we only deinterlace one stripe at a time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;-Carsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 23:27:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426460#M64634</guid>
      <dc:creator>carstenbehling</dc:creator>
      <dc:date>2015-05-12T23:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Slow-motion deinterlacing HD video with VDIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426461#M64635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works with warnings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gst-launch-1.0 filesrc location=/vertrezmotion.ts ! tsdemux ! mpegvideoparse ! imxvpudec&amp;nbsp; ! videocrop left=0 right=0 top=0 bottom=700 ! imxipuvideotransform deinterlace-mode=1 ! imxg2dvideosink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warnings:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x40000000&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 00:35:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426461#M64635</guid>
      <dc:creator>carstenbehling</dc:creator>
      <dc:date>2015-05-13T00:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Slow-motion deinterlacing HD video with VDIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426462#M64636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: This works not:&lt;/P&gt;&lt;P&gt;gst-launch-1.0 filesrc location=/vertrezmotion.ts ! tsdemux ! mpegvideoparse ! imxvpudec&amp;nbsp; ! videocrop left=476 right=476 top=0 bottom=56 ! imxipuvideotransform deinterlace-mode=1 ! imxg2dvideosin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be a frame of 968x1024.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 00:41:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426462#M64636</guid>
      <dc:creator>carstenbehling</dc:creator>
      <dc:date>2015-05-13T00:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Slow-motion deinterlacing HD video with VDIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426463#M64637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;IPU_INT_STAT_10 = 0x40000000 means 'AXI_ERR' according ti the i.MX6DQ RM 'Table 37-36. Error Interrupts Summary'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 00:46:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426463#M64637</guid>
      <dc:creator>carstenbehling</dc:creator>
      <dc:date>2015-05-13T00:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Slow-motion deinterlacing HD video with VDIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426464#M64638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;Obviously, 1080i de-interlacing should have been working for a long time on i.MX53:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/292712"&gt;1080i de-interlance support for iMX53, based on L2.6.35_11.09.01 BSP -blog archive&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 15:39:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426464#M64638</guid>
      <dc:creator>carstenbehling</dc:creator>
      <dc:date>2015-05-15T15:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Slow-motion deinterlacing HD video with VDIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426465#M64639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A closer look on the modifications on imx-lib-11.09.01/ipu/mxc_ipu_hl_lib.c from the above mentioned thread shows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt; /*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ipu_priv_handle-&amp;gt;output.task_mode &amp;amp; VDI_IC_MODE) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbg(DBG_ERR, "Not support split mode with deinterlacing!\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ret = -1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto done;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt; */&amp;nbsp; //qiang_debug removed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((ipu_priv_handle-&amp;gt;output.task_mode &amp;amp; VDI_IC_MODE) &amp;amp;&amp;amp; (ipu_priv_handle-&amp;gt;motion_sel != HIGH_MOTION)) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbg(DBG_ERR, "Only high motion was supported by split mode with deinterlacing!\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ret = -1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto done;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; //qiang_debug added&lt;/P&gt;&lt;P&gt; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only, HIGH_MOTION mode doesn't really help ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also need MED_MOTION:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ...&lt;/P&gt;&lt;P&gt; typedef enum {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MED_MOTION = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOW_MOTION = 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HIGH_MOTION = 2,&lt;/P&gt;&lt;P&gt; } ipu_motion_sel;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.MX6DQRM:&amp;nbsp; 37.4.11.2.2 Motion Calculator Block (di_mcalc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;• When VDI_MOT_SEL==2'b01, m_calc is 0 (no motion - use weave)&lt;/P&gt;&lt;P&gt;i.MX 6Dual/6Quad Applications Processor Reference Manual, Rev. 1, 04/2013&lt;/P&gt;&lt;P&gt;Freescale Semiconductor, Inc.&lt;/P&gt;&lt;P&gt;2841Functional Description&lt;/P&gt;&lt;P&gt;• When VDI_MOT_SEL==2'b10, We assume high motion and use min(15,delta_t).&lt;/P&gt;&lt;P&gt;• When VDI_MOT_SEL==2'b00, We assume low motion and use sat([0,15],delta_t-8)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 22:53:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426465#M64639</guid>
      <dc:creator>carstenbehling</dc:creator>
      <dc:date>2015-05-15T22:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Slow-motion deinterlacing HD video with VDIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426466#M64640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We already found out that MED_MOTION processing is slower than HIGH_MOTION and it seems that MED_MOTION processing in split-mode 1080i30 is too slow.&lt;/P&gt;&lt;P&gt;Can anyone from Freescale confirm or refute that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 23:02:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426466#M64640</guid>
      <dc:creator>carstenbehling</dc:creator>
      <dc:date>2015-05-15T23:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Slow-motion deinterlacing HD video with VDIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426467#M64641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This thread also terminated with no exact answer:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/340250"&gt;Regarding input resolution of i.MX6 IPU-VDIC&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 23:12:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426467#M64641</guid>
      <dc:creator>carstenbehling</dc:creator>
      <dc:date>2015-05-15T23:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Slow-motion deinterlacing HD video with VDIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426468#M64642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have another scenario that reproduces the bug:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Linux 3.0.35&lt;/P&gt;&lt;P&gt;- gst-plugins-imx-3.0.7&lt;/P&gt;&lt;P&gt;- Capturing 1080i30 from GS2971&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GStreamer pipeline:&lt;/P&gt;&lt;P&gt;# gst-launch mfw_v4lsrc device=/dev/video1 fps-n=60 ! gstperf ! mfw_isink disp&lt;/P&gt;&lt;P&gt;-deinterlace=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can pass the deinterlace modode through 'disp-deinterlace' because I patched mfw_isink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system hangs thereafter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes 'IPU_INT_STAT_10 = 0x40000000"&amp;nbsp; (AXIR_ERR)' appears on the console and sometimes 'IPU_INT_STAT_10 = 0x00000002"&amp;nbsp; (SMFC1_FRM_LOST)'&lt;/P&gt;&lt;P&gt;appears on the console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone from Freescale please give me some hints?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 17:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Slow-motion-deinterlacing-HD-video-with-VDIC/m-p/426468#M64642</guid>
      <dc:creator>carstenbehling</dc:creator>
      <dc:date>2015-07-31T17:54:07Z</dc:date>
    </item>
  </channel>
</rss>

