# if is needed to catch case when no artifact is there (first run), similarly as above
-if [[ -d $public_dir ]]; then
# 1. check for public_dir being there as this might not be the case when artifact download failed
# 2. check for public dir not being empty - handle job failures in prev job that happen after the dir is created. In that case, the empty dir is in the artifacts
-if [ -d $public_dir ] && [ ! -z "$( ls -A $public_dir )" ]; then
-mv $public_dir/* wmops/
# check here if we have the split-by-levels files present - if not, fake them up with the existing global one
# this is needed for the first run with split graphs on a branch where the global version did run previously
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_1165 /* Ittiam: Fix for issue 1165: Assertion in lpc2lsp_fx for OMASA LTV input */
#define FIX_ISSUE_1185 /* Ittiam: Fix for issue 1185: Assertion in ivas_dirac_dec_binaural_internal_fx() for crash in decoder in fft30_with_cmplx_data()*/
#define FIX_ISSUE_1209 /* Ittiam: Fix for issue 1209: Assertion exit in BASOP encoder (stereo_dmx_evs)*/
#define FIX_ISSUE_1218 /* Ittiam: Fix for issue 1218: Assert in stereo_dft_generate_comfort_noise_fx of BASOP decoder with BASOP MASA DTX bitstream at 32 kbps*/
#define FIX_ISSUE_1290 /* Ittiam: Fix for issue 1218: Assert in stereo_dft_generate_comfort_noise_fx of BASOP decoder with BASOP MASA DTX bitstream at 32 kbps*/
#define IVAS_ISSUE_1188_EVS_CRASH /* Ittiam: Fix for issue 1188: Issue due to ASAN */
#define FIX_ISSUE_1155 /* Ittiam: Fix for issue 1155: Encoder crash for Stereo at 32kbps in PostShortTerm_ivas_enc_fx()*/
#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 FIX_ISSUE_1279 /* VA: correction of wrong scaling update */