Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Problems with ippsLinToALaw_16s8u

tcorp1
Beginner
123 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
Employee
123 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

Reply