readme.txt 2.4 KB

12345678910111213141516171819202122232425262728293031
  1. ///////////////modify note in amrnb and evrcc pards/////////////////
  2. for compile evrcc and amrnb source files, we do some changes in source code because of there are files' name and functions' name are the same. if we will get some error without changed. the modifitions are follows:
  3. 1.1 funtion cor_h_x in cor_h.c(amrnb) and acelp_pf.c(evrcc), we change all cor_h_x to cor_h_x_ex in amrnb source code
  4. 1.2 funtion G_code in g_code.c(amrnb) and acelp_pf.c(evrcc), we change all G_code to G_code_ex in amrnb source code
  5. 1.3 funtion Inv_sqrt in inv_sqrt.c(amrnb) and inv_sqrt.c(evrcc), we change all Inv_sqrt to Inv_sqrt_ex in amrnb source code
  6. 1.4 funtion block_norm in vad2.c(amrnb) and ns127.c(evrcc), we change all block_norm to block_norm_ex in amrnb source code
  7. 1.5 funtion r_fft in r_fft.c(amrnb) and r_fft.c(evrcc), we change all r_fft to r_fft_ex in amrnb source code
  8. 1.6 funtions :extract_l,add,sub,abs_s,shl,shr,mult,L_mult,negate,extract_h,L_add,L_mac,L_msu,L_sub,L_negate,mult_r,L_shl,L_shr,mac_r,msu_r,L_deposit_h,L_deposit_l,L_abs,norm_s,norm_l in basicop2.c(amrnb) and mathevrc.c(evrcc), we add '_ex' to tail fo all that functions
  9. 1.7 r_fft.c is the same file , we change to r_fft_ex.c in amrnb source code, also change the header file and include note(#include "r_fft.h to r_fft_ex.h")
  10. 1.8 inv_sqrt.c is the same file , we change to inv_sqrt_ex.c in amrnb source code, also change the header file and include note(#include "inv_sqrt.h to inv_sqrt_ex.h")
  11. 1.9 'lsp' is globle array in evrcc source code, but funtion name or other in amrnb souce code, we change lsp to lsp_ex in evrcc.
  12. 2.0 when cross complier, we complie source codes which name with .s in tail. will have same name "saturate" function with amrnb source files, we make basicop2.c "saturate" with static, it is use only in basicop2.c only in amrnb source
  13. 2.1 when cross complier, we complie source codes with name with .s in tail. will have same name "shr_r" function with amrnb source files, we make "shr_r" to "shr_r_ex" in amrnb source files
  14. 2.2 when cross complier, we complie source codes with name with .s in tail. will have same name "L_shr_r" function with amrnb source files, we make "L_shr_r" to "L_shr_r_ex" in amrnb source files
  15. 2.3 evrc source need call 'pow' in math.h ,so need -lm factor
  16. 2.4 amrnb has its own 'round' function,but the same name with that in math.h,so
  17. we make 'round' to 'round_ex' in amrnb source files