<?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 DeinterlaceBlend in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/DeinterlaceBlend/m-p/857913#M7418</link>
    <description>I can't find DeinterlaceBlend sample in samples folder...
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;My task - deinterlace video from analog TV tuner. I'm writing directshow filters and don' know how i can split frames to top and bottom, required for Blend and some other deinterlace filters. I'm not sure that it's possible.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;My blend code:&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;{&lt;BR /&gt; //fill srcPlane from history buffer&lt;BR /&gt; const BYTE * pSrcPlane[3];&lt;BR /&gt; pSrcPlane[0] = pHistory[2];&lt;BR /&gt; pSrcPlane[1] = pHistory[1];&lt;BR /&gt; pSrcPlane[2] = pHistory[0];&lt;BR /&gt;&lt;BR /&gt; IppiSize sizex;&lt;BR /&gt; sizex.height = size.height;&lt;BR /&gt; sizex.width = size.width * 3;&lt;BR /&gt; &lt;BR /&gt; //all parameters by default&lt;BR /&gt; int blendThresh[2];&lt;BR /&gt; blendThresh[0] = 5;&lt;BR /&gt; blendThresh[1] = 9;&lt;BR /&gt;&lt;BR /&gt; double blendConstants[2];&lt;BR /&gt; blendConstants[0] = 0.3;&lt;BR /&gt; blendConstants[1] = 0.7;&lt;BR /&gt;&lt;BR /&gt; IppiDeinterlaceBlendState_8u_C1 * ppState;&lt;BR /&gt;&lt;BR /&gt; int topFirst = 0;&lt;BR /&gt; int topField = 0;&lt;BR /&gt; int copyField = 0;&lt;BR /&gt;&lt;BR /&gt; ippiDeinterlaceBlendInitAlloc_8u_C1(sizex, blendThresh, blendConstants, &amp;amp;ppState);&lt;BR /&gt; ippiDeinterlaceBlend_8u_C1(pSrcPlane, srcPitch, pOut, destPitch, sizex, 1, topField, 1, ppState);&lt;BR /&gt; ippiDeinterlaceBlendFree_8u_C1(ppState);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV&gt;Maybe somebody can show my error or tell me better deinterlace method.Triangle and Medium doesn't help too.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 16 Apr 2009 11:03:03 GMT</pubDate>
    <dc:creator>geneziz</dc:creator>
    <dc:date>2009-04-16T11:03:03Z</dc:date>
    <item>
      <title>DeinterlaceBlend</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/DeinterlaceBlend/m-p/857913#M7418</link>
      <description>I can't find DeinterlaceBlend sample in samples folder...
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;My task - deinterlace video from analog TV tuner. I'm writing directshow filters and don' know how i can split frames to top and bottom, required for Blend and some other deinterlace filters. I'm not sure that it's possible.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;My blend code:&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;{&lt;BR /&gt; //fill srcPlane from history buffer&lt;BR /&gt; const BYTE * pSrcPlane[3];&lt;BR /&gt; pSrcPlane[0] = pHistory[2];&lt;BR /&gt; pSrcPlane[1] = pHistory[1];&lt;BR /&gt; pSrcPlane[2] = pHistory[0];&lt;BR /&gt;&lt;BR /&gt; IppiSize sizex;&lt;BR /&gt; sizex.height = size.height;&lt;BR /&gt; sizex.width = size.width * 3;&lt;BR /&gt; &lt;BR /&gt; //all parameters by default&lt;BR /&gt; int blendThresh[2];&lt;BR /&gt; blendThresh[0] = 5;&lt;BR /&gt; blendThresh[1] = 9;&lt;BR /&gt;&lt;BR /&gt; double blendConstants[2];&lt;BR /&gt; blendConstants[0] = 0.3;&lt;BR /&gt; blendConstants[1] = 0.7;&lt;BR /&gt;&lt;BR /&gt; IppiDeinterlaceBlendState_8u_C1 * ppState;&lt;BR /&gt;&lt;BR /&gt; int topFirst = 0;&lt;BR /&gt; int topField = 0;&lt;BR /&gt; int copyField = 0;&lt;BR /&gt;&lt;BR /&gt; ippiDeinterlaceBlendInitAlloc_8u_C1(sizex, blendThresh, blendConstants, &amp;amp;ppState);&lt;BR /&gt; ippiDeinterlaceBlend_8u_C1(pSrcPlane, srcPitch, pOut, destPitch, sizex, 1, topField, 1, ppState);&lt;BR /&gt; ippiDeinterlaceBlendFree_8u_C1(ppState);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV&gt;Maybe somebody can show my error or tell me better deinterlace method.Triangle and Medium doesn't help too.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Apr 2009 11:03:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/DeinterlaceBlend/m-p/857913#M7418</guid>
      <dc:creator>geneziz</dc:creator>
      <dc:date>2009-04-16T11:03:03Z</dc:date>
    </item>
  </channel>
</rss>

