ippsResamplePolyphaseFixedInit_32f

ippsResamplePolyphaseFixedInit_32f

Can someone enlighten me on why the call to  ippsResamplePolyphaseFixedInit_32f results in a

0xC00000005: Access violation

            int ssize;
            int height = 3;

              ippsResamplePolyphaseFixedGetSize_32f(  (int)SigIn->numberOfSamplesPerSecond() , _sampleRate, 128, pSizeOut, &ssize, &height, ippAlgHintFast );
            
                pState1 = (IppsResamplingPolyphaseFixed_32f*)ippsMalloc_8u(ssize);
                pState2 = (IppsResamplingPolyphaseFixed_32f*)ippsMalloc_8u(ssize);
                int inRate = (int)SigIn->numberOfSamplesPerSecond() ;
                IppStatus stsCode1 = ippsResamplePolyphaseFixedInit_32f( inRate , _sampleRate, 128, 0.9f, 9.0f, pState1, ippAlgHintFast );
         
                
            }

Tnaks

T

5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

>>Can someone enlighten me on why the call to ippsResamplePolyphaseFixedInit_32f results in a
>>
>>0xC00000005: Access violation

It is hard to tell what could be wrong because you have Not provided a complete test case, information about version of IPP library and C++ compiler, operating system, etc.

Windows 7, Visual Studio 2012, IPPS 7.1

Intel(R) Integrated Performance Primitives 7.1 Update 1 for Windows* OS

ippsResamplePolyphaseFixedGetSize_32f(  (int)SigIn->numberOfSamplesPerSecond() , _sampleRate, 128, pSizeOut, &ssize, &height, ippAlgHintFast );

Fixed

pSizeOut is wrong this should be ssize

ippsResamplePolyphaseFixedGetSize_32f(  (int)SigIn->numberOfSamplesPerSecond() , _sampleRate, 128, &ssize, &len, &height, ippAlgHintFast );

Leave a Comment

Please sign in to add a comment. Not a member? Join today