N58 POC 非OPEN

wangjianlin 2b69688143 N58_POC_V2000 пре 4 година
amrnb 2b69688143 N58_POC_V2000 пре 4 година
app 2b69688143 N58_POC_V2000 пре 4 година
evrcc 2b69688143 N58_POC_V2000 пре 4 година
fonts 2b69688143 N58_POC_V2000 пре 4 година
lib 2b69688143 N58_POC_V2000 пре 4 година
log 2b69688143 N58_POC_V2000 пре 4 година
proto 2b69688143 N58_POC_V2000 пре 4 година
pt 2b69688143 N58_POC_V2000 пре 4 година
queue 2b69688143 N58_POC_V2000 пре 4 година
CMakeLists.txt 2b69688143 N58_POC_V2000 пре 4 година
copyfile 2b69688143 N58_POC_V2000 пре 4 година
hpocapp.c 2b69688143 N58_POC_V2000 пре 4 година
libohpoc.a 2b69688143 N58_POC_V2000 пре 4 година
libopenhpoc.a 2b69688143 N58_POC_V2000 пре 4 година
makeLibGuide.txt 2b69688143 N58_POC_V2000 пре 4 година
makeapp 2b69688143 N58_POC_V2000 пре 4 година
makeopenlib 2b69688143 N58_POC_V2000 пре 4 година
makepack 2b69688143 N58_POC_V2000 пре 4 година
readme.txt 2b69688143 N58_POC_V2000 пре 4 година
version.txt 2b69688143 N58_POC_V2000 пре 4 година

readme.txt

///////////////modify note in amrnb and evrcc pards/////////////////
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:

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

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

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

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

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

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

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")

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")

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.

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

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

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

2.3 evrc source need call 'pow' in math.h ,so need -lm factor

2.4 amrnb has its own 'round' function,but the same name with that in math.h,so
we make 'round' to 'round_ex' in amrnb source files