<?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 Adjusting Pitch/Stride in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Adjusting-Pitch-Stride/m-p/799512#M3036</link>
    <description>I am writing a Directshow H264 decoder using the IPP. The downstream renderer will often require a different pitch. When using YUV formats (YV12 in my case) Ifound through a mix of educated guesses and experimentation thatthe following code worked.&lt;BR /&gt;&lt;BR /&gt;VideoData DataOut;&lt;BR /&gt;....&lt;BR /&gt;// if new stride proposed by downstream filter...&lt;BR /&gt;&lt;P&gt;DataOut.SetPlanePitch(m_pitch/2, 2);&lt;BR /&gt;DataOut.SetPlanePitch(m_pitch/2, 1);&lt;BR /&gt;DataOut.SetPlanePitch(m_pitch, 0);&lt;BR /&gt;&lt;BR /&gt;RGB24 on the other hand has only one plane.&lt;BR /&gt;&lt;BR /&gt;Is there a 'cleaner' i.e. more general way to know how to do this based on the type? Is this documented anywhere?&lt;/P&gt;</description>
    <pubDate>Wed, 29 Feb 2012 16:04:08 GMT</pubDate>
    <dc:creator>acc3141</dc:creator>
    <dc:date>2012-02-29T16:04:08Z</dc:date>
    <item>
      <title>Adjusting Pitch/Stride</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Adjusting-Pitch-Stride/m-p/799512#M3036</link>
      <description>I am writing a Directshow H264 decoder using the IPP. The downstream renderer will often require a different pitch. When using YUV formats (YV12 in my case) Ifound through a mix of educated guesses and experimentation thatthe following code worked.&lt;BR /&gt;&lt;BR /&gt;VideoData DataOut;&lt;BR /&gt;....&lt;BR /&gt;// if new stride proposed by downstream filter...&lt;BR /&gt;&lt;P&gt;DataOut.SetPlanePitch(m_pitch/2, 2);&lt;BR /&gt;DataOut.SetPlanePitch(m_pitch/2, 1);&lt;BR /&gt;DataOut.SetPlanePitch(m_pitch, 0);&lt;BR /&gt;&lt;BR /&gt;RGB24 on the other hand has only one plane.&lt;BR /&gt;&lt;BR /&gt;Is there a 'cleaner' i.e. more general way to know how to do this based on the type? Is this documented anywhere?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 16:04:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Adjusting-Pitch-Stride/m-p/799512#M3036</guid>
      <dc:creator>acc3141</dc:creator>
      <dc:date>2012-02-29T16:04:08Z</dc:date>
    </item>
  </channel>
</rss>

