Professional Documents
Culture Documents
Quantization
Encode
Noise
pre-processor
Pitch period
calculation
Sub-band sound
intensity analysis
LPC analysis
Periodicity
judgment
Fourier
amplitudes
calculation
A/D
Encoder
converter
Sub-band sound
Fourier amplitudes
Cut-off frequency
intensity
Pitch periodicity
Transmission
calculation
Harmonic
synthesis
Speech output
D/A
converter
Deccoder
IDFT
filter
Pulse shaping
filter
Gain
correction
LPC
synthesis
Adaptive spectral
enhancement
V. OPTIMIZATION METHOD
5.1 Compiler Optimization
GCC compiler is widely used now. In the field of
embedded system, many compilers are created based on
the cross gcc. Its main parameters conclude: -O0 means
default mode and do not do any optimization; -O1: this is
the most basic level of optimization. Compilers will try to
generate faster and smaller code without spending too
much time. - O2: this is recommended optimization level.
Compiler will try to improve the code performance
without increasing volume and compilation time. -O3: this
Result After
Optimization
Function
name
Call
numbers
Time
consume(s)
Call
numbers
Time
consume(s)
L_mac
11366587
0.784
11137456
0.228
L_shl
2279668
0.596
2279252
0.297
L40_mac
2981453
0.71
2970126
0.304
L_v_inner
29719
0.223
29707
L_shr
1137259
0.124
1137047
0.068
sub
2361902
0.136
2359644
0.068
L_add
1898749
0.068
1897854
0.015
cfft
98
0.221
98
0.076
0.137
TABLE III.
Speech Time(s)
Decode
Frame
Time(s)
Frame
40
2.10
41
0.44
10
164
8.13
165
1.72
25
365
18.64
366
3.88
TABLE IV.
Speech Time (s)
VIII. CONCLUSIONS
PESQ
4.5
3.46
10
3.5
2.68
25
3.0
2.34
Time(s)