Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Tony_Beckett
Beginner
87 Views

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

0 Kudos
4 Replies
SergeyKostrov
Valued Contributor II
87 Views

>>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.
Tony_Beckett
Beginner
87 Views

Windows 7, Visual Studio 2012, IPPS 7.1

Tony_Beckett
Beginner
87 Views

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

Tony_Beckett
Beginner
87 Views

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 );

Reply