<?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: Deinterlacing in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901366#M12805</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Not ready yet, our developers are busy with other work, sorry.&lt;BR /&gt;&lt;BR /&gt;Vladimir&lt;BR /&gt;</description>
    <pubDate>Sun, 11 Jan 2009 07:55:22 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2009-01-11T07:55:22Z</dc:date>
    <item>
      <title>Deinterlacing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901358#M12797</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I'm trying to deinterlace a video but somehow it's not working well.&lt;BR /&gt;&lt;BR /&gt;I receive a 4:2:2 non-planar video in YCbCr. This is fix and garateed.&lt;BR /&gt;I give the user an option to de-interlace the video. I've included the code.&lt;BR /&gt;The thing is that when i use the deinterlacing path, the video shows strange artifacts. It shows for example some of left part of the video in the right corner, and this looks like its interlaced.&lt;BR /&gt;So it keeps some lines of the left part in the correct position, and the other parts somewhere else.&lt;BR /&gt;As it's messing with the step. Does anyone have an idea what's wrong ?&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;EDIT&gt;: There is something else that I don't know why it's happening. When the video is rotated, I notice some vertical lines on it whenever I make a fast movement in front of the cameras. When the video is normal - in landscape - there are no artifacts. I would expect some horizontal lines.&lt;BR /&gt;The unny thing is that I've used the nvidia rotation to rotate the display, and again, the vertical lines... why does it happen only when the video is somehow rotated ?&lt;BR /&gt;&lt;BR /&gt;Another thing, If I use ippiCbYCr422ToYCbCr420_8u_C2P3R instead of the interlace method, the artifacts are there as well. The error must be on the &lt;FONT size="1" face="Courier New"&gt;&lt;FONT size="3" face="Times New Roman"&gt;ippiYCbCr420ToBGR_8u_P3C3R&lt;/FONT&gt; &lt;/FONT&gt;&lt;FONT size="1" face="Times New Roman"&gt;&lt;FONT size="3"&gt;function&lt;/FONT&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Marco&lt;BR /&gt;&lt;BR /&gt;&lt;DIV align="left"&gt;&lt;FONT size="1" face="Courier New"&gt;if (m_deinterlace) {&lt;BR /&gt; //reorder bytes&lt;BR /&gt; ippError = ippiYCbCr422ToCbYCr422_8u_C2R(pAuxIn, m_srcStep, m_auxiliarBuffer,&lt;BR /&gt; m_auxiliarBufferStep, m_srcSize);&lt;BR /&gt; if (ippError == 0) {    &lt;BR /&gt; // convert to planar data, de-interlacing&lt;BR /&gt; ippError = ippiCbYCr422ToYCbCr420_Interlace_8u_C2P3R(&lt;BR /&gt; m_auxiliarBuffer, m_auxiliarBufferStep, m_planarBuffer, m_planarStep, m_srcSize);&lt;BR /&gt; if (ippError == 0) {&lt;BR /&gt; // convert to non-planar RGB&lt;BR /&gt; ippError = ippiYCbCr420ToBGR_8u_P3C3R(m_planarBuffer, m_planarStep,&lt;BR /&gt; m_auxiliarBuffer, m_auxiliarBufferStep, reducedSize);&lt;BR /&gt; if (ippError != 0)&lt;BR /&gt; DbgOutString(L"
 convert to RGB Failed!! ---
");&lt;BR /&gt; } else {&lt;BR /&gt; DbgOutString(L"
 deinterlace --- Failed!! ---
");&lt;BR /&gt; }&lt;BR /&gt; } else {&lt;BR /&gt; DbgOutString(L"
 reordering --- Failed!! ---
");&lt;BR /&gt; }&lt;BR /&gt; // convert to RGB&lt;BR /&gt;} else {&lt;BR /&gt; ippError = ippiYCbCr422ToBGR_8u_C2C3R(pAuxIn, m_srcStep, m_auxiliarBuffer,&lt;BR /&gt;&amp;amp;n
bsp; m_auxiliarBufferStep, reducedSize);&lt;BR /&gt;}&lt;/FONT&gt;&lt;FONT size="1" face="Courier New"&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/EDIT&gt;</description>
      <pubDate>Wed, 20 Aug 2008 17:37:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901358#M12797</guid>
      <dc:creator>marco_lopes</dc:creator>
      <dc:date>2008-08-20T17:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Deinterlacing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901359#M12798</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;if you pay attention to IPP documentation you may notice that &lt;SPAN&gt;ippiCbYCr422ToYCbCr420_Interlace_8u_C2P3R function do not do de-interlacing. It convert image from one format to other.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We do have in IPP functions which were specifically designed to do de-interlacing:&lt;BR /&gt;&lt;SPAN&gt;ippiDeinterlaceMotionAdaptive_8u_C1&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;ippiDeinterlaceBlend_8u_C1&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;ippiDeinterlaceFilterTriangle_8u_C1R&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;ippiDeinterlaceMedianThreshold_8u_C1R&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;ippiDeinterlaceEdgeDetect_8u_C1R&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;ippiDeinterlaceFilterCAVT_8u_C1R&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;ippiMedian_8u_P3C1R&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;you can see example of their usage in audio-video-codec sample, color-converter component, file umc_deinterlacing.cpp&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2008 14:45:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901359#M12798</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-08-22T14:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Deinterlacing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901360#M12799</link>
      <description>&lt;P&gt;Vladimir,&lt;/P&gt;
&lt;P&gt;When you are mentioning that code sample I believe there is a bug "hidden" in it:&lt;/P&gt;
&lt;PRE&gt;  int field = (in-&amp;gt;GetPictureStructure() &amp;amp; PS_TOP_FIELD_FIRST) ? 1 : 0;

  if (NULL == in || NULL == out) {
    return UMC_ERR_NULL_PTR;
  }
&lt;/PRE&gt;
&lt;P&gt;NULL check should come before dereferencing the pointer (in-&amp;gt;GetPicture...).&lt;/P&gt;
&lt;P&gt;Moreover, it doesn't explain how to use ippiDeinterlaceMotionAdaptive_8u_C1 which seems the most interesting one.&lt;/P&gt;
&lt;P&gt;Finally, I really don't understand why those functions operate only on a single channel thus requiring splitting an RGBA image, multiple invocations and merging to RGBA afterwards.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2008 03:47:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901360#M12799</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2008-11-14T03:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deinterlacing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901361#M12800</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hi Igor,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;good catch, I'll inform appropriate developers.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Will try to find a sample for function you mention also.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2008 11:24:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901361#M12800</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-11-17T11:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deinterlacing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901362#M12801</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/61463"&gt;vdudnik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;Hi Igor,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;good catch, I'll inform appropriate developers.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Will try to find a sample for function you mention also.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Vladimir,&lt;/P&gt;
&lt;P&gt;Any progress on this? I would like to assess the speed and quality of IPP denterlace beforre I decide whether I should sit down and roll my own.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2008 16:46:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901362#M12801</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2008-12-08T16:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Deinterlacing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901363#M12802</link>
      <description>&lt;DIV style="margin:0px;"&gt;Igor,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;the issue with dereferencing pointer before check for NULL will be fixed in the next version fo IPP sample.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2008 14:05:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901363#M12802</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-12-09T14:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Deinterlacing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901364#M12803</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/61463"&gt;vdudnik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;Igor,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;the issue with dereferencing pointer before check for NULL will be fixed in the next version fo IPP sample.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Frankly I am more concerned with getting a usage sample or a more detailed explanation/documentation as to how to use that deinterlace function I asked about (the one which isn't in a sample).&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2008 06:00:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901364#M12803</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2008-12-15T06:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Deinterlacing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901365#M12804</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/61352"&gt;Igor Levicki&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Frankly I am more concerned with getting a usage sample or a more detailed explanation/documentation as to how to use that deinterlace function I asked about (the one which isn't in a sample).&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Bump.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jan 2009 08:54:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901365#M12804</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2009-01-01T08:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Deinterlacing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901366#M12805</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Not ready yet, our developers are busy with other work, sorry.&lt;BR /&gt;&lt;BR /&gt;Vladimir&lt;BR /&gt;</description>
      <pubDate>Sun, 11 Jan 2009 07:55:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901366#M12805</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2009-01-11T07:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Deinterlacing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901367#M12806</link>
      <description>Will we finally get the sample for the above function?&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Dec 2010 14:59:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901367#M12806</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2010-12-22T14:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Deinterlacing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901368#M12807</link>
      <description>Hi Igor,&lt;BR /&gt;&lt;BR /&gt;Could you please checkprevioustopics on deinterlace functions which might be already address your question, for example &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=77702&amp;amp;o=a&amp;amp;s=lr"&gt;http://software.intel.com/en-us/forums/showthread.php?t=77702&amp;amp;o=a&amp;amp;s=lr&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir</description>
      <pubDate>Wed, 22 Dec 2010 17:15:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901368#M12807</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2010-12-22T17:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Deinterlacing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901369#M12808</link>
      <description>I did, but apart from this thread which is totally confusing:&lt;BR /&gt;&lt;A href="http://origin-software.intel.com/en-us/forums/showthread.php?t=78614" target="_blank"&gt;http://origin-software.intel.com/en-us/forums/showthread.php?t=78614&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I failed to find a clear example how to use ippiDeinterlaceMotionAdaptive_8u_C1() to process color video.&lt;BR /&gt;&lt;BR /&gt;Documentation for deinterlacing functions should explain the algorithm, state expected color format, and data layout in memory (i.e. planar, interleaved, top or bottom field first, etc) in addition to giving usage examples.&lt;BR /&gt;&lt;BR /&gt;Any chance we get documentation update? How about you task those developers who wrote the functions with documenting them properly now?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Dec 2010 19:54:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Deinterlacing/m-p/901369#M12808</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2010-12-22T19:54:05Z</dc:date>
    </item>
  </channel>
</rss>

