Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

G729 Still Crashing

damiancoventry
Beginner
466 Views
Hi,
I'm still having problems with the G729 code given away by Intel. The file named "encg729.c" that is part of the example code crashes here:
Code:
      /* Temporary vectors */
      LOCAL_ALIGN_ARRAY(32, short, rc, M,encoderObj); /* Reflection coefficients.             */
      LOCAL_ALIGN_ARRAY(32, short, lsp_new, M,encoderObj);
      LOCAL_ALIGN_ARRAY(32, short, lsp_new_q, M,encoderObj); /* LSPs at 2th subframe                 */
      LOCAL_ALIGN_ARRAY(32, short, rh_nbe, M+1,encoderObj);
      LOCAL_ALIGN_ARRAY(32, int, r_auto, NP+2,encoderObj);
      short Vad=1; /* Active frame */
      short s,norm;

      /* Clause 3.2.1 Windowing and autocorrelation computation */
      ippsAutoCorr_G729B(LPC_WINDOW, &norm,r_auto);
      if(vad_enable == 1){
         for(i=0; i = r_auto >> 16;
      }
This code is inside the function "G729AEncode" which is called whenever you use the public function "apiG729Encode".
It's the call to "ippsAutoCorr_G729B" that does it - Access Violation. I'm using MSVC 7 and i've tried using both static and dynamic linking with the same result.
Anyone got any ideas? Dependency Viewer shows that the DLL does have the function inside it, and it is calling the correct Pentium 4 DLL, so it really does look like a bug on Intel's behalf... or have I done something wrong?
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
466 Views
Hi,
could you look to the answer on your previous message, may be it could help?
Regards,
Vladimir
0 Kudos
Reply