<?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: Intel ippi for 10 bit video processing in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-ippi-for-10-bit-video-processing/m-p/1286285#M27699</link>
    <description>&lt;P&gt;Hi Karthik,&lt;/P&gt;
&lt;P&gt;IPP does not have a direct API for 10bit conversion. Here are supported conversion types:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/ipp-dev-reference/top/volume-2-image-processing/image-data-exchange-and-initialization-functions/convert-1.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/ipp-dev-reference/top/volume-2-image-processing/image-data-exchange-and-initialization-functions/convert-1.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There is a great Stack Overflow question that is basically the same question as yours and there is also some good discussion in the post as well. Here is the link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/49186569/converting-an-image-with-n-bit-bit-depth-to-a-16-bit-bit-depth-image-with-intel" target="_blank"&gt;https://stackoverflow.com/questions/49186569/converting-an-image-with-n-bit-bit-depth-to-a-16-bit-bit-depth-image-with-intel&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Datatypes are based on the processor architecture. Usually they are a fraction or multiple of the &lt;A href="https://en.wikipedia.org/wiki/Word_(computer_architecture)" target="_self"&gt;word length&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Hence with modern CPUs and therefor in modern programming languages there is no 12bit datatype. You have 64, 32, 16, 8 of addressable&amp;nbsp;memory.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;But no one stops you from putting a smaller number of bits into a register.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;So if you want to store 12bit you usually store them in the lower 12bits of a 16bit type.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Thats's why image processing algorithm usually support 8, 16,... bit. You can use any 16bit algorithm to work on 12bit intensity information as you would on 16bit.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;In some cases you may scale the 12bit information to 16bit. But in most cases that is not necessary.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Scaling 12 to 16bit is simple math. 12bit_value / (2^12-1) = 16bit_value / (2^16-1). Of course you may also refer your 12bit value to the maximum value in the image instead of 2^12. Then you would always use the full 16bit.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;-&lt;BR /&gt;Abhinav&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jun 2021 21:16:40 GMT</pubDate>
    <dc:creator>Abhinav_S_Intel</dc:creator>
    <dc:date>2021-06-01T21:16:40Z</dc:date>
    <item>
      <title>Intel ippi for 10 bit video processing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-ippi-for-10-bit-video-processing/m-p/1283158#M27691</link>
      <description>&lt;P&gt;How can i use intel ippi for processing a 10 bit video?&lt;/P&gt;
&lt;P&gt;If the memory allocated is 16 bits and 10 bits is used with 6 null bits then i can use ipp16u datatype.&lt;/P&gt;
&lt;P&gt;If it uses 10 bits only. Then how do i convert it to suitable format for processing using ippi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 11:56:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-ippi-for-10-bit-video-processing/m-p/1283158#M27691</guid>
      <dc:creator>karthi127</dc:creator>
      <dc:date>2021-05-20T11:56:20Z</dc:date>
    </item>
    <item>
      <title>Re:Intel ippi for 10 bit video processing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-ippi-for-10-bit-video-processing/m-p/1283547#M27694</link>
      <description>&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;   Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;We are looking into this issue internally. We will get back to you soon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Noorjahan &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 May 2021 12:48:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-ippi-for-10-bit-video-processing/m-p/1283547#M27694</guid>
      <dc:creator>NoorjahanSk_Intel</dc:creator>
      <dc:date>2021-05-21T12:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Intel ippi for 10 bit video processing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-ippi-for-10-bit-video-processing/m-p/1286285#M27699</link>
      <description>&lt;P&gt;Hi Karthik,&lt;/P&gt;
&lt;P&gt;IPP does not have a direct API for 10bit conversion. Here are supported conversion types:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/ipp-dev-reference/top/volume-2-image-processing/image-data-exchange-and-initialization-functions/convert-1.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/ipp-dev-reference/top/volume-2-image-processing/image-data-exchange-and-initialization-functions/convert-1.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There is a great Stack Overflow question that is basically the same question as yours and there is also some good discussion in the post as well. Here is the link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/49186569/converting-an-image-with-n-bit-bit-depth-to-a-16-bit-bit-depth-image-with-intel" target="_blank"&gt;https://stackoverflow.com/questions/49186569/converting-an-image-with-n-bit-bit-depth-to-a-16-bit-bit-depth-image-with-intel&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Datatypes are based on the processor architecture. Usually they are a fraction or multiple of the &lt;A href="https://en.wikipedia.org/wiki/Word_(computer_architecture)" target="_self"&gt;word length&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Hence with modern CPUs and therefor in modern programming languages there is no 12bit datatype. You have 64, 32, 16, 8 of addressable&amp;nbsp;memory.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;But no one stops you from putting a smaller number of bits into a register.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;So if you want to store 12bit you usually store them in the lower 12bits of a 16bit type.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Thats's why image processing algorithm usually support 8, 16,... bit. You can use any 16bit algorithm to work on 12bit intensity information as you would on 16bit.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;In some cases you may scale the 12bit information to 16bit. But in most cases that is not necessary.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Scaling 12 to 16bit is simple math. 12bit_value / (2^12-1) = 16bit_value / (2^16-1). Of course you may also refer your 12bit value to the maximum value in the image instead of 2^12. Then you would always use the full 16bit.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;-&lt;BR /&gt;Abhinav&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 21:16:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-ippi-for-10-bit-video-processing/m-p/1286285#M27699</guid>
      <dc:creator>Abhinav_S_Intel</dc:creator>
      <dc:date>2021-06-01T21:16:40Z</dc:date>
    </item>
  </channel>
</rss>

