<?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 DV Decoder Example: Explain VideoDecoder::DecompressSegment? in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/DV-Decoder-Example-Explain-VideoDecoder-DecompressSegment/m-p/940113#M17573</link>
    <description>I am looking through the DV Decoder Example.  I understand the VideoDecoder::DecodeFrame function, but am having a lot of problems with how the DecodeSegment function is written.  Could someone help walk me through it?&lt;BR /&gt;&lt;BR /&gt;In particular:&lt;BR /&gt;1) How is this size determined?&lt;BR /&gt; - memset(shortBlocks, 0, sizeof(short int) * 64 * 5 * 6);&lt;BR /&gt;2) Where do all of these equations come from?&lt;BR /&gt; - qno = (int)(*(((unsigned short *)cBuffer) + (j +j+j)  * 4 + 1) &amp;amp; 0x0f);&lt;BR /&gt; - uu2 = (cBuffer[j * 6 + i ] ) &amp;amp; 0x00030;&lt;BR /&gt; - lpsTableKvadr = lpADequantizeTable + 64 * lpADequantizeLineTable[qno + uu2 ] + (cBuffer[i + 6 * j]  &amp;amp; 0x040)* 14;&lt;BR /&gt; - if ((0x40 &amp;amp; (cBuffer[i + 6 * j])) == 0)&lt;BR /&gt;&lt;BR /&gt;I really appreciate any help you might be able to provide.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ben</description>
    <pubDate>Tue, 07 Sep 2004 23:11:26 GMT</pubDate>
    <dc:creator>ben_weatherman</dc:creator>
    <dc:date>2004-09-07T23:11:26Z</dc:date>
    <item>
      <title>DV Decoder Example: Explain VideoDecoder::DecompressSegment?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/DV-Decoder-Example-Explain-VideoDecoder-DecompressSegment/m-p/940113#M17573</link>
      <description>I am looking through the DV Decoder Example.  I understand the VideoDecoder::DecodeFrame function, but am having a lot of problems with how the DecodeSegment function is written.  Could someone help walk me through it?&lt;BR /&gt;&lt;BR /&gt;In particular:&lt;BR /&gt;1) How is this size determined?&lt;BR /&gt; - memset(shortBlocks, 0, sizeof(short int) * 64 * 5 * 6);&lt;BR /&gt;2) Where do all of these equations come from?&lt;BR /&gt; - qno = (int)(*(((unsigned short *)cBuffer) + (j +j+j)  * 4 + 1) &amp;amp; 0x0f);&lt;BR /&gt; - uu2 = (cBuffer[j * 6 + i ] ) &amp;amp; 0x00030;&lt;BR /&gt; - lpsTableKvadr = lpADequantizeTable + 64 * lpADequantizeLineTable[qno + uu2 ] + (cBuffer[i + 6 * j]  &amp;amp; 0x040)* 14;&lt;BR /&gt; - if ((0x40 &amp;amp; (cBuffer[i + 6 * j])) == 0)&lt;BR /&gt;&lt;BR /&gt;I really appreciate any help you might be able to provide.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ben</description>
      <pubDate>Tue, 07 Sep 2004 23:11:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/DV-Decoder-Example-Explain-VideoDecoder-DecompressSegment/m-p/940113#M17573</guid>
      <dc:creator>ben_weatherman</dc:creator>
      <dc:date>2004-09-07T23:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: DV Decoder Example: Explain VideoDecoder::DecompressSegment</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/DV-Decoder-Example-Explain-VideoDecoder-DecompressSegment/m-p/940114#M17574</link>
      <description>&lt;DIV&gt;HI,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;below is answers from our expert&lt;/DIV&gt;
&lt;DIV&gt;1) In DV mimimal coded unit (MCU) is segment. It consist from 5 macro-blocks, which are taking from different areas of image. Each macro-block consist from 6 blocks (4 block of Y component, 1 Cb and 1 Cr). Each block is 8x8 array of DCT coefficients. Before start of decoding you need to set segment's memeory to zero, and segment size of sizeof(short) * 64 * 6 * 5.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;2) You need to refer to IPP documentation and DV standard to understand where those equations comes from.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;
&lt;DIV&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Sep 2004 22:54:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/DV-Decoder-Example-Explain-VideoDecoder-DecompressSegment/m-p/940114#M17574</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2004-09-08T22:54:12Z</dc:date>
    </item>
  </channel>
</rss>

