fprintf(stderr,"Warning: The maximum number of indices %d has been exceeded in frame %d! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().\n",*(hBstr->ivas_max_num_indices),frame);
#endif
/* reallocate the buffer of indices with increased limit */
fprintf(stderr,"Warning: The maximum number of indices %d has been exceeded in frame %d! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().\n",*(hBstr->ivas_max_num_indices),frame);
#endif
/* no available empty slot -> need to re-allocate the buffer */
returnIVAS_ERROR(IVAS_ERR_INTERNAL_FATAL,"Indice ID = %d with value %d exceeds the range of %d bits (frame %d) !\n",id,value,nb_bits,frame);
}
if(nb_bits>16)
{
returnIVAS_ERROR(IVAS_ERR_INTERNAL_FATAL,"Indice ID = %d with value %d is trying to allocate %d bits which exceeds 16 bits (frame %d) !\n",id,value,nb_bits,frame);
/*#define DEBUG_MODE_JBM *//* define to output JBM relevant parameters */
#define ENABLE_BITRATE_VERIFICATION /* Enable bitrate verification - use when playing with bit budget */
/*#define DEBUG_APA_SILENCE_NON_SCALED*//* Switch APA into mode that replaces contents of non-scaled frames with silence. Useful for identifying scaled regions in the audio output of the decoder */
#endif /* DEBUGGING */
@@ -98,6 +99,7 @@
#define FIX_BASOP_2486_HQ_FINE_GAIN_ALIGNMENT /* Eri: Basop issue 2486: IVAS BASOP used calculations with truncation, EVS BASOP used rounding. This aligns the use of a table lookup. */
#define FIX_1543_MID_LSF_BITS /* VA: float issue 1543: Resolve "MSAN: use-of-uninitialized-value in lib_enc/lsf_enc.c:262:5 for EVS encoder" */
#define FIX_2488_PREVENT_NEG_PITCH /* VA: Fix for 2488, use saturation to prevent possible wrap-around, thus negative pitch values */
#define FIX_1547_ISMDTX_HANDLE /* VA: float issue 1547: fix use of 'hISMDTX' handle */
/* ##################### End NON-BE switches ########################### */