<?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 UIC sample JPEG: meaning of JPEGDecoderParams::SetDCTType in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831215#M5558</link>
    <description>&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;It is similar to '&lt;STRONG&gt;use_qdct&lt;/STRONG&gt;' param but due to some reason a consistency was lost. Take a look at&lt;BR /&gt;'&lt;STRONG&gt;JPGViewDoc.h&lt;/STRONG&gt;' header:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;P&gt;class &lt;STRONG&gt;CJPGViewDoc&lt;/STRONG&gt; : public CDocument&lt;BR /&gt;{&lt;BR /&gt; ...&lt;BR /&gt; void &lt;STRONG&gt;SetDCTType&lt;/STRONG&gt;( int &lt;STRONG&gt;use_qdct&lt;/STRONG&gt; ) { m_param_jpeg.&lt;STRONG&gt;use_qdct&lt;/STRONG&gt; = &lt;STRONG&gt;use_qdct&lt;/STRONG&gt;; return; }&lt;BR /&gt; ...&lt;BR /&gt;};&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;2.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;In '&lt;STRONG&gt;JPGView.rc&lt;/STRONG&gt;' there is a control '&lt;STRONG&gt;IDC_USE_QDCT&lt;/STRONG&gt;'with a text '&lt;STRONG&gt;Use fast DCT for not complete blocks&lt;/STRONG&gt;'&lt;BR /&gt;and it looks like a letter'&lt;STRONG&gt;q&lt;/STRONG&gt;' in the '&lt;STRONG&gt;use_qdct&lt;/STRONG&gt;'stands for '&lt;STRONG&gt;quick&lt;/STRONG&gt;'.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Jan 2012 22:07:02 GMT</pubDate>
    <dc:creator>SergeyKostrov</dc:creator>
    <dc:date>2012-01-14T22:07:02Z</dc:date>
    <item>
      <title>UIC sample JPEG: meaning of JPEGDecoderParams::SetDCTType</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831212#M5555</link>
      <description>Inside the UIC JPEG sample, (uic_jpeg_dec.h), the classJPEGDecoderParams has the following field:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;[bash]ExcStatus SetDCTType(int dctType)
{
    m_dctType = dctType;
    return ExcStatusOk;
}
int GetDCTType(void)
{
    return m_dctType;
}
[/bash]&lt;/PRE&gt; However, after careful searching, it appears the field is unused. Is it safe to remove this field? Is there reference to either JPEG specification or IJG documentation regarding the meaning of this field?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you.&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 Jan 2012 03:24:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831212#M5555</guid>
      <dc:creator>Ryan_Wong</dc:creator>
      <dc:date>2012-01-13T03:24:06Z</dc:date>
    </item>
    <item>
      <title>UIC sample JPEG: meaning of JPEGDecoderParams::SetDCTType</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831213#M5556</link>
      <description>Hi Ryan,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;You are right, this field can be safely removed. It might be a duplicate of &lt;B&gt;m_use_qdct &lt;/B&gt;data member of &lt;B&gt;CJPEGDecoder &lt;/B&gt;class, but abandoned for some reason.&lt;/DIV&gt;&lt;DIV&gt;We'll inspect the functions and data members to get rid of unused codes.&lt;/DIV&gt;&lt;DIV&gt;Thank you,&lt;/DIV&gt;&lt;DIV&gt;Sergey&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 Jan 2012 08:00:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831213#M5556</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-01-13T08:00:48Z</dc:date>
    </item>
    <item>
      <title>UIC sample JPEG: meaning of JPEGDecoderParams::SetDCTType</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831214#M5557</link>
      <description>I guess that this DCT type parameter was meant to be used to chose whether to use integer or float DCT.</description>
      <pubDate>Fri, 13 Jan 2012 09:46:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831214#M5557</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2012-01-13T09:46:27Z</dc:date>
    </item>
    <item>
      <title>UIC sample JPEG: meaning of JPEGDecoderParams::SetDCTType</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831215#M5558</link>
      <description>&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;It is similar to '&lt;STRONG&gt;use_qdct&lt;/STRONG&gt;' param but due to some reason a consistency was lost. Take a look at&lt;BR /&gt;'&lt;STRONG&gt;JPGViewDoc.h&lt;/STRONG&gt;' header:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;P&gt;class &lt;STRONG&gt;CJPGViewDoc&lt;/STRONG&gt; : public CDocument&lt;BR /&gt;{&lt;BR /&gt; ...&lt;BR /&gt; void &lt;STRONG&gt;SetDCTType&lt;/STRONG&gt;( int &lt;STRONG&gt;use_qdct&lt;/STRONG&gt; ) { m_param_jpeg.&lt;STRONG&gt;use_qdct&lt;/STRONG&gt; = &lt;STRONG&gt;use_qdct&lt;/STRONG&gt;; return; }&lt;BR /&gt; ...&lt;BR /&gt;};&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;2.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;In '&lt;STRONG&gt;JPGView.rc&lt;/STRONG&gt;' there is a control '&lt;STRONG&gt;IDC_USE_QDCT&lt;/STRONG&gt;'with a text '&lt;STRONG&gt;Use fast DCT for not complete blocks&lt;/STRONG&gt;'&lt;BR /&gt;and it looks like a letter'&lt;STRONG&gt;q&lt;/STRONG&gt;' in the '&lt;STRONG&gt;use_qdct&lt;/STRONG&gt;'stands for '&lt;STRONG&gt;quick&lt;/STRONG&gt;'.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2012 22:07:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831215#M5558</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-01-14T22:07:02Z</dc:date>
    </item>
    <item>
      <title>UIC sample JPEG: meaning of JPEGDecoderParams::SetDCTType</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831216#M5559</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1326578891453="55" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=61352" href="https://community.intel.com/en-us/profile/61352/" class="basic"&gt;Igor Levicki&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;I guess that this DCT type parameter was meant to be used to chose whether to use &lt;SPAN style="text-decoration: underline;"&gt;integer or float DCT&lt;/SPAN&gt;.&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;It looks like no.&lt;BR /&gt;&lt;BR /&gt;Even ifan integer-based DCT implementations could be done results, compared to float-based&lt;BR /&gt;implementations,will be less accurate( roundoff problems ) but they can be calculatedfaster.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2012 22:15:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831216#M5559</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-01-14T22:15:13Z</dc:date>
    </item>
    <item>
      <title>UIC sample JPEG: meaning of JPEGDecoderParams::SetDCTType</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831217#M5560</link>
      <description>I do agree that avoiding floating points today has no speed benefits -- I was just pointing out that IJG has those two modes and similarily named variable.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jan 2012 23:56:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-sample-JPEG-meaning-of-JPEGDecoderParams-SetDCTType/m-p/831217#M5560</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2012-01-17T23:56:27Z</dc:date>
    </item>
  </channel>
</rss>

