<?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 System.TypeLoadException in JPEG Decoder in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/System-TypeLoadException-in-JPEG-Decoder/m-p/921412#M15734</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;I use the decoder from the JPEG-Viewer example in my own Visual Studio managed C++ project, but I get always a System.TypeLoadException for DecodeHuffmanState.&lt;BR /&gt;&lt;BR /&gt;I get this calling ippiDecodeHuffmanStateInit_JPEG_8u().&lt;BR /&gt;The JPEG Viewer is working properly, so I think there is no library missing.&lt;BR /&gt;&lt;BR /&gt;Is there any idea how to solve this?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Thomas</description>
    <pubDate>Fri, 16 Jun 2006 17:02:51 GMT</pubDate>
    <dc:creator>diggi62</dc:creator>
    <dc:date>2006-06-16T17:02:51Z</dc:date>
    <item>
      <title>System.TypeLoadException in JPEG Decoder</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/System-TypeLoadException-in-JPEG-Decoder/m-p/921412#M15734</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I use the decoder from the JPEG-Viewer example in my own Visual Studio managed C++ project, but I get always a System.TypeLoadException for DecodeHuffmanState.&lt;BR /&gt;&lt;BR /&gt;I get this calling ippiDecodeHuffmanStateInit_JPEG_8u().&lt;BR /&gt;The JPEG Viewer is working properly, so I think there is no library missing.&lt;BR /&gt;&lt;BR /&gt;Is there any idea how to solve this?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Thomas</description>
      <pubDate>Fri, 16 Jun 2006 17:02:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/System-TypeLoadException-in-JPEG-Decoder/m-p/921412#M15734</guid>
      <dc:creator>diggi62</dc:creator>
      <dc:date>2006-06-16T17:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: System.TypeLoadException in JPEG Decoder</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/System-TypeLoadException-in-JPEG-Decoder/m-p/921413#M15735</link>
      <description>&lt;P&gt;Hi Thomas,&lt;/P&gt;
&lt;P&gt;I'm not sure I understood your issue. You said that you get exception on ippiDecodeHuffmanStateInit_JPEG_8u function, but at the same time you said that JPEGViewer is working properly. It should not work if this function work incorrectly.&lt;/P&gt;
&lt;P&gt;By the way, what processor and OS do you use? Is it EM64T based system?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jul 2006 03:24:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/System-TypeLoadException-in-JPEG-Decoder/m-p/921413#M15735</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-07-01T03:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: System.TypeLoadException in JPEG Decoder</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/System-TypeLoadException-in-JPEG-Decoder/m-p/921414#M15736</link>
      <description>&lt;P&gt;Just in case, there is some comments from out expert&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" size="2"&gt;According C# documentation&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT face="Times New Roman"&gt;TypeLoadException&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt; is thrown when the common language runtime cannot find the assembly, the type within the assembly, or cannot load the type.&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color="#000080" size="2"&gt;
&lt;P&gt;in our IPP sample we did that in such a way&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" color="#000080" size="2"&gt;
&lt;P&gt;[StructLayout(LayoutKind.Sequential)] public struct IppiDecodeHuffmanState {}; // hidden or own structure&lt;/P&gt;
&lt;P&gt;// decoder&lt;BR /&gt;&lt;BR /&gt;public IppiDecodeHuffmanState* m_state;&lt;BR /&gt;int size;&lt;BR /&gt;ippiDecodeHuffmanStateGetBufSize_JPEG_8u(&amp;amp;size);&lt;BR /&gt;byte[] buf = new byte[size];&lt;BR /&gt;fixed( byte* p=buf ) m_state = (IppiDecodeHuffmanState*)p;&lt;BR /&gt;ippiDecodeHuffmanStateInit_JPEG_8u(m_state);&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2006 01:26:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/System-TypeLoadException-in-JPEG-Decoder/m-p/921414#M15736</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-07-04T01:26:04Z</dc:date>
    </item>
  </channel>
</rss>

