mu_expand
µ-law expansion
Synopsis
#include <filter.h>
void mu_expand(in, out, n)
const short in[];
short out[];
int n;
Description
The
mu_expand
ples and expands them according to ITU recommendation G.711. Each
input value is expanded to a linear 14-bit signed sample in accordance
with the µ-law definition and is returned in the vector pointed to
Algorithm
C(k)= mu_law expansion of A(k)
for k=0 to n-1
Domain
Content of input array: 0 to 255
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
/* Input array
/* Output array
/* Number of elements to be expanded */
function inputs a vector of 8-bit compressed speech sam-
DSP Run-Time Library
out
*/
*/
.
4-89
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?