<?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 Issue with converting from 16bit signed to 8bit unsigned while  in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Issue-with-converting-from-16bit-signed-to-8bit-unsigned-while/m-p/773821#M1024</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;It looks the same one with this post. The question could be combined at that post: &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=85096"&gt;http://software.intel.com/en-us/forums/showthread.php?t=85096&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2011 02:41:07 GMT</pubDate>
    <dc:creator>Chao_Y_Intel</dc:creator>
    <dc:date>2011-08-11T02:41:07Z</dc:date>
    <item>
      <title>Issue with converting from 16bit signed to 8bit unsigned while decompressing and reconstructing one multiframe image.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Issue-with-converting-from-16bit-signed-to-8bit-unsigned-while/m-p/773820#M1023</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am using intel IPP library for decompressing the JPEG. Internally I am using "ReconstructMCURowLS" method of the the class "jpegdec.cpp" for reconstructing the JPEG. Reconstruction is successful but while converting 16bit signed to 8bit unsigned, I am geting all the "pDst8u" 0xff instead of 0x00. And resulting all colours(near to black) becomes white.&lt;/P&gt;&lt;P&gt;Below is the code path which is getting executed...... &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;if(m_dst.precision &amp;lt;= 8)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;dstStep = curr_comp-&amp;gt;m_cc_step;&lt;/P&gt;&lt;P&gt;pDst8u = curr_comp-&amp;gt;GetCCBufferPtr(thread_id);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;..........&lt;/P&gt;&lt;P&gt;............&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;status = ippiReconstructPredRow_JPEG_16s_C1(&lt;/P&gt;&lt;P&gt;ptr,pPrevRow,pCurrRow,m_dst.width,m_ss);&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;............&lt;/P&gt;&lt;P&gt;..........&lt;/P&gt;&lt;P&gt;..........&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;status = ippiConvert_16s8u_C1R(pPrevRow,m_dst.width*sizeof(Ipp16s),pDst8u,dstStep,roi);&lt;/P&gt;&lt;P&gt;........&lt;BR /&gt;........&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Here I am not getting the expected result i.e. status should be "zero". &lt;/P&gt;&lt;P&gt;I have doubt here, am I using the wrong method to convert from 16s to 8u? or anything wrong I am doing?&lt;/P&gt;&lt;P&gt;Can someone please help me in this topic?&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Krushna&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2011 05:51:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Issue-with-converting-from-16bit-signed-to-8bit-unsigned-while/m-p/773820#M1023</guid>
      <dc:creator>krushnaps</dc:creator>
      <dc:date>2011-08-09T05:51:40Z</dc:date>
    </item>
    <item>
      <title>Issue with converting from 16bit signed to 8bit unsigned while</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Issue-with-converting-from-16bit-signed-to-8bit-unsigned-while/m-p/773821#M1024</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;It looks the same one with this post. The question could be combined at that post: &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=85096"&gt;http://software.intel.com/en-us/forums/showthread.php?t=85096&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2011 02:41:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Issue-with-converting-from-16bit-signed-to-8bit-unsigned-while/m-p/773821#M1024</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2011-08-11T02:41:07Z</dc:date>
    </item>
  </channel>
</rss>

