Analog Devices VISUALDSP++ 3.5 Manual page 504

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

DSP Run-Time Library Reference
mu_compress
µ-law compression
Synopsis
#include <filter.h>
void mu_compress(in, out, n)
const short in[];
short out[];
int n;
Description
The
mu_compress
samples and performs µ-law compression according to ITU recommenda-
tion G.711. Each sample is compressed to 8 bits and is returned in the
vector pointed to by
Algorithm
C(k)= mu_law compression of A(k)
for k=0 to n-1
Domain
Content of input array: -8192 to 8191
4-88
/* Input array
/* Output array
/* Number of elements to be compressed */
function takes a vector of linear 14-bit signed speech
.
out
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
*/
*/
for ADSP-219x DSPs

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents