1mlib_SignalLPCPerceptWeightm_eSd1i6a(L3iMbLILBi)brarmyliFbu_nScitginoanlsLPCPerceptWeight_S16(3MLIB)
2
3
4

NAME

6       mlib_SignalLPCPerceptWeight_S16 - perform perceptual weighting on input
7       signal
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       mlib_status mlib_SignalLPCPerceptWeight_S16(mlib_s16 *sigwgt,
14            const mlib_s16 *signal,  const mlib_s16 *lpc, mlib_s32 lscale,
15            mlib_s16 r1, mlib_s16 r2, void *state);
16
17

DESCRIPTION

19       The  mlib_SignalLPCPerceptWeight_S16()  function  performs   perceptual
20       weighting on input signal.
21
22
23       The perceptual weighting filter is defined as following.
24
25                      A(z*r1)
26              W(z) = ---------
27                      A(z*r2)
28
29
30
31       where A(z) is the inverse filter
32
33                          M          -i
34              A(z) = 1 - SUM a(i) * z
35                         i=1
36
37
38
39       See G.723.1, G.728, G.729, G.729A, GSM EFR standards.
40

PARAMETERS

42       The function takes the following arguments:
43
44       sigwgt    The  weighted  signal  vector,  the signal samples are in Q15
45                 format.
46
47
48       signal    The input signal vector, the signal samples are in  Q15  for‐
49                 mat.
50
51
52       lpc       The linear prediction coefficients.
53
54
55       lscale    The  scaling  factor  of  the linear prediction coefficients,
56                 where actual_data = input_data * 2**(-scaling_factor).
57
58
59       r1        The perceptual weighting filter coefficient, the  coefficient
60                 is in Q15 format, it is treated as 1 if 0 is supplied.
61
62
63       r2        The  perceptual weighting filter coefficient, the coefficient
64                 is in Q15 format, it is treated as 1 if 0 is supplied.
65
66
67       state     Pointer to the internal state structure.
68
69

RETURN VALUES

71       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
72       MLIB_FAILURE.
73

ATTRIBUTES

75       See attributes(5) for descriptions of the following attributes:
76
77
78
79
80       ┌─────────────────────────────┬─────────────────────────────┐
81       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
82       ├─────────────────────────────┼─────────────────────────────┤
83       │Interface Stability          │Committed                    │
84       ├─────────────────────────────┼─────────────────────────────┤
85       │MT-Level                     │MT-Safe                      │
86       └─────────────────────────────┴─────────────────────────────┘
87

SEE ALSO

89       mlib_SignalLPCPerceptWeightInit_S16(3MLIB),          mlib_SignalLPCPer‐
90       ceptWeightFree_S16(3MLIB), attributes(5)
91
92
93
94SunOS 5.11                        2 Mar 2m0l0i7b_SignalLPCPerceptWeight_S16(3MLIB)
Impressum