<?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: IPP 6.0 Inverse DCT 8x8 Negative Values Issue in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-6-0-Inverse-DCT-8x8-Negative-Values-Issue/m-p/896243#M12162</link>
    <description>&lt;DIV style="margin:0px;"&gt;Hello,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Please take a look at function description in documentation. It also might be useful to see how this function work in IPP MPEG2 decoder (audio-video-codecs sample).&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt; Vladimir&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Nov 2008 08:40:14 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2008-11-25T08:40:14Z</dc:date>
    <item>
      <title>IPP 6.0 Inverse DCT 8x8 Negative Values Issue</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-6-0-Inverse-DCT-8x8-Negative-Values-Issue/m-p/896242#M12161</link>
      <description>&lt;P&gt;We are developing an accelerated MPEG-2 based video decoder and are comparing the use of Intel IPP with other methods.&lt;/P&gt;
&lt;P&gt;When using the following:&lt;/P&gt;
&lt;P&gt;ippiDCT8x8Inv_AANTransposed_16s8u_C1R&lt;/P&gt;
&lt;P&gt;Initial sample values are stored as:&lt;/P&gt;
&lt;P&gt;Ipp16s samples[6][64]; // 4:2:0&lt;/P&gt;
&lt;P&gt;The resulting values are arranged in X / Y flipped, and for negative DC values the function always returns all 0s.&lt;/P&gt;
&lt;P&gt;Our own reference IDCT function returns very different values.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;block[0] = -848&lt;/P&gt;
&lt;P&gt;Intel IPP IDCT yields: result = [0, 0, ....]&lt;/P&gt;
&lt;P&gt;Our own IDCT yields: result = [-106, -106, ...]&lt;/P&gt;
&lt;P&gt;I understand that 8u values are not to be negative, but what happens to these values? How do I correct this? I tried using the Intel IPP Inverse Quant function too..&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;So in summary, I'm stuck on:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;IDCT sample placement (for values it works on),&lt;/P&gt;
&lt;P&gt;IDCT handling of negative input values.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2008 20:15:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-6-0-Inverse-DCT-8x8-Negative-Values-Issue/m-p/896242#M12161</guid>
      <dc:creator>teshshah</dc:creator>
      <dc:date>2008-11-24T20:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: IPP 6.0 Inverse DCT 8x8 Negative Values Issue</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-6-0-Inverse-DCT-8x8-Negative-Values-Issue/m-p/896243#M12162</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hello,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Please take a look at function description in documentation. It also might be useful to see how this function work in IPP MPEG2 decoder (audio-video-codecs sample).&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt; Vladimir&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2008 08:40:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-6-0-Inverse-DCT-8x8-Negative-Values-Issue/m-p/896243#M12162</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-11-25T08:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: IPP 6.0 Inverse DCT 8x8 Negative Values Issue</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-6-0-Inverse-DCT-8x8-Negative-Values-Issue/m-p/896244#M12163</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;Hello,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Please take a look at function description in documentation. It also might be useful to see how this function work in IPP MPEG2 decoder (audio-video-codecs sample).&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&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;I have read the IPPI manual (.PDF); but the sample code is extremely difficult to understand. What perplexes me is that this function works correctly for positive values...&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2008 18:20:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-6-0-Inverse-DCT-8x8-Negative-Values-Issue/m-p/896244#M12163</guid>
      <dc:creator>teshshah</dc:creator>
      <dc:date>2008-11-25T18:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: IPP 6.0 Inverse DCT 8x8 Negative Values Issue</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-6-0-Inverse-DCT-8x8-Negative-Values-Issue/m-p/896245#M12164</link>
      <description>&lt;P&gt;Well, I don't know if this issue is solved, but for now I stopped using that function.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I found a different undocumented direct function in "ippi.h":&lt;/P&gt;
&lt;P&gt;ippiDCT8x8InvLSClip_16s8u_C1R&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This one does everything I need and the results are correct as well.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Nov 2008 20:39:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-6-0-Inverse-DCT-8x8-Negative-Values-Issue/m-p/896245#M12164</guid>
      <dc:creator>teshshah</dc:creator>
      <dc:date>2008-11-25T20:39:17Z</dc:date>
    </item>
  </channel>
</rss>

