<?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: Bug in IppiCopy_8u_C1 under Delphi? in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-IppiCopy-8u-C1-under-Delphi/m-p/912296#M14387</link>
    <description>&lt;P&gt;Never mind, mistakes are possible :)&lt;/P&gt;
&lt;P&gt;this function is declared in ippi.h file as&lt;/P&gt;&lt;PRE&gt;IPPAPI ( IppStatus, ippiCopy_8u_C1R,&lt;BR /&gt; ( const Ipp8u* pSrc, int srcStep,&lt;BR /&gt; Ipp8u* pDst, int dstStep,IppiSize roiSize ))&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;So, it takes pointer, integer, pointer, integer, IppiSize.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
    <pubDate>Tue, 21 Aug 2007 19:00:26 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2007-08-21T19:00:26Z</dc:date>
    <item>
      <title>Bug in IppiCopy_8u_C1 under Delphi?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-IppiCopy-8u-C1-under-Delphi/m-p/912295#M14386</link>
      <description>&lt;P&gt;EDIT: why is it that i always find my bug some minutes AFTER posting?... :(&lt;BR /&gt;obviously i've mistaken the parameters.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;i encountered some access violations, and after having spend some hour to verify my code, i've reasons to belief that there is a bug somewhere. the following example code does crash with an access violation (near the beginning of the memory e.g. 0x00000320):&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;var tmp : Integer;&lt;/P&gt;
&lt;P&gt;var pBufSrc, pBufTpl : pIpp8u;&lt;BR /&gt; srcRoi, tplRoi : IppiSize;&lt;BR /&gt; srcStep, tplStep : Integer;&lt;BR /&gt;begin&lt;BR /&gt; srcRoi.width := 640;&lt;BR /&gt; srcRoi.height := 640;&lt;BR /&gt; tplRoi.width := 640;&lt;BR /&gt; tplRoi.height := 640;&lt;/P&gt;
&lt;P&gt; try&lt;BR /&gt; pBufSrc := ippiMalloc_8u_C1 (srcRoi.width, srcRoi.Height, @srcStep);&lt;BR /&gt; pBufTpl := ippiMalloc_8u_C1 (tplRoi.width, tplRoi.Height, @tplStep);&lt;BR /&gt; finally&lt;BR /&gt; end;&lt;BR /&gt; ippiCopy_8u_C1R (pBufSrc, srcStep, srcRoi, pBufTpl, tplStep, tplRoi);&lt;BR /&gt;end.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;the ippiCopy is initialized via the following code:&lt;/P&gt;
&lt;P&gt; TippiCopy_8u_C1R =&lt;BR /&gt; function (const pSrc: pIpp8u; srcStep: Integer; srcRoiSize : IppiSize;&lt;BR /&gt; pDst: PIpp8u; dstStep: Integer; dstRoiSize : IppiSize) : IppStatus; stdcall;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt; @ippiCopy_8u_C1R := GetProcAddress(Handle, 'ippiCopy_8u_C1R');&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;debugging a bit it really jumps to (some) routine, which first do some checks on roiSizes etc, so i'm sure it is part of IPP. and since i don't see any typos, i guess it is really ippiCopy_8u_C1R. can anyone help out?&lt;/P&gt;
&lt;P&gt;thanks in advance,&lt;BR /&gt;aydin&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2007 06:30:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-IppiCopy-8u-C1-under-Delphi/m-p/912295#M14386</guid>
      <dc:creator>ad_ms</dc:creator>
      <dc:date>2007-08-21T06:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in IppiCopy_8u_C1 under Delphi?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-IppiCopy-8u-C1-under-Delphi/m-p/912296#M14387</link>
      <description>&lt;P&gt;Never mind, mistakes are possible :)&lt;/P&gt;
&lt;P&gt;this function is declared in ippi.h file as&lt;/P&gt;&lt;PRE&gt;IPPAPI ( IppStatus, ippiCopy_8u_C1R,&lt;BR /&gt; ( const Ipp8u* pSrc, int srcStep,&lt;BR /&gt; Ipp8u* pDst, int dstStep,IppiSize roiSize ))&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;So, it takes pointer, integer, pointer, integer, IppiSize.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2007 19:00:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-IppiCopy-8u-C1-under-Delphi/m-p/912296#M14387</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-08-21T19:00:26Z</dc:date>
    </item>
  </channel>
</rss>

