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