Mu-law is a companding standard commonly used in the United States. It takes 14-bit data values and compresses them to eight-bit values. A-law is the standard used in Europe. It takes 13-bit data values and compresses them to eight-bit values. For more information on these standards, see the references at the end of this application note.
In these C-callable subroutines, expanded input and output are expected to be in signed left-aligned form. For a-law, this means the least-significant three bits are zero after expansion, and are ignored during compression. For mu-law, the two least significant bits are zero after expansion, and are ignored during compression.
This application note describes subroutines for performing mu-law and A-law companding using Texas Instruments (TI)(tm) TMS320C2xx ('C2xx) DSP.
> View the complete PDF document: |