为了与和芯模块版本区别,此版本由06027版本修改过来并独立仓库维护

wangjianlin 42ae5bd44a RTL271_V06029 2 سال پیش
amrnb 74e84c0b8f RTL271_V06028 3 سال پیش
app 42ae5bd44a RTL271_V06029 2 سال پیش
evrcc 74e84c0b8f RTL271_V06028 3 سال پیش
log 74e84c0b8f RTL271_V06028 3 سال پیش
out 42ae5bd44a RTL271_V06029 2 سال پیش
pt 74e84c0b8f RTL271_V06028 3 سال پیش
queue 74e84c0b8f RTL271_V06028 3 سال پیش
CMakeLists.txt 74e84c0b8f RTL271_V06028 3 سال پیش
copyfile 74e84c0b8f RTL271_V06028 3 سال پیش
hpocapp.c 74e84c0b8f RTL271_V06028 3 سال پیش
makeapp 74e84c0b8f RTL271_V06028 3 سال پیش
makepack 74e84c0b8f RTL271_V06028 3 سال پیش
note.txt 74e84c0b8f RTL271_V06028 3 سال پیش
readme.txt 74e84c0b8f RTL271_V06028 3 سال پیش

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