AN2094 Freescale Semiconductor / Motorola, AN2094 Datasheet - Page 39
![no-image](/images/no-image-200.jpg)
AN2094
Manufacturer Part Number
AN2094
Description
ITU-T G.729 Implementation on StarCore SC140
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN2094.pdf
(52 pages)
- Current page: 39 of 52
- Download datasheet (348Kb)
Freescale Semiconductor
}
}
/* Compute energy with split-summation.
s0 = 0;
s1 = 0;
p = &signal[p_max];
for (i=0; i < L_frame; i+=2)
{
}
s0 = L_add(s0, s1);
/* compute 1/sqrt(energy), with the result in Q30 */
s0 = Inv_sqrt(s0);
/* compute max = max/sqrt(energy)
/* This result will always be 16 bit-aligned. */
s0 = Mpy_32_new(max, s0);
*cor_max = extract_l(s0);
return (lag_max - p_max);
* Split-summation is performed with 2 partial sums because the array
* is not aligned.
*/
}
/* The function must favor the correlation with the maximum lag */
/* Test if the correlation computed is greater than previous maximum */
if (c3 > max)
{
}
if (c2 > max)
{
}
if (c1 > max)
{
}
if (c0 > max)
{
}
s0 = L_mac(s0, p[i+0], p[i+0]);
s1 = L_mac(s1, p[i+1], p[i+1]);
c2 = L_mac(c2, rs, sig3);
c3 = L_mac(c3, rs, sig0);
rs = ref_signal[j+2];
sig1 = signal[i+j+5];
c0 = L_mac(c0, rs, sig2);
c1 = L_mac(c1, rs, sig3);
c2 = L_mac(c2, rs, sig0);
c3 = L_mac(c3, rs, sig1);
rs = ref_signal[j+3];
sig2 = signal[i+j+6];
c0 = L_mac(c0, rs, sig3);
c1 = L_mac(c1, rs, sig0);
c2 = L_mac(c2, rs, sig1);
c3 = L_mac(c3, rs, sig2);
rs = ref_signal[j+4];
sig3 = signal[i+j+7];
max
p_max = i+3;
max
p_max = i+2;
max
p_max = i+1;
max
p_max = i;
= c3;
= c2;
= c1;
= c0;
ITU-T G.729 Implementation on the StarCore™ SC140/SC1400 Cores, Rev. 1
*/
References
39
Related parts for AN2094
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AN177](/images/no-image3.png)
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
![AN1268](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
![AN1315](/images/no-image3.png)
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
![AN1998](/images/no-image3.png)
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
![AN2124](/images/no-image3.png)
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
![AN2428](/images/no-image3.png)
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
![AN2708](/images/no-image3.png)
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
![AN2783](/images/no-image3.png)
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
![MC33394DH](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
![MC33394DWB](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
![MSC7110](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
![MSC7116](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC7119](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC7118](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC8101](/images/no-image3.png)
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola