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

Problems with ippsLinToALaw_16s8u

tcorp1
Beginner
569 Views
Hello, I need your help. When I convert 16bits PCM wav file to 8bit A-law using
ippsLinToMuLaw_16s8u(tmpBuffer, (Ipp8u*) inputBuffer, lCvtLen);
Main problem is that quality after compressing is significantly lower comparing to PCM16 (When I compared these signals using Adobe Audition I saw that compressed signal is more noisy.)
Can you give me some advice to resolve it?
I added cpp file from my project.
Thank you, Ron.
0 Kudos
1 Reply
Chao_Y_Intel
Moderator
569 Views

Hello,

The ippsLinToMuLaw function assume that the input data is the raw PCM file, no wav file header. The test code is looks taking the wave hearder as well. Also, input data is 16 bits, the output is 8u. It may lost a bit loss not the data.

Thanks,
Chao

0 Kudos
Reply