AMR-WB optimization SOS Model

Source: Internet
Author: User

Recently in armv5 core AMR-WB optimization, MIPS down to 28, a little don't move, start to use Chinese search to see if there is good experience share, but nothing. Later on Google, with AMR-WB optimization search, found that the technology SOS on foreign websites do well, the relevant Chinese forums are irrigation more ah. BS.

Let's take a look at the foreign technology forum. We should learn it.

Q:

Hello everybody,

I am working on the optimization of the AMR-WB speech codec code obtained from ITU-T ON THE c6211 DSK. I have done the optimization techniques suggested for Ti's optimizing compiler like using intrinsics, loop trip counts, scratch-pad memory Etc .. but still haven'tacheived the desired performance. the program takes 150 mcps for full-duplex operation. I have to make it work under 25 mcps for full-duplex. I guess I have to do algorithmic level optimization now.
I have some knowledge of the speech coding algorithms. But I am not sure about where to start from.
Please guide me as to what are the steps that has to be taken in this direction. what all things shoshould be done. I wowould like to know whether its worth changing the algorithms. or is there some other techniques like decreasing the bits used for the fixed-point representation in some parts, or change the tables that are used in the code-book search etc .. kindly list all of the techniques like these t Hat are normally used. If Assembly coding has to be done then how to choose the functions that needs to be optimized?
Thanks in advance for all your help ..
Regards
Saleem

A1:

Saleem,
I suggest you to implement some functions in ASM whcih take much processing
Time. Some of those signal processing functions may be optimized by using
ASM features like circular buffers, filters etc.

Good luck.

A2:

Hai Saleem,

Since you are going for Algorithmic level optimization, you have to find which part of the codec is more complex. I think the codebook search algorithm will lead.
There also some function in the program which has small complexity but it will be called when times so that the final complexity due to the function will be large. so please find out which of the functions are called very frequently. because small saving in that function will result in large difference.
There also implements algorithm available in the net for efficient code book search, fast implementation of auto-correlation functions and convolution.
For example, convolution Implemented Using FFT requires less complexity. blakenship method of implementing autocorrelation have less complexity.

Regards
Venkat mistakes are not end of the world but repeating them is

A3:

Saleem:

Just adding to what Venkat has said. I referred to the following link for options on autocorrelations
Http://www.isip.msstate.edu/projects/speech/software/documentation/class/algo/Correlation/index. html

I used the second option given and that works fast as compared to the first one.

The site has given all the options for implementation and the references for their implementation.

All the best.

-Sanjay Patil
Mar 02,200 1213 hours Central. Wednesday. Venkat ramanan <> wrote:

Hai Saleem,

Since you are going for Algorithmic level optimization, you have to find which part of the codec is more complex. I think the codebook search algorithm will lead.
There also some function in the program which has small complexity but it will be called when times so that the final complexity due to the function will be large. so please find out which of the functions are called very frequently. because small saving in that function will result in large difference.
There also implements algorithm available in the net for efficient code book search, fast implementation of auto-correlation functions and convolution.
For example, convolution Implemented Using FFT requires less complexity. blakenship method of implementing autocorrelation have less complexity.

Regards
Venkat mistakes are not end of the world but repeating them is

To
---------------------------------------------------------------------------------
Honour or shame from no conditions doth rise,
Act well you part, there's all honour lies
---------------------------------------------------------------------------------
---------------------------------
Celebrate Yahoo! 'S 10th birthday!
Yahoo! Netrospective: 100 moments of the web

A4:

What is u r requirement?
I am not sure but I think u must be looking for bit exact implementation.
If it is so then you may loose bit exact implementation if u modify
Algorithm.
You need to consider this before modifying the algorithm.

Regards,
Nitin

 

This is all.

I looked at it and it was very helpful.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.