ACELP_config*acelp_cfg,/* i : ACELP bit-allocation */
constWord16signalling_bits,/* i : number of signalling bits */
constWord16coder_type,/* i : coder type */
#ifdef NONBE_FIX_GSC_BSTR
constWord16inactive_coder_type_flag,/* i : AVQ (0) or GSC (1) IC flag */
#endif
constWord16tc_subfr,/* i : TC subfr ID */
constWord16tc_call,/* i : TC call number (0,1,2,3,5(DEC)) */
Word16*nBits_es_Pred,/* o : number of bits for Es_pred Q */
@@ -1068,14 +1071,20 @@ ivas_error config_acelp1(
{
bits=sub(bits,TDM_IC_LSF_PRED_BITS);
}
/* gain Q bit-budget - part 1 */
/* gain Q bit-budget - part 1: 'Es_pred' of memory-less gain Q */
test();
test();
test();
test();
test();
test();
#ifdef NONBE_FIX_GSC_BSTR
IF((NE_16(coder_type,UNVOICED)&&NE_16(coder_type,AUDIO)&&coder_type!=INACTIVE&&!(LE_32(core_brate,ACELP_8k00)&&NE_16(coder_type,TRANSITION)))/* mid bitrates in GC and VC, low+mid bitrates in TC */||
/* gain Q bit-budget - part 1: 'Es_pred' of memory-less gain Q */
#ifdef NONBE_FIX_GSC_BSTR
IF((NE_16(coder_type,UNVOICED)&&NE_16(coder_type,AUDIO)&&coder_type!=INACTIVE&&!(LE_32(core_brate,ACELP_8k00)&&NE_16(coder_type,TRANSITION)))/* mid bitrates in GC and VC, low+mid bitrates in TC */||
#define FIX_ISSUE_1214 /* Ittiam: Fix for issue 1214: Energy leakage in IGF tiles for MDCT-stereo @64kbps SWB*/
#define FIX_881_HILBERT_FILTER /* VA: improve the precision of the Hilbert filter to remove 2kHz unwanted tone */
#define FIX_ISSUE_1245 /* Ittiam: Fix for issue 1245: Basop Encoder: Audible noise for silent Stereo input DTX on @24.4 kbps, @32 kbps*/
#define FIX_920_IGF_INIT_ERROR /* FhG: issue 920: fix bitrate mismatch in initial IGF config to avoid error message in same cases */
#define FIX_MINOR_SVD_WMOPS_MR1010X /* FhG: Minor WMOPS tuning, bit-exact to previous version, saves about 8.2 WMOPS for MR1010 */
#define SVD_WMOPS_OPT /* Ittiam : SVD related optimizations */
#define NONBE_FIX_1087_OOB_SBA_DTX_RS /* VA: issue 1087: Extend the length of the buffer for MCT decoding to avoid out-of-bound writing in SBA SID bitrate switching decoding */
#define IMPROVE_HIGH_COMPLEXITY_PARAM_MC_PRM_EST /* FhG: reduces WMOPS of param_mc_prm_est, bit-exact to previous version */