c - Looking for a working example of FFT convolution with Intel IPP -


just trying wrap head around ipp right now. have working c/c++ code doing fft convolution on image?

example here:

/* sample c-code snipet example 1 using intel® integrated performance primitives (intel® ipp): */  /* allocate , initialize specification structures */ ippsfftinitalloc_c_32fc(&fftspec1_p, order, ipp_fft_div_fwd_by_n, ippalghintfast); ippsfftgetbufsize_c_32fc(fftspec1, &bufsize); buf1_p = (ipp8u *) ippsmalloc_32sc(bufsize*sizeof(ipp8u));  // ...  /* compute in-place ffts of input sequences*/ ippsfftfwd_ctoc_32fc_i(x_p, fftspec1_p, buf1_p); ippsfftfwd_ctoc_32fc_i(y_p, fftspec1_p, buf1_p);  /* perform complex multiplication , inverse fft*/ ippsmul_32fc( x_p, y_p, o_p, veclength); ippsfftinv_ctoc_32fc_i(o_p,fftspec1_p, buf1_p);  // ...  /* free specification structures */ ippsfftfree_c_32fc( fftspec1_p); ippsfree(buf1_p); 

Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -