diff --git a/Workspace_msvc/lib_debug.vcxproj b/Workspace_msvc/lib_debug.vcxproj
index 5e986bb167a861528853e3a295a87f0d46644177..35d940e1be1786add377f0747d65134a5e5660d7 100644
--- a/Workspace_msvc/lib_debug.vcxproj
+++ b/Workspace_msvc/lib_debug.vcxproj
@@ -102,14 +102,9 @@
-
-
-
-
-
diff --git a/Workspace_msvc/lib_util.vcxproj b/Workspace_msvc/lib_util.vcxproj
index 85859e257cb0d7e5ebb4efb670a53c44e7cd6361..bce00912953491bb921dd9c34ec72164affb27b8 100644
--- a/Workspace_msvc/lib_util.vcxproj
+++ b/Workspace_msvc/lib_util.vcxproj
@@ -131,7 +131,6 @@
-
@@ -169,7 +168,6 @@
-
diff --git a/apps/ambi_converter.c b/apps/ambi_converter.c
index b3fbf857067bf5a16cfdb3cab64997bfea9208b4..d6dca89e2a0a111f4556a48ff6ae92ad542de7cd 100644
--- a/apps/ambi_converter.c
+++ b/apps/ambi_converter.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include
#include
diff --git a/apps/decoder.c b/apps/decoder.c
index 9b200437860261752c15aebf2de04a26be3f9bb8..2d0fd309a6ad09d7c3a3f45bc20eb78768636495 100644
--- a/apps/decoder.c
+++ b/apps/decoder.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include "lib_dec.h"
#include
@@ -38,9 +10,7 @@
#include "bitstream_reader.h"
#include "evs_rtp_payload.h"
#include "ism_file_writer.h"
-#ifdef IVAS_RTPDUMP
#include "ivas_rtp_file.h"
-#endif
#include "jbm_file_writer.h"
#include "hrtf_file_reader.h"
#include "ls_custom_file_reader.h"
@@ -50,18 +20,8 @@
#include "aeid_file_reader.h"
#include "split_render_file_read_write.h"
#include "obj_edit_file_reader.h"
-#ifdef VARIABLE_SPEED_DECODING
-#include "tsm_scale_file_reader.h"
-#include
-#endif
#include "vector3_pair_file_reader.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
-#ifdef FLP_EXCEPTION_TRAP
-#include "flp_debug.h"
-#endif
#define WMC_TOOL_SKIP
@@ -70,23 +30,12 @@
* Local constants
*------------------------------------------------------------------------------------------*/
-#if !defined( DEBUGGING ) && !defined( WMOPS )
+#if !defined( WMOPS )
static
#endif
int32_t frame = 0; /* Counter of frames */
-#ifdef DEBUGGING
-#define MIN_NUM_BITS_ACTIVE_FRAME 56
-#define NUM_BITS_SID_IVAS_5K2 104
-
-#endif
-#ifdef NONBE_FIX_BASOP_2233_RTPDUMP_DIFFERING_BITSTREAMS
#define RANDOM_INITSEED_DEC ( 0xFADE )
-#else
-#ifdef FIXED_RTP_SEQUENCE_NUM
-#define RANDOM_INITSEED_DEC ( 0xFEEDFADE )
-#endif
-#endif
/*------------------------------------------------------------------------------------------*
* Local structure for storing cmdln arguments
@@ -139,32 +88,16 @@ typedef struct
IVAS_DEC_COMPLEXITY_LEVEL complexityLevel;
bool tsmEnabled;
IVAS_RENDER_FRAMESIZE renderFramesize;
-#ifdef IVAS_RTPDUMP
bool applyPiData;
char *piOutputFilename;
bool rtpOutSR;
-#endif
-#ifdef DEBUGGING
-#ifdef DEBUG_FOA_AGC
- FILE *agcBitstream; /* temporary */
-#endif
-#ifdef VARIABLE_SPEED_DECODING
- bool tsmScaleFileEnabled;
- char *tsmScaleFileName;
- uint16_t tsmScale;
-#endif
-#endif
AcousticEnvironmentSequence aeSequence;
bool dpidEnabled;
uint16_t directivityPatternId[IVAS_MAX_NUM_OBJECTS];
bool objEditEnabled;
char *objEditFileName;
-#ifdef FIX_1419_MONO_STEREO_UMX
bool evsMode;
-#endif
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
IVAS_ROOM_SIZE_T roomSize;
-#endif
} DecArguments;
@@ -214,27 +147,13 @@ static ivas_error decodeVoIP(
RotFileReader *refRotReader,
Vector3PairFileReader *referenceVectorReader,
ObjectEditFileReader *objectEditFileReader,
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
ISAR_SPLIT_REND_BITS_DATA *splitRendBits,
-#endif
-#ifdef FIX_SPLIT_RENDERING_ON_DECODER_RESTART
IVAS_RENDER_CONFIG_DATA *renderConfig,
-#endif
-#ifdef DECODER_FORMAT_SWITCHING
IVAS_DEC_HANDLE *phIvasDec,
-#else
- IVAS_DEC_HANDLE hIvasDec,
-#endif
int16_t *pcmBuf );
static ivas_error load_hrtf_from_file( IVAS_DEC_HRTF_BINARY_WRAPPER *hHrtfBinary, IVAS_DEC_HANDLE hIvasDec, const IVAS_AUDIO_CONFIG OutputConfig, const int32_t output_Fs );
-#ifdef DEBUGGING
-static ivas_error printBitstreamInfoVoip( DecArguments arg, BS_READER_HANDLE hBsReader, IVAS_DEC_HANDLE hIvasDec );
-static int16_t app_own_random( int16_t *seed );
-#endif
static void do_object_editing( IVAS_EDITABLE_PARAMETERS *editableParameters, ObjectEditFileReader *objectEditFileReader );
-#ifdef DECODER_FORMAT_SWITCHING
static ivas_error restartDecoder( IVAS_DEC_HANDLE *phIvasDec, const IVAS_DEC_MODE decMode, DecArguments *arg, IVAS_RENDER_CONFIG_DATA *renderConfig, IVAS_CUSTOM_LS_DATA *hLsCustomData );
-#endif
/*------------------------------------------------------------------------------------------*
@@ -267,31 +186,14 @@ int main(
IVAS_RENDER_FRAMESIZE asked_frame_size;
IVAS_DEC_HRTF_BINARY_WRAPPER hHrtfBinary;
ObjectEditFileReader *objectEditFileReader = NULL;
-#ifdef IVAS_RTPDUMP_ACOUSTIC_ENVIRONMENT
IVAS_ROOM_ACOUSTICS_CONFIG_DATA **pAE = NULL;
uint32_t aeCount = 0;
-#endif
-#ifdef FIX_SPLIT_RENDERING_ON_DECODER_RESTART
IVAS_RENDER_CONFIG_DATA renderConfig = { 0 };
-#endif
-#ifdef DEBUGGING
- int32_t noClipping;
- int32_t cnt_frames_limited;
-#ifdef DEBUG_SBA_AUDIO_DUMP
- int16_t numOutChannels, numTransportChannels, pca_ingest_channels;
-#endif
-#endif
-#ifdef DEBUGGING
- dbgargs( &argc, argv );
-#endif
#ifdef WMOPS
reset_wmops();
reset_mem( USE_BYTES );
#endif
-#ifdef FLP_EXCEPTION_TRAP
- enable_float_exception_trap( FLE_MASK_DENORM | FLE_MASK_UNDERFLOW );
-#endif
hHrtfBinary.hHrtfTD = NULL; /* just to avoid compilation warning */
hHrtfBinary.hHrtfStatistics = NULL; /* just to avoid compilation warning */
@@ -498,24 +400,12 @@ int main(
*------------------------------------------------------------------------------------------*/
asked_frame_size = arg.renderFramesize;
-#ifdef IVAS_RTPDUMP_ACOUSTIC_ENVIRONMENT
uint16_t aeID = arg.aeSequence.count > 0 ? arg.aeSequence.pID[0] : IVAS_DEFAULT_AEID;
-#else
- uint16_t aeID = arg.aeSequence.count > 0 ? arg.aeSequence.pID[0] : 65535;
-#endif
-#ifdef IVAS_RTPDUMP
arg.enableHeadRotation = arg.enableHeadRotation || arg.outputConfig == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_CODED || arg.outputConfig == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_PCM;
-#endif
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
if ( ( error = IVAS_DEC_Configure( hIvasDec, arg.output_Fs, arg.outputConfig, arg.renderFramesize, arg.customLsOutputEnabled, arg.hrtfReaderEnabled,
arg.enableHeadRotation, arg.enableExternalOrientation, arg.orientation_tracking, arg.renderConfigEnabled, arg.roomSize, arg.non_diegetic_pan_enabled,
arg.non_diegetic_pan_gain, arg.dpidEnabled, aeID, arg.objEditEnabled, arg.delayCompensationEnabled ) ) != IVAS_ERR_OK )
-#else
- if ( ( error = IVAS_DEC_Configure( hIvasDec, arg.output_Fs, arg.outputConfig, arg.renderFramesize, arg.customLsOutputEnabled, arg.hrtfReaderEnabled,
- arg.enableHeadRotation, arg.enableExternalOrientation, arg.orientation_tracking, arg.renderConfigEnabled, arg.non_diegetic_pan_enabled,
- arg.non_diegetic_pan_gain, arg.dpidEnabled, aeID, arg.objEditEnabled, arg.delayCompensationEnabled ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "\nConfigure failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
goto cleanup;
@@ -550,9 +440,6 @@ int main(
fprintf( stderr, "\nConfigure failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
goto cleanup;
}
-#ifndef IVAS_RTPDUMP
- arg.enableHeadRotation = true;
-#endif
}
/*------------------------------------------------------------------------------------------*
@@ -568,92 +455,11 @@ int main(
}
}
-#ifdef DEBUGGING
- /*-----------------------------------------------------------------*
- * Preview bitstream and print config information
- *-----------------------------------------------------------------*/
-
- if ( arg.voipMode )
- {
- if ( ( error = printBitstreamInfoVoip( arg, hBsReader, hIvasDec ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "Error while previewing VoIP bitstream: %s\n", ivas_error_to_string( error ) );
- goto cleanup;
- }
- }
- else
- {
- uint16_t bit_stream[IVAS_MAX_BITS_PER_FRAME + 4 * 8];
- int16_t num_bits;
- int16_t bfi = 0;
- do
- {
- if ( BS_Reader_ReadFrame_short( hBsReader, bit_stream, &num_bits, &bfi ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nError: input bitstream file %s couldn't be read\n\n", arg.inputBitstreamFilename );
- goto cleanup;
- }
- } while ( bfi || num_bits < MIN_NUM_BITS_ACTIVE_FRAME || num_bits == NUM_BITS_SID_IVAS_5K2 );
-
- BS_Reader_Rewind( hBsReader );
-
- IVAS_DEC_PrintConfigWithBitstream( hIvasDec, arg.quietModeEnabled, bit_stream, num_bits );
-
-#ifdef VARIABLE_SPEED_DECODING
- if ( arg.tsmEnabled )
- {
- if ( arg.tsmScaleFileEnabled )
- {
- fprintf( stdout, "Variable speed file: %s\n", arg.tsmScaleFileName );
- }
- else
- {
- fprintf( stdout, "Variable speed factor: %i\n", arg.tsmScale );
- }
- }
-#endif
- }
-
- /*-----------------------------------------------------------------*
- * Open Error pattern file for simulation
- *-----------------------------------------------------------------*/
-
- if ( arg.FEPatternFileName != NULL )
- {
- if ( ( FEC_pattern = fopen( arg.FEPatternFileName, "rb" ) ) == NULL )
- {
- fprintf( stderr, "Error: Missing or incorrect FEC filename specification\n\n" );
- usage_dec();
- goto cleanup;
- }
- }
-
-#ifdef DEBUG_SBA_AUDIO_DUMP
- ivas_open_sba_decoder_debug_files( arg.output_Fs, 1, 1 );
-#endif
-
- /*-----------------------------------------------------------------*
- * Print information about FEC
- *-----------------------------------------------------------------*/
-
- if ( !arg.voipMode && ( arg.FEPatternFileName != NULL || arg.FER > 0 ) )
- {
- if ( arg.FEPatternFileName != NULL )
- {
- fprintf( stdout, "FEC: %s\n", arg.FEPatternFileName );
- }
- else
- {
- fprintf( stdout, "FEC: %.2f %%\n", arg.FER );
- }
- }
-#else
if ( ( error = IVAS_DEC_PrintConfig( hIvasDec, 1, arg.voipMode ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "\nIVAS_DEC_PrintConfig failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
goto cleanup;
}
-#endif
/*-------------------------------------------------------------------*
* Load renderer configuration from file
@@ -661,9 +467,6 @@ int main(
if ( arg.renderConfigEnabled )
{
-#ifndef FIX_SPLIT_RENDERING_ON_DECODER_RESTART
- IVAS_RENDER_CONFIG_DATA renderConfig;
-#endif
/* sanity check */
if ( arg.outputConfig != IVAS_AUDIO_CONFIG_BINAURAL && arg.outputConfig != IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR && arg.outputConfig != IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB &&
@@ -691,7 +494,6 @@ int main(
goto cleanup;
}
-#ifdef IVAS_RTPDUMP_ACOUSTIC_ENVIRONMENT
aeCount = RenderConfigReader_getAcousticEnvironmentCount( renderConfigReader );
if ( aeCount > 0 )
{
@@ -731,7 +533,6 @@ int main(
}
}
}
-#endif
if ( ( error = RenderConfigReader_getDirectivity( renderConfigReader, arg.directivityPatternId, renderConfig.directivity ) ) != IVAS_ERR_OK )
{
@@ -770,11 +571,7 @@ int main(
if ( arg.outputConfig == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
{
-#ifdef IVAS_RTPDUMP_ACOUSTIC_ENVIRONMENT
if ( ( error = IVAS_DEC_GetAcousticEnvironment( hIvasDec, aeID, &renderConfig.roomAcoustics ) ) == IVAS_ERR_OK )
-#else
- if ( ( error = RenderConfigReader_getAcousticEnvironment( renderConfigReader, aeID, &renderConfig.roomAcoustics ) ) == IVAS_ERR_OK )
-#endif
{
if ( RenderConfigReader_checkValues( &renderConfig ) != IVAS_ERR_OK )
{
@@ -860,17 +657,9 @@ int main(
if ( arg.voipMode )
{
error = decodeVoIP( arg, hBsReader, &hHrtfBinary, headRotReader, externalOrientationFileReader, refRotReader, referenceVectorReader, objectEditFileReader,
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
&splitRendBits,
-#endif
-#ifdef FIX_SPLIT_RENDERING_ON_DECODER_RESTART
&renderConfig,
-#endif
-#ifdef DECODER_FORMAT_SWITCHING
&hIvasDec,
-#else
- hIvasDec,
-#endif
pcmBuf );
}
else
@@ -895,16 +684,6 @@ int main(
goto cleanup;
}
-#ifdef DEBUGGING
- if ( ( cnt_frames_limited = IVAS_DEC_GetCntFramesLimited( hIvasDec ) ) > 0 )
- {
- fprintf( stdout, "Limiter applied in %d frames.\n\n", cnt_frames_limited );
- }
- if ( ( noClipping = IVAS_DEC_GetNoCLipping( hIvasDec ) ) > 0 )
- {
- fprintf( stdout, "Clipping (saturation) detected: %d samples clipped!!!\n\n", noClipping );
- }
-#endif
/*------------------------------------------------------------------------------------------*
* Close files and deallocate resources
@@ -916,7 +695,6 @@ cleanup:
free( pcmBuf );
-#ifdef IVAS_RTPDUMP_ACOUSTIC_ENVIRONMENT
if ( pAE != NULL )
{
uint16_t n;
@@ -928,17 +706,12 @@ cleanup:
free( pAE );
}
-#endif
if ( arg.aeSequence.count > 0 )
{
free( arg.aeSequence.pID );
free( arg.aeSequence.pValidity );
}
-#ifdef DEBUG_SBA_AUDIO_DUMP
- IVAS_DEC_GetSbaDebugParams( hIvasDec, &numOutChannels, &numTransportChannels, &pca_ingest_channels );
-
-#endif
if ( arg.hrtfReaderEnabled )
{
destroy_td_hrtf( hHrtfBinary.hHrtfTD );
@@ -969,12 +742,6 @@ cleanup:
printf( "\n" );
}
-#ifdef DEBUGGING
-#ifdef DEBUG_SBA_AUDIO_DUMP
- ivas_close_sba_decoder_debug_files( arg.output_Fs, numOutChannels, numTransportChannels, pca_ingest_channels );
-#endif
- dbgclose();
-#endif
return mainFailed ? -1 : 0;
}
@@ -1087,19 +854,10 @@ static bool parseCmdlIVAS_dec(
* Set default values
*-----------------------------------------------------------------*/
-#ifdef DEBUGGING
- float ftmp;
-
-#ifdef DEBUG_FOA_AGC
- arg->agcBitstream = NULL;
-#endif
-#endif
arg->output_Fs = IVAS_MAX_SAMPLING_RATE;
arg->outputConfig = IVAS_AUDIO_CONFIG_MONO;
arg->decMode = IVAS_DEC_MODE_IVAS;
-#ifdef FIX_1419_MONO_STEREO_UMX
arg->evsMode = false;
-#endif
arg->quietModeEnabled = false;
arg->delayCompensationEnabled = true;
arg->voipMode = false;
@@ -1114,11 +872,9 @@ static bool parseCmdlIVAS_dec(
arg->referenceVectorTrajFileName = NULL;
arg->enableExternalOrientation = false;
arg->externalOrientationTrajFileName = NULL;
-#ifdef IVAS_RTPDUMP
arg->applyPiData = false;
arg->piOutputFilename = NULL;
arg->rtpOutSR = false;
-#endif
#ifdef SUPPORT_JBM_TRACEFILE
arg->jbmTraceFilename = NULL;
@@ -1145,13 +901,6 @@ static bool parseCmdlIVAS_dec(
arg->non_diegetic_pan_gain = 0.f;
arg->tsmEnabled = false;
arg->renderFramesize = IVAS_RENDER_FRAMESIZE_20MS;
-#ifdef DEBUGGING
-#ifdef VARIABLE_SPEED_DECODING
- arg->tsmScale = 100;
- arg->tsmScaleFileEnabled = false;
- arg->tsmScaleFileName = NULL;
-#endif
-#endif
arg->aeSequence.count = 0;
arg->aeSequence.pID = NULL;
arg->aeSequence.pValidity = NULL;
@@ -1165,9 +914,7 @@ static bool parseCmdlIVAS_dec(
arg->objEditEnabled = false;
arg->objEditFileName = NULL;
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
arg->roomSize = IVAS_ROOM_SIZE_AUTO;
-#endif
/*-----------------------------------------------------------------*
* Initialization
@@ -1209,7 +956,6 @@ static bool parseCmdlIVAS_dec(
arg->inputFormat = IVAS_DEC_INPUT_FORMAT_RTPDUMP_HF;
i++;
}
-#ifdef IVAS_RTPDUMP
else if ( strcmp( argv_to_upper, "-PIDATAFILE" ) == 0 )
{
i++;
@@ -1232,7 +978,6 @@ static bool parseCmdlIVAS_dec(
arg->rtpOutSR = true;
i++;
}
-#endif
#ifdef SUPPORT_JBM_TRACEFILE
else if ( strcmp( argv_to_upper, "-TRACEFILE" ) == 0 )
{
@@ -1281,64 +1026,6 @@ static bool parseCmdlIVAS_dec(
i++;
}
}
-#ifdef DEBUGGING
- else if ( strcmp( argv_to_upper, "-FEC" ) == 0 )
- {
- ftmp = 0.0f;
- if ( sscanf( argv[i + 1], "%f", &ftmp ) != 1 )
- {
- arg->FEPatternFileName = argv[i + 1];
- }
- else
- {
- arg->FER = ftmp;
- }
- i += 2;
- }
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
- /* Define additional subfolder for debug info output in ./res */
- else if ( strcmp( argv_to_upper, "-INFO" ) == 0 )
- {
- extern char infoFolder[FILENAME_MAX];
- strncpy( infoFolder, argv[i + 1], sizeof( infoFolder ) );
- i += 2;
- }
-#endif /* #ifdef DEBUG_MODE_INFO_TWEAK */
-#endif /* #ifdef DEBUG_MODE_INFO */
-#ifdef VARIABLE_SPEED_DECODING
- else if ( strcmp( argv_to_upper, "-VS" ) == 0 )
- {
- i++;
- int32_t tmp = 100;
- arg->tsmEnabled = true;
- if ( i < argc - 3 )
- {
- if ( !is_digits_only( argv[i] ) )
- {
- arg->tsmScaleFileEnabled = true;
- arg->tsmScaleFileName = argv[i];
- i++;
- }
- else
- {
- if ( ( sscanf( argv[i], "%d", &tmp ) > 0 ) )
- {
- i++;
- }
- }
- arg->tsmScale = (uint16_t) tmp;
-
- if ( arg->tsmScale < IVAS_TIME_SCALE_MIN || arg->tsmScale > IVAS_TIME_SCALE_MAX )
- {
- fprintf( stderr, "Error: Scaling factor value must be IVAS_TIME_SCALE_MIN <= fac <= IVAS_TIME_SCALE_MAX!\n\n" );
- usage_dec();
- return false;
- }
- }
- }
-#endif
-#endif /* #ifdef DEBUGGING */
else if ( strcmp( argv_to_upper, "-MIME" ) == 0 )
{
@@ -1657,15 +1344,12 @@ static bool parseCmdlIVAS_dec(
}
i++;
}
-#ifdef FIX_1419_MONO_STEREO_UMX
else if ( strcmp( argv_to_upper, "-EVS" ) == 0 )
{
arg->evsMode = true;
arg->decMode = IVAS_DEC_MODE_EVS;
i++;
}
-#endif
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
else if ( strcmp( argv_to_upper, "-ROOM_SIZE" ) == 0 )
{
i++;
@@ -1703,7 +1387,6 @@ static bool parseCmdlIVAS_dec(
}
i++;
}
-#endif
/*-----------------------------------------------------------------*
* Option not recognized
@@ -1754,14 +1437,12 @@ static bool parseCmdlIVAS_dec(
usage_dec();
return false;
}
-#ifdef FIX_1419_MONO_STEREO_UMX
else if ( arg->non_diegetic_pan_enabled && arg->outputConfig == IVAS_AUDIO_CONFIG_STEREO && arg->evsMode )
{
fprintf( stderr, "Error: Both non-diegetic panning and stereo output specified!\n\n" );
usage_dec();
return false;
}
-#endif
if ( arg->outputMdFilename != NULL && arg->outputConfig != IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_PCM )
{
@@ -1854,9 +1535,7 @@ static bool parseCmdlIVAS_dec(
static void usage_dec( void )
{
fprintf( stdout, "Usage for EVS: IVAS_dec.exe [Options] Fs bitstream_file output_file\n" );
-#ifdef FIX_1419_MONO_STEREO_UMX
fprintf( stdout, " OR usage for IVAS (below) with -evs option and OutputConf\n" );
-#endif
fprintf( stdout, "Usage for IVAS: IVAS_dec.exe [Options] OutputConf Fs bitstream_file output_file\n\n" );
fprintf( stdout, "Mandatory parameters:\n" );
@@ -1873,12 +1552,9 @@ static void usage_dec( void )
fprintf( stdout, "Options:\n" );
fprintf( stdout, "--------\n" );
-#ifdef FIX_1419_MONO_STEREO_UMX
fprintf( stdout, "-evs : Specify that the supplied bitstream is an EVS bitstream\n" );
-#endif
fprintf( stdout, "-VOIP : VoIP mode: RTP in G192\n" );
fprintf( stdout, "-VOIP_hf_only=0 : VoIP mode: EVS RTP Payload Format hf_only=0 in rtpdump\n" );
-#ifdef IVAS_RTPDUMP
fprintf( stdout, "-VOIP_hf_only=1 : VoIP mode: EVS or IVAS RTP Payload Format hf_only=1 in rtpdump\n" );
fprintf( stdout, " The decoder may read rtpdump files containing TS26.445 Annex A.2.2\n" );
fprintf( stdout, " EVS RTP Payload Format or rtpdump files containing TS26.253 Annex A\n" );
@@ -1887,21 +1563,9 @@ static void usage_dec( void )
fprintf( stdout, "-PiDataFile PF Log the timestampped PI data.\n" );
fprintf( stdout, "-ApplyPiData Apply the PI data found in the rtp packet.\n" );
fprintf( stdout, "-rtpOutSR : Split Rendering bitstream RTPDump output \n" );
-#else
- fprintf( stdout, "-VOIP_hf_only=1 : VoIP mode: EVS RTP Payload Format hf_only=1 in rtpdump\n" );
- fprintf( stdout, " The decoder may read rtpdump files containing TS26.445 Annex A.2.2\n" );
- fprintf( stdout, " EVS RTP Payload Format. The SDP parameter hf_only is required.\n" );
- fprintf( stdout, " Reading RFC4867 AMR/AMR-WB RTP payload format is not supported.\n" );
-#endif
#ifdef SUPPORT_JBM_TRACEFILE
fprintf( stdout, "-Tracefile TF : VoIP mode: Generate trace file named TF. Requires -no_delay_cmp to\n" );
fprintf( stdout, " be enabled so that trace contents remain in sync with audio output.\n" );
-#endif
-#ifdef DEBUGGING
-#ifdef VARIABLE_SPEED_DECODING
- fprintf( stdout, "-VS fac : Variable Speed mode: change speed of playout fac as integer in percent.\n" );
- fprintf( stdout, " IVAS_TIME_SCALE_MIN <= fac <= IVAS_TIME_SCALE_MAX; fac<100 faster, fac>100 slower\n" );
-#endif
#endif
fprintf( stdout, "-fr L : render frame size in ms L=(5,10,20), default is 20)\n" );
fprintf( stdout, "-fec_cfg_file : Optimal channel aware configuration computed by the JBM \n" );
@@ -1923,21 +1587,11 @@ static void usage_dec( void )
fprintf( stdout, "-rvf File : Reference vector specified by external trajectory File\n" );
fprintf( stdout, " works only in combination with '-otr ref_vec' and 'ref_vec_lev' modes\n" );
fprintf( stdout, "-render_config File : Renderer configuration File\n" );
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
fprintf( stdout, "-room_size (S|M|L) : Selects default reverb based on a room size (S - small | M - medium | L - large)\n" );
fprintf( stdout, " for BINAURAL_ROOM_REVERB output configuration,\n" );
-#endif
fprintf( stdout, "-om File : Metadata output File for BINAURAL_SPLIT_PCM OutputConf (only for Fs = 48 kHz)\n" );
fprintf( stdout, "-non_diegetic_pan P : panning mono non-diegetic sound to stereo with panning P, -90<= P <=90,\n" );
fprintf( stdout, " left or l or 90->left, right or r or -90->right, center or c or 0->middle\n" );
-#ifdef DEBUGGING
- fprintf( stdout, "-FEC X : Insert frame erasures, X = 0-10 is the percentage\n" );
- fprintf( stdout, " of erased frames, or X may be the name of binary file or \n" );
- fprintf( stdout, " file with G192 headers indicating GOOD FRAME or BAD FRAME\n" );
- fprintf( stdout, " containing FEC pattern (short values of 0 (good) or 1 (bad))\n" );
- fprintf( stdout, " default is OFF, if this option is not used\n" );
- fprintf( stdout, "-force R : Force specific binaural rendering mode, R = (TDREND, CLDFBREND),\n" );
-#endif
fprintf( stdout, "-exof File : External orientation File for external orientation trajectory\n" );
fprintf( stdout, "-dpid ID : Directivity pattern ID(s) = [ID1, ID2, ID3, ID4]. Space-separated list of up\n" );
fprintf( stdout, " to 4 numbers (unsigned integers) can be specified for BINAURAL and BINAURAL_ROOM_REVERB\n" );
@@ -1952,31 +1606,11 @@ static void usage_dec( void )
fprintf( stdout, " Currently, all values default to level 3 (full functionality).\n" );
fprintf( stdout, "-q : Quiet mode, no frame counter\n" );
fprintf( stdout, " default is deactivated\n" );
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
- fprintf( stdout, "-info : specify subfolder name for debug output\n" );
-#endif
-#endif
fprintf( stdout, "\n" );
return;
}
-#ifdef DEBUGGING
-/*---------------------------------------------------------------------*
- * app_own_random()
- *
- * Generator of random numbers
- *---------------------------------------------------------------------*/
-
-static int16_t app_own_random( int16_t *seed )
-{
- *seed = (int16_t) ( *seed * 31821L + 13849L );
-
- return ( *seed );
-}
-#endif
-
/*---------------------------------------------------------------------*
* initOnFirstGoodFrame()
@@ -1999,9 +1633,7 @@ static ivas_error initOnFirstGoodFrame(
IsmFileWriter *ismWriters[IVAS_MAX_NUM_OBJECTS], /* o : */
int16_t *pNumOutChannels, /* o : */
uint16_t *pNumObj, /* o : */
-#ifdef IVAS_RTPDUMP
- IVAS_RTP *srRtp, /* o : */
-#endif
+ IVAS_RTP *srRtp, /* o : */
SplitFileReadWrite **splitRendWriter )
{
int16_t isSplitRend, isSplitCoded;
@@ -2054,23 +1686,12 @@ static ivas_error initOnFirstGoodFrame(
int16_t splitRendIsarFrameSizeMs;
int16_t lc3plusHighRes;
-#ifdef NONBE_FIX_BASOP_2233_RTPDUMP_DIFFERING_BITSTREAMS
/* Ideally ssrc is negotiated via SDP and sequence number is radomized but we
use fixed seed for random num generator for regression based tests. Any realtime
application should implement this initialization seperately */
uint16_t rtpDecSeed = RANDOM_INITSEED_DEC;
uint32_t ssrc = ( (uint32_t) IVAS_RTP_OwnRandom( &rtpDecSeed ) & 0x0000FFFF ) | ( (uint32_t) IVAS_RTP_OwnRandom( &rtpDecSeed ) << 16 );
uint16_t seqNumInitVal = IVAS_RTP_OwnRandom( &rtpDecSeed );
-#else
-#ifdef FIXED_RTP_SEQUENCE_NUM
- /* Ideally ssrc is negotiated via SDP and sequence number is radomized but we
- use fixed seed for random num generator for regression based tests. Any realtime
- application should implement this initialization seperately */
- srand( RANDOM_INITSEED_DEC );
- uint32_t ssrc = ( (uint32_t) rand() & 0x0000FFFF ) | ( (uint32_t) rand() << 16 );
- uint16_t seqNumInitVal = (uint16_t) ( rand() & 0xFFFF );
-#endif
-#endif
if ( ( error = IVAS_DEC_GetDelay( hIvasDec, delayNumSamples_temp, &delayTimeScale_temp ) ) != IVAS_ERR_OK )
{
@@ -2084,7 +1705,6 @@ static ivas_error initOnFirstGoodFrame(
return error;
}
-#ifdef IVAS_RTPDUMP
/* Split Rendering RTPDump Output file */
if ( arg.rtpOutSR && srRtp != NULL )
{
@@ -2097,36 +1717,20 @@ static ivas_error initOnFirstGoodFrame(
fParamsSR = fopen( srParamsFile, "w" );
if ( NULL != fParamsSR )
{
-#ifdef RTP_SR_CODEC_FRAME_SIZE_IN_TOC_BYTE
fprintf( fParamsSR, "DOF = %d;\nLC3PLUS_HIGHRES = %d;\n", poseCorrection, lc3plusHighRes );
-#else
- fprintf( fParamsSR, "CODEC = %s;\nDOF = %d;\nFRAMESIZE = %d;\nRENDERSIZE = %d;\nLC3PLUS_HIGHRES = %d;\n",
- splitRendCodec == ISAR_SPLIT_REND_CODEC_LC3PLUS ? "LC3PLUS" : "LCLD",
- poseCorrection,
- splitRendCodecFrameSizeMs,
- splitRendIsarFrameSizeMs,
- lc3plusHighRes );
-#endif
fclose( fParamsSR );
fParamsSR = NULL;
}
/* Split Rendering RTPDump Output file */
-#ifdef FIXED_RTP_SEQUENCE_NUM
if ( ( error = IVAS_RTP_WRITER_Init( srRtp, arg.outputWavFilename, 1000 / ( IVAS_NUM_FRAMES_PER_SEC * splitRendCodecFrameSizeMs ), ssrc, seqNumInitVal ) ) != IVAS_ERR_OK )
-#else
- if ( ( error = IVAS_RTP_WRITER_Init( srRtp, arg.outputWavFilename, 1000 / ( IVAS_NUM_FRAMES_PER_SEC * splitRendCodecFrameSizeMs ) ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "\nError: Can't open SR output bitstream file for RTP output %s \n\n", arg.outputWavFilename );
return error;
}
}
else if ( isSplitCoded )
-#else
- if ( isSplitCoded )
-#endif
{
if ( ( error = split_rend_writer_open( splitRendWriter, arg.outputWavFilename, delayNumSamples_temp[0], delayTimeScale_temp, splitRendCodec, poseCorrection, splitRendCodecFrameSizeMs, splitRendIsarFrameSizeMs, arg.output_Fs, lc3plusHighRes ) ) != IVAS_ERR_OK )
{
@@ -2160,7 +1764,6 @@ static ivas_error initOnFirstGoodFrame(
}
}
-#ifdef IVAS_RTPDUMP
if ( !arg.rtpOutSR )
{
int16_t pcmFrameSize;
@@ -2180,11 +1783,7 @@ static ivas_error initOnFirstGoodFrame(
for ( int16_t i = 0; i < numInitialBadFrames; ++i )
{
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
if ( isSplitRend )
-#else
- if ( *splitRendWriter != NULL )
-#endif
{
ISAR_SPLIT_REND_BITS_DATA splitRendBitsZero;
splitRendBitsZero.bits_buf = NULL;
@@ -2203,11 +1802,7 @@ static ivas_error initOnFirstGoodFrame(
}
}
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
if ( !isSplitCoded )
-#else
- else
-#endif
{
if ( *pRemainingDelayNumSamples < *numOutSamples )
{
@@ -2227,72 +1822,6 @@ static ivas_error initOnFirstGoodFrame(
free( zeroBuf );
}
-#else
- int16_t pcmFrameSize;
- if ( ( error = IVAS_DEC_GetOutputBufferSize( hIvasDec, &pcmFrameSize ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nError in IVAS_DEC_GetOutputBufferSize, error code: %d\n", error );
- return error;
- }
-
- /* Write zeros to the output audio buffer */
- int16_t *zeroBuf = calloc( pcmFrameSize, sizeof( int16_t ) );
- if ( zeroBuf == NULL )
- {
- fprintf( stdout, "Error: Unable to allocate memory for output buffer.\n" );
- return IVAS_ERR_FAILED_ALLOC;
- }
-
- for ( int16_t i = 0; i < numInitialBadFrames; ++i )
- {
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
- if ( isSplitRend )
-#else
- if ( *splitRendWriter != NULL )
-#endif
- {
- ISAR_SPLIT_REND_BITS_DATA splitRendBitsZero;
- splitRendBitsZero.bits_buf = NULL;
- splitRendBitsZero.bits_read = 0;
- splitRendBitsZero.bits_written = 0;
- splitRendBitsZero.buf_len = 0;
- splitRendBitsZero.codec = ISAR_SPLIT_REND_CODEC_DEFAULT;
- splitRendBitsZero.pose_correction = ISAR_SPLIT_REND_POSE_CORRECTION_MODE_NONE;
- splitRendBitsZero.codec_frame_size_ms = 0;
- splitRendBitsZero.isar_frame_size_ms = 20;
-
- if ( split_rend_write_bitstream_to_file( *splitRendWriter, splitRendBitsZero.bits_buf, &splitRendBitsZero.bits_read, &splitRendBitsZero.bits_written ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nUnable to write to bitstream file!\n" );
- return error;
- }
- }
-
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
- if ( !isSplitCoded )
-#else
- else
-#endif
- {
- if ( *pRemainingDelayNumSamples < *numOutSamples )
- {
- if ( ( error = AudioFileWriter_write( *ppAfWriter, zeroBuf, *numOutSamples * *pNumOutChannels - ( *pRemainingDelayNumSamples * *pNumOutChannels ) ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nOutput audio file writer error\n" );
- return error;
- }
- *pRemainingDelayNumSamples = 0;
- }
- else
- {
- *pRemainingDelayNumSamples -= *numOutSamples;
- }
- }
- }
-
- free( zeroBuf );
-
-#endif
/* Open other output files if EXT output config - now details about ISM or MASA are known */
if ( arg.outputConfig == IVAS_AUDIO_CONFIG_EXTERNAL )
@@ -2386,11 +1915,7 @@ static ivas_error initOnFirstGoodFrame(
}
}
-#ifdef IVAS_RTPDUMP
if ( arg.rtpOutSR || *splitRendWriter != NULL )
-#else
- if ( *splitRendWriter != NULL )
-#endif
{
if ( numOutSamples == NULL || vec_pos_len == NULL )
{
@@ -2438,9 +1963,6 @@ static ivas_error decodeG192(
uint16_t bit_stream[IVAS_MAX_BITS_PER_FRAME + 4 * 8];
int16_t i, num_bits;
int16_t bfi = 0;
-#ifdef DEBUGGING
- int16_t fec_seed = 12558; /* FEC_SEED */
-#endif
AudioFileWriter *afWriter = NULL;
MasaFileWriter *masaWriter = NULL;
bool decodedGoodFrame = false;
@@ -2456,42 +1978,23 @@ static ivas_error decodeG192(
uint16_t nSamplesAvailableNext;
bool needNewFrame;
int16_t nSamplesRendered, nSamplesRendered_loop, nSamplesToRender;
-#ifdef DEBUGGING
-#ifdef VARIABLE_SPEED_DECODING
- TsmScaleFileReader *tsmScaleFileReader = NULL;
- int16_t scale;
-#endif
-#endif
IsmFileWriter *ismWriters[IVAS_MAX_NUM_OBJECTS];
IVAS_VECTOR3 Pos[IVAS_MAX_PARAM_SPATIAL_SUBFRAMES] = { { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 } };
int16_t vec_pos_update, vec_pos_len;
SplitFileReadWrite *splitRendWriter = NULL;
int16_t isSplitRend, isSplitCoded;
-#ifdef VARIABLE_SPEED_DECODING
- if ( arg.tsmEnabled )
- {
- if ( ( error = IVAS_DEC_EnableTsm( hIvasDec ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nError in IVAS_DEC_EnableTsm, code: %d\n", error );
- return error;
- }
- }
-
-#endif
if ( ( error = IVAS_DEC_is_split_rendering_enabled( hIvasDec, &isSplitRend ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "\nError in IVAS_DEC_is_split_rendering_enabled, code: %d\n", error );
return error;
}
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
if ( !isSplitRend )
{
/* Ensure split rendering output struct is not used when not outputting to a split rendering output configuration */
splitRendBits = NULL;
}
-#endif
if ( ( error = IVAS_DEC_is_split_rendering_coded_out( hIvasDec, &isSplitCoded ) ) != IVAS_ERR_OK )
{
@@ -2562,42 +2065,6 @@ static ivas_error decodeG192(
return error;
}
-#ifdef DEBUGGING
-#ifdef VARIABLE_SPEED_DECODING
- /*------------------------------------------------------------------------------------------*
- * Open TSM scale file or set global TSM scale
- *------------------------------------------------------------------------------------------*/
-
- if ( arg.tsmEnabled )
- {
- if ( arg.tsmScaleFileEnabled )
- {
- if ( ( tsmScaleFileReader = TsmScaleFileReader_open( arg.tsmScaleFileName ) ) == NULL )
- {
- fprintf( stderr, "\nError: Can't open TSM scale file %s \n\n", arg.tsmScaleFileName );
- goto cleanup;
- }
- }
- else
- {
- int16_t maxScaling;
- /* max scaling as abs diff to the normal frame size in samples */
- maxScaling = (int16_t) ceilf( (float) abs( arg.tsmScale - 100 ) / 100.0f * (float) ( nOutSamples * vec_pos_len ) );
- if ( ( error = IVAS_DEC_VoIP_SetScale( hIvasDec, maxScaling, arg.tsmScale ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nIVAS_DEC_VoIP_SetScale failed: %s \n", IVAS_DEC_GetErrorMessage( error ) );
- goto cleanup;
- }
- }
- /* set lowest possbile TSM quality to make sure it is applied as much as possible */
- if ( ( error = IVAS_DEC_TSM_SetQuality( hIvasDec, -2.0f ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nIVAS_DEC_TSM_SetQuality failed: %s \n", IVAS_DEC_GetErrorMessage( error ) );
- goto cleanup;
- }
- }
-#endif
-#endif
/*------------------------------------------------------------------------------------------*
* Loop for every packet (frame) of bitstream data
@@ -2754,26 +2221,6 @@ static ivas_error decodeG192(
}
}
}
-#ifdef DEBUGGING
-#ifdef VARIABLE_SPEED_DECODING
- if ( arg.tsmScaleFileEnabled )
- {
- if ( ( error = TsmScaleFileReader_readScale( tsmScaleFileReader, &scale ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nError (%s) when reading TSM data from %s \n\n", arg.inputBitstreamFilename, TsmScaleFileReader_getFilePath( tsmScaleFileReader ) );
- goto cleanup;
- }
- int16_t maxScaling;
- /* max scaling as abs diff to the normal frame size in samples */
- maxScaling = (int16_t) ceilf( (float) abs( arg.tsmScale - 100 ) / 100.0f * (float) ( nOutSamples * vec_pos_len ) );
- if ( ( error = IVAS_DEC_VoIP_SetScale( hIvasDec, maxScaling, arg.tsmScale ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nIVAS_DEC_VoIP_SetScale failed: %s \n", IVAS_DEC_GetErrorMessage( error ) );
- goto cleanup;
- }
- }
-#endif
-#endif
if ( ( error = BS_Reader_ReadFrame_short( hBsReader, bit_stream, &num_bits, &bfi ) ) != IVAS_ERR_OK )
{
if ( error == IVAS_ERR_END_OF_FILE )
@@ -2784,21 +2231,6 @@ static ivas_error decodeG192(
goto cleanup;
}
-#ifdef DEBUGGING
- /* Random FEC simulation */
- if ( arg.FER > 0.0f )
- {
- float ftmp = (float) app_own_random( &fec_seed ) + 32768.0f;
- if ( ftmp <= arg.FER / 100.0f * 65535.0f )
- {
- bfi = 1;
- }
- else
- {
- bfi = 0;
- }
- }
-#endif
/* Feed into decoder and decode transport channels */
if ( ( error = IVAS_DEC_FeedFrame_Serial( hIvasDec, bit_stream, num_bits, bfi ) ) != IVAS_ERR_OK )
{
@@ -2828,11 +2260,7 @@ static ivas_error decodeG192(
}
/* decode transport channels, do TSM and feed to renderer */
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
if ( ( error = IVAS_DEC_GetSamplesDecoder( hIvasDec, splitRendBits ) ) != IVAS_ERR_OK )
-#else
- if ( ( error = IVAS_DEC_GetSamplesDecoder( hIvasDec, isSplitRend, splitRendBits ) ) != IVAS_ERR_OK )
-#endif
{
return error;
}
@@ -2907,12 +2335,6 @@ static ivas_error decodeG192(
if ( !arg.quietModeEnabled )
{
fprintf( stdout, "%-8d\b\b\b\b\b\b\b\b", frame );
-#ifdef DEBUGGING
- if ( IVAS_DEC_GetBerDetectFlag( hIvasDec ) )
- {
- fprintf( stdout, "\n Decoding error: BER detected in frame %d !!!!!\n", frame - 1 );
- }
-#endif
}
}
} while ( nSamplesRendered < nOutSamples && error == IVAS_ERR_OK );
@@ -2934,11 +2356,7 @@ static ivas_error decodeG192(
/* Once good frame decoded, catch up */
if ( decodedGoodFrame )
{
-#ifdef IVAS_RTPDUMP
if ( ( error = initOnFirstGoodFrame( hIvasDec, arg, numInitialBadFrames, &nOutSamples, &vec_pos_len, delayNumSamples_orig, &delayNumSamples, &delayTimeScale, &bsFormat, &afWriter, &masaWriter, ismWriters, &nOutChannels, &numObj, NULL, &splitRendWriter ) ) != IVAS_ERR_OK )
-#else
- if ( ( error = initOnFirstGoodFrame( hIvasDec, arg, numInitialBadFrames, &nOutSamples, &vec_pos_len, delayNumSamples_orig, &delayNumSamples, &delayTimeScale, &bsFormat, &afWriter, &masaWriter, ismWriters, &nOutChannels, &numObj, &splitRendWriter ) ) != IVAS_ERR_OK )
-#endif
{
goto cleanup;
}
@@ -3176,12 +2594,6 @@ static ivas_error decodeG192(
if ( !arg.quietModeEnabled )
{
fprintf( stdout, "%-8d\b\b\b\b\b\b\b\b", frame );
-#ifdef DEBUGGING
- if ( IVAS_DEC_GetBerDetectFlag( hIvasDec ) )
- {
- fprintf( stdout, "\n Decoding error: BER detected in frame %d !!!!!\n", frame - 1 );
- }
-#endif
}
}
@@ -3245,11 +2657,6 @@ cleanup:
split_rend_reader_writer_close( &splitRendWriter );
AudioFileWriter_close( &afWriter );
MasaFileWriter_close( &masaWriter );
-#ifdef DEBUGGING
-#ifdef VARIABLE_SPEED_DECODING
- TsmScaleFileReader_close( &tsmScaleFileReader );
-#endif
-#endif
for ( i = 0; i < IVAS_MAX_NUM_OBJECTS; i++ )
{
IsmFileWriter_close( &ismWriters[i] );
@@ -3263,145 +2670,6 @@ cleanup:
return error;
}
-#ifdef DEBUGGING
-/*---------------------------------------------------------------------*
- * printBitstreamInfoVoip()
- *
- * Print bitstream info of a VoIP G.192 or RTPDUMP bitstream.
- *---------------------------------------------------------------------*/
-
-static ivas_error printBitstreamInfoVoip(
- DecArguments arg,
- BS_READER_HANDLE hBsReader,
- IVAS_DEC_HANDLE hIvasDec )
-{
- bool previewFailed = true;
- ivas_error error = IVAS_ERR_OK;
-#ifdef IVAS_RTPDUMP
- IVAS_RTP ivasRtp;
- uint8_t au[( IVAS_MAX_BITS_PER_FRAME + 7 ) >> 3];
- int16_t auSizeBits;
- uint8_t *auPtr = NULL;
-#else
- FILE *f_rtpstream = NULL;
- EVS_RTPDUMP_DEPACKER rtpdumpDepacker;
- EVS_RTPDUMP_DEPACKER_ERROR rtpdumpDepackerError = EVS_RTPDUMP_DEPACKER_NO_ERROR;
- bool isAMRWB_IOmode;
- uint16_t frameTypeIndex;
- uint8_t au[( IVAS_MAX_BITS_PER_FRAME + 7 ) >> 3];
- int16_t auSizeBits;
- uint8_t *auPtr = NULL;
-#endif
- bool qBit;
- uint32_t nextPacketRcvTime_ms = 0;
- uint16_t rtpSequenceNumber;
- uint32_t rtpTimeStamp;
-
-#ifndef IVAS_RTPDUMP
- rtpdumpDepacker.rtpdump = NULL;
-#endif
- switch ( arg.inputFormat )
- {
- case IVAS_DEC_INPUT_FORMAT_RTPDUMP:
- case IVAS_DEC_INPUT_FORMAT_RTPDUMP_HF:
-#ifdef IVAS_RTPDUMP
-#ifndef RTP_SR_CODEC_FRAME_SIZE_IN_TOC_BYTE
-#ifdef RTP_S4_251135_CR26253_0016_REV1
- if ( ( error = IVAS_RTP_READER_Init( &ivasRtp, 0, arg.inputBitstreamFilename, arg.piOutputFilename, arg.outputConfig == IVAS_AUDIO_CONFIG_EXTERNAL, arg.outputWavFilename ) ) != IVAS_ERR_OK )
-#endif
-#else
- if ( ( error = IVAS_RTP_READER_Init( &ivasRtp, arg.inputBitstreamFilename, arg.piOutputFilename, arg.outputConfig == IVAS_AUDIO_CONFIG_EXTERNAL, arg.outputWavFilename ) ) != IVAS_ERR_OK )
-#endif
- {
- fprintf( stderr, "error in IVAS_RTP_READER_Init(): %d\n", error );
- goto cleanup;
- }
-#else
- f_rtpstream = fopen( arg.inputBitstreamFilename, "r" );
-
- if ( f_rtpstream == NULL )
- {
- fprintf( stderr, "could not open: %s\n", arg.inputBitstreamFilename );
- goto cleanup;
- }
-
- rtpdumpDepackerError = EVS_RTPDUMP_DEPACKER_open( &rtpdumpDepacker, f_rtpstream, arg.inputFormat == IVAS_DEC_INPUT_FORMAT_RTPDUMP_HF );
- if ( rtpdumpDepackerError != EVS_RTPDUMP_DEPACKER_NO_ERROR )
- {
- fprintf( stderr, "error in EVS_RTPDUMP_DEPACKER_open(): %d\n", rtpdumpDepackerError );
- goto cleanup;
- }
-#endif
- break;
- case IVAS_DEC_INPUT_FORMAT_G192:
- auPtr = au;
- break;
- default:
- fprintf( stderr, "Unsupported format of input bitstream" );
- goto cleanup;
- }
-
- /* Keep reading until full frame is found */
- do
- {
- if ( arg.inputFormat == IVAS_DEC_INPUT_FORMAT_G192 )
- {
- error = BS_Reader_ReadVoipFrame_compact( hBsReader, au, &auSizeBits, &rtpSequenceNumber, &rtpTimeStamp, &nextPacketRcvTime_ms );
- qBit = 1; /* good q_bit for INPUT_FORMAT_G192 */
- }
- else
- {
- auPtr = au; /* might have been set to RTP packet in prev call */
-#ifdef IVAS_RTPDUMP
-#ifdef RTP_S4_251135_CR26253_0016_REV1
- error = IVAS_RTP_ReadNextFrame( &ivasRtp, auPtr, &auSizeBits, &rtpTimeStamp, &rtpSequenceNumber, &nextPacketRcvTime_ms, NULL, &qBit );
-#else
- error = IVAS_RTP_ReadNextFrame( &ivasRtp, auPtr, &auSizeBits, &rtpTimeStamp, &rtpSequenceNumber, &nextPacketRcvTime_ms, &qBit );
-#endif
-#else
- rtpdumpDepackerError = EVS_RTPDUMP_DEPACKER_readNextFrame( &rtpdumpDepacker, &rtpSequenceNumber, &rtpTimeStamp, &nextPacketRcvTime_ms, &isAMRWB_IOmode, &frameTypeIndex, &qBit, &auPtr, (uint16_t *) &auSizeBits );
-#endif
-
- /* EVS RTP payload format has timescale 16000, JBM uses 1000 internally */
- rtpTimeStamp = rtpTimeStamp / 16;
- }
-#ifdef IVAS_RTPDUMP
- if ( error != IVAS_ERR_OK )
-#else
- if ( error != IVAS_ERR_OK || rtpdumpDepackerError != EVS_RTPDUMP_DEPACKER_NO_ERROR )
-#endif
- {
- fprintf( stderr, "failed to read first RTP packet\n" );
- goto cleanup;
- }
- } while ( !qBit || auSizeBits < MIN_NUM_BITS_ACTIVE_FRAME || auSizeBits == NUM_BITS_SID_IVAS_5K2 );
-
- BS_Reader_Rewind( hBsReader );
-
- IVAS_DEC_PrintConfigWithVoipBitstream( hIvasDec, arg.quietModeEnabled, au, auSizeBits );
-
- /*------------------------------------------------------------------------------------------*
- * Close fhandles and deallocate resources
- *------------------------------------------------------------------------------------------*/
-
- previewFailed = false; /* This will stay set to true if cleanup is reached via a goto due to an error */
-
-cleanup:
-
-#ifdef IVAS_RTPDUMP
- IVAS_RTP_Term( &ivasRtp );
-#else
- EVS_RTPDUMP_DEPACKER_close( &rtpdumpDepacker );
-#endif
-
- if ( previewFailed && error == IVAS_ERR_OK )
- {
- return IVAS_ERR_UNKNOWN;
- }
-
- return IVAS_ERR_OK;
-}
-#endif
#ifdef SUPPORT_JBM_TRACEFILE
static ivas_error writeJbmTraceFileFrameWrapper( const void *data, void *writer )
@@ -3426,17 +2694,9 @@ static ivas_error decodeVoIP(
RotFileReader *refRotReader,
Vector3PairFileReader *referenceVectorReader,
ObjectEditFileReader *objectEditFileReader,
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
ISAR_SPLIT_REND_BITS_DATA *splitRendBits,
-#endif
-#ifdef FIX_SPLIT_RENDERING_ON_DECODER_RESTART
IVAS_RENDER_CONFIG_DATA *renderConfig,
-#endif
-#ifdef DECODER_FORMAT_SWITCHING
IVAS_DEC_HANDLE *phIvasDec,
-#else
- IVAS_DEC_HANDLE hIvasDec,
-#endif
int16_t *pcmBuf )
{
bool decodingFailed = true; /* Assume failure until cleanup is reached without errors */
@@ -3468,29 +2728,13 @@ static ivas_error decodeVoIP(
int16_t delayNumSamples = -1;
int32_t delayTimeScale = -1;
int16_t i;
-#ifdef DECODER_FORMAT_SWITCHING
IVAS_DEC_HANDLE hIvasDec = *phIvasDec;
bool restartNeeded;
-#endif
-#ifdef IVAS_RTPDUMP
IVAS_RTP ivasRtp = { 0 };
IVAS_RTP srRtp = { 0 };
-#ifdef RTP_SR_CODEC_FRAME_SIZE_IN_TOC_BYTE
IVAS_RTP_SR_INFO srInfo = { true, false, 0, 20, IVAS_SR_TRANSPORT_LCLD };
-#else
- IVAS_RTP_SR_INFO srInfo = { true, false, 0, IVAS_SR_TRANSPORT_LCLD };
-#endif
int32_t initialTsOffsetSystemAndRTP = 0;
-#else
- FILE *f_rtpstream = NULL;
- EVS_RTPDUMP_DEPACKER rtpdumpDepacker;
- EVS_RTPDUMP_DEPACKER_ERROR rtpdumpDepackerError = EVS_RTPDUMP_DEPACKER_NO_ERROR;
-#endif
uint8_t *auPtr = NULL;
-#ifndef IVAS_RTPDUMP
- bool isAMRWB_IOmode;
- uint16_t frameTypeIndex;
-#endif
bool qBit;
IVAS_DEC_BS_FORMAT bsFormat = IVAS_DEC_BS_UNKOWN;
@@ -3504,7 +2748,6 @@ static ivas_error decodeVoIP(
bool parametersAvailableForEditing = false;
uint16_t nSamplesRendered = 0;
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
SplitFileReadWrite *splitRendWriter = NULL;
int16_t isSplitRend, isSplitCoded;
@@ -3525,7 +2768,6 @@ static ivas_error decodeVoIP(
fprintf( stderr, "\nError in IVAS_DEC_is_split_rendering_coded_out, code: %d\n", error );
return error;
}
-#endif
vec_pos_update = 0;
if ( ( error = IVAS_DEC_GetRenderFramesizeMs( hIvasDec, &systemTimeInc_ms ) ) != IVAS_ERR_OK )
@@ -3551,41 +2793,15 @@ static ivas_error decodeVoIP(
delayNumSamples_orig[0] = -1;
-#ifndef IVAS_RTPDUMP
- rtpdumpDepacker.rtpdump = NULL;
-#endif
switch ( arg.inputFormat )
{
case IVAS_DEC_INPUT_FORMAT_RTPDUMP:
case IVAS_DEC_INPUT_FORMAT_RTPDUMP_HF:
-#ifdef IVAS_RTPDUMP
-#ifndef RTP_SR_CODEC_FRAME_SIZE_IN_TOC_BYTE
-#ifdef RTP_S4_251135_CR26253_0016_REV1
- if ( ( error = IVAS_RTP_READER_Init( &ivasRtp, 0, arg.inputBitstreamFilename, arg.piOutputFilename, arg.outputConfig == IVAS_AUDIO_CONFIG_EXTERNAL, arg.outputWavFilename ) ) != IVAS_ERR_OK )
-#endif
-#else
if ( ( error = IVAS_RTP_READER_Init( &ivasRtp, arg.inputBitstreamFilename, arg.piOutputFilename, arg.outputConfig == IVAS_AUDIO_CONFIG_EXTERNAL, arg.outputWavFilename ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "error in IVAS_RTP_READER_Init(): %d\n", error );
goto cleanup;
}
-#else
- f_rtpstream = fopen( arg.inputBitstreamFilename, "r" );
-
- if ( f_rtpstream == NULL )
- {
- fprintf( stderr, "could not open: %s\n", arg.inputBitstreamFilename );
- goto cleanup;
- }
-
- rtpdumpDepackerError = EVS_RTPDUMP_DEPACKER_open( &rtpdumpDepacker, f_rtpstream, arg.inputFormat == IVAS_DEC_INPUT_FORMAT_RTPDUMP_HF );
- if ( rtpdumpDepackerError != EVS_RTPDUMP_DEPACKER_NO_ERROR )
- {
- fprintf( stderr, "error in EVS_RTPDUMP_DEPACKER_open(): %d\n", rtpdumpDepackerError );
- goto cleanup;
- }
-#endif
break;
case IVAS_DEC_INPUT_FORMAT_G192:
auPtr = au;
@@ -3627,25 +2843,13 @@ static ivas_error decodeVoIP(
else
{
auPtr = au; /* might have been set to RTP packet in prev call */
-#ifdef IVAS_RTPDUMP
-#ifdef RTP_S4_251135_CR26253_0016_REV1
error = IVAS_RTP_ReadNextFrame( &ivasRtp, auPtr, &auSize, &rtpTimeStamp, &rtpSequenceNumber, &nextPacketRcvTime_ms, NULL, &qBit );
-#else
- error = IVAS_RTP_ReadNextFrame( &ivasRtp, auPtr, &auSize, &rtpTimeStamp, &rtpSequenceNumber, &nextPacketRcvTime_ms, &qBit );
-#endif
initialTsOffsetSystemAndRTP = rtpTimeStamp - systemTime_ms * 16; /* For time mapping */
-#else
- rtpdumpDepackerError = EVS_RTPDUMP_DEPACKER_readNextFrame( &rtpdumpDepacker, &rtpSequenceNumber, &rtpTimeStamp, &nextPacketRcvTime_ms, &isAMRWB_IOmode, &frameTypeIndex, &qBit, &auPtr, (uint16_t *) &auSize );
-#endif
/* EVS RTP payload format has timescale 16000, JBM uses 1000 internally */
rtpTimeStamp = rtpTimeStamp / 16;
}
-#ifdef IVAS_RTPDUMP
if ( error != IVAS_ERR_OK )
-#else
- if ( error != IVAS_ERR_OK || rtpdumpDepackerError != EVS_RTPDUMP_DEPACKER_NO_ERROR )
-#endif
{
fprintf( stderr, "failed to read first RTP packet\n" );
goto cleanup;
@@ -3674,7 +2878,6 @@ static ivas_error decodeVoIP(
{
nSamplesRendered = 0;
-#ifdef DECODER_FORMAT_SWITCHING
/* restart decoder in case of format switching */
if ( ivasRtp.restartNeeded )
{
@@ -3683,11 +2886,7 @@ static ivas_error decodeVoIP(
&hIvasDec,
newDecModeInPacket,
&arg,
-#ifdef FIX_SPLIT_RENDERING_ON_DECODER_RESTART
renderConfig,
-#else
- NULL, /* ToDo : Provide rendererConfig */
-#endif
NULL /* ToDo : Provide LS Custom Data */
) ) != IVAS_ERR_OK )
{
@@ -3698,7 +2897,6 @@ static ivas_error decodeVoIP(
*phIvasDec = hIvasDec; /* Update for main()' s free */
ivasRtp.restartNeeded = false;
}
-#endif
/* reference vector */
if ( arg.enableReferenceVectorTracking && vec_pos_update == 0 )
@@ -3841,38 +3039,17 @@ static ivas_error decodeVoIP(
else
{
auPtr = au; /* might have been set to RTP packet in prev call */
-#ifdef IVAS_RTPDUMP
-#ifdef RTP_S4_251135_CR26253_0016_REV1
error = IVAS_RTP_ReadNextFrame( &ivasRtp, au, &auSize, &rtpTimeStamp, &rtpSequenceNumber, &nextPacketRcvTime_ms, NULL, &qBit );
-#else
- error = IVAS_RTP_ReadNextFrame( &ivasRtp, au, &auSize, &rtpTimeStamp, &rtpSequenceNumber, &nextPacketRcvTime_ms, &qBit );
-#endif
/* IVAS RTP payload format has timescale 16000, JBM uses 1000 internally */
rtpTimeStamp = rtpTimeStamp / 16;
-#else
- rtpdumpDepackerError = EVS_RTPDUMP_DEPACKER_readNextFrame( &rtpdumpDepacker, &rtpSequenceNumber, &rtpTimeStamp,
- &nextPacketRcvTime_ms,
- &isAMRWB_IOmode, &frameTypeIndex, &qBit,
- &auPtr, (uint16_t *) &auSize );
- /* EVS RTP payload format has timescale 16000, JBM uses 1000 internally */
- rtpTimeStamp = rtpTimeStamp / 16;
-#endif
}
-#ifdef IVAS_RTPDUMP
if ( error == IVAS_ERR_END_OF_FILE )
-#else
- if ( error == IVAS_ERR_END_OF_FILE || rtpdumpDepackerError == EVS_RTPDUMP_DEPACKER_EOF )
-#endif
{
/* finished reading */
nextPacketRcvTime_ms = (uint32_t) -1;
}
-#ifdef IVAS_RTPDUMP
else if ( error != IVAS_ERR_OK )
-#else
- else if ( error != IVAS_ERR_OK || rtpdumpDepackerError != EVS_RTPDUMP_DEPACKER_NO_ERROR )
-#endif
{
fprintf( stderr, "\nError in BS_Reader_ReadVoipFrame_compact, error code: %d\n", error );
goto cleanup;
@@ -3896,7 +3073,6 @@ static ivas_error decodeVoIP(
/* decode and get samples */
while ( nSamplesRendered < nOutSamples )
{
-#ifdef IVAS_RTPDUMP
if ( arg.applyPiData )
{
/* Rudimentry Time Mapping to map system time to rtp timestamp */
@@ -3917,8 +3093,6 @@ static ivas_error decodeVoIP(
ivasRtp.nProcPiData += numPiData;
}
-#endif
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
if ( isSplitRend )
{
#ifdef SUPPORT_JBM_TRACEFILE
@@ -3933,19 +3107,16 @@ static ivas_error decodeVoIP(
}
else
{
-#endif
#ifdef SUPPORT_JBM_TRACEFILE
if ( ( error = IVAS_DEC_VoIP_GetSamples( hIvasDec, nOutSamples, IVAS_DEC_PCM_INT16, (void *) pcmBuf, writeJbmTraceFileFrameWrapper, jbmTraceWriter, &bitstreamReadDone, &nSamplesRendered, ¶metersAvailableForEditing, systemTime_ms ) ) != IVAS_ERR_OK )
#else
- if ( ( error = IVAS_DEC_VoIP_GetSamples( hIvasDec, nOutSamples, IVAS_DEC_PCM_INT16, (void *) pcmBuf, &bitstreamReadDone, &nSamplesRendered, ¶meterAvailableForEditing, systemTime_ms ) ) != IVAS_ERR_OK )
+ if ( ( error = IVAS_DEC_VoIP_GetSamples( hIvasDec, nOutSamples, IVAS_DEC_PCM_INT16, (void *) pcmBuf, &bitstreamReadDone, &nSamplesRendered, ¶meterAvailableForEditing, systemTime_ms ) ) != IVAS_ERR_OK )
#endif
{
fprintf( stderr, "\nError in IVAS_DEC_VoIP_GetSamples: %s\n", IVAS_DEC_GetErrorMessage( error ) );
goto cleanup;
}
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
}
-#endif
if ( bitstreamReadDone == true )
{
@@ -3957,7 +3128,6 @@ static ivas_error decodeVoIP(
return error;
}
-#ifdef DECODER_FORMAT_SWITCHING
/* restart decoder in case of format switching */
if ( ( error = IVAS_DEC_isRestartNeeded( hIvasDec, &restartNeeded ) ) != IVAS_ERR_OK )
{
@@ -3987,7 +3157,6 @@ static ivas_error decodeVoIP(
}
*phIvasDec = hIvasDec; /* Update for main()' s free */
}
-#endif
/* Placeholder for memory reallocation */
/* ... */
@@ -4057,20 +3226,8 @@ static ivas_error decodeVoIP(
/* Once good frame decoded, catch up */
if ( decodedGoodFrame )
{
-#ifndef FIX_1119_SPLIT_RENDERING_VOIP
- SplitFileReadWrite *splitRendWriter = NULL;
-
-#endif
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
if ( ( error = initOnFirstGoodFrame( hIvasDec, arg, numInitialBadFrames, &nOutSamples, &vec_pos_len, delayNumSamples_orig, &delayNumSamples, &delayTimeScale,
-#else
- if ( ( error = initOnFirstGoodFrame( hIvasDec, arg, numInitialBadFrames, &nOutSamples, NULL, delayNumSamples_orig, &delayNumSamples, &delayTimeScale,
-#endif
-#ifdef IVAS_RTPDUMP
&bsFormat, &afWriter, &masaWriter, ismWriters, &nOutChannels, &numObj, &srRtp, &splitRendWriter ) ) != IVAS_ERR_OK )
-#else
- &bsFormat, &afWriter, &masaWriter, ismWriters, &nOutChannels, &numObj, &splitRendWriter ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "Error in initOnFirstGoodFrame(): %s\n", IVAS_DEC_GetErrorMessage( error ) );
goto cleanup;
@@ -4083,13 +3240,8 @@ static ivas_error decodeVoIP(
}
/* Write current frame */
-#ifdef IVAS_RTPDUMP
if ( !srRtp.hPack && decodedGoodFrame )
-#else
- if ( decodedGoodFrame )
-#endif
{
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
if ( isSplitRend )
{
if ( split_rend_write_bitstream_to_file( splitRendWriter, splitRendBits->bits_buf, &splitRendBits->bits_read, &splitRendBits->bits_written ) != IVAS_ERR_OK )
@@ -4101,7 +3253,6 @@ static ivas_error decodeVoIP(
if ( !isSplitCoded )
{
-#endif
if ( delayNumSamples < nOutSamples )
{
if ( ( error = AudioFileWriter_write( afWriter, &pcmBuf[delayNumSamples * nOutChannels], nOutSamples * nOutChannels - ( delayNumSamples * nOutChannels ) ) ) != IVAS_ERR_OK )
@@ -4115,9 +3266,7 @@ static ivas_error decodeVoIP(
{
delayNumSamples -= nOutSamples;
}
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
}
-#endif
/* Write ISM metadata to external file(s) */
if ( decodedGoodFrame && arg.outputConfig == IVAS_AUDIO_CONFIG_EXTERNAL )
@@ -4176,7 +3325,6 @@ static ivas_error decodeVoIP(
IVAS_RTP_WriteExtPiData( ivasRtp.f_piExtOut, ivasRtp.piData, ivasRtp.nReadPiData, numObj );
}
}
-#ifdef IVAS_RTPDUMP
else if ( decodedGoodFrame )
{
srInfo.bitrateKbps = splitRendBits->bits_written * 1000 / splitRendBits->codec_frame_size_ms;
@@ -4190,7 +3338,6 @@ static ivas_error decodeVoIP(
splitRendBits->bits_written = 0;
splitRendBits->bits_read = 0;
}
-#endif
vec_pos_update = ( vec_pos_update + 1 ) % vec_pos_len;
if ( vec_pos_update == 0 )
@@ -4223,11 +3370,7 @@ static ivas_error decodeVoIP(
goto cleanup;
}
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
if ( nSamplesFlushed && !isSplitCoded )
-#else
- if ( nSamplesFlushed )
-#endif
{
/* Write current frame */
if ( ( error = AudioFileWriter_write( afWriter, pcmBuf, nSamplesFlushed * nOutChannels ) ) != IVAS_ERR_OK )
@@ -4300,18 +3443,14 @@ static ivas_error decodeVoIP(
memset( pcmBuf, 0, delayNumSamples_orig[0] * nOutChannels * sizeof( int16_t ) );
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
if ( afWriter != NULL )
{
-#endif
if ( ( error = AudioFileWriter_write( afWriter, pcmBuf, delayNumSamples_orig[0] * nOutChannels ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "\nError writing output file: %s\n", ivas_error_to_string( error ) );
goto cleanup;
}
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
}
-#endif
/*------------------------------------------------------------------------------------------*
* Printouts after decoding has finished
@@ -4356,16 +3495,10 @@ static ivas_error decodeVoIP(
cleanup:
-#ifdef IVAS_RTPDUMP
IVAS_RTP_Term( &srRtp );
IVAS_RTP_Term( &ivasRtp );
-#else
- EVS_RTPDUMP_DEPACKER_close( &rtpdumpDepacker );
-#endif
AudioFileWriter_close( &afWriter );
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
split_rend_reader_writer_close( &splitRendWriter );
-#endif
JbmOffsetFileWriter_close( &jbmOffsetWriter );
#ifdef SUPPORT_JBM_TRACEFILE
JbmTraceFileWriter_close( &jbmTraceWriter );
@@ -4448,7 +3581,6 @@ static void do_object_editing(
editableParameters->ism_metadata[obj_idx].elevation = readInfo->obj_ele[obj_idx];
}
}
-#ifdef FIX_1427_OBJ_EDITING_EXT_METADATA
/* object direction editing only for diegetic objects */
if ( readInfo->obj_yaw_edited[obj_idx] )
{
@@ -4487,7 +3619,6 @@ static void do_object_editing(
editableParameters->ism_metadata[obj_idx].radius = readInfo->obj_radius[obj_idx];
}
}
-#endif
}
/* gain editing for all objects */
@@ -4709,7 +3840,6 @@ static ivas_error load_hrtf_from_file(
return IVAS_ERR_OK;
}
-#ifdef DECODER_FORMAT_SWITCHING
/*---------------------------------------------------------------------*
* restartDecoder()
@@ -4750,15 +3880,9 @@ static ivas_error restartDecoder(
uint16_t aeID = arg->aeSequence.count > 0 ? arg->aeSequence.pID[0] : 65535;
IVAS_AUDIO_CONFIG outputConfig = ( decMode == IVAS_DEC_MODE_IVAS ) ? arg->outputConfig : IVAS_AUDIO_CONFIG_MONO;
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
if ( ( error = IVAS_DEC_Configure( hIvasDec, arg->output_Fs, outputConfig, arg->renderFramesize, arg->customLsOutputEnabled, arg->hrtfReaderEnabled,
arg->enableHeadRotation, arg->enableExternalOrientation, arg->orientation_tracking, arg->renderConfigEnabled, arg->roomSize, arg->non_diegetic_pan_enabled,
arg->non_diegetic_pan_gain, arg->dpidEnabled, aeID, arg->objEditEnabled, arg->delayCompensationEnabled ) ) != IVAS_ERR_OK )
-#else
- if ( ( error = IVAS_DEC_Configure( hIvasDec, arg->output_Fs, outputConfig, arg->renderFramesize, arg->customLsOutputEnabled, arg->hrtfReaderEnabled,
- arg->enableHeadRotation, arg->enableExternalOrientation, arg->orientation_tracking, arg->renderConfigEnabled, arg->non_diegetic_pan_enabled,
- arg->non_diegetic_pan_gain, arg->dpidEnabled, aeID, arg->objEditEnabled, arg->delayCompensationEnabled ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "\nConfigure failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
goto cleanup;
@@ -4770,24 +3894,6 @@ static ivas_error restartDecoder(
goto cleanup;
}
-#ifndef FIX_SPLIT_RENDERING_ON_DECODER_RESTART
- if ( arg->outputConfig == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_CODED || arg->outputConfig == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_PCM )
- {
- if ( ( error = IVAS_DEC_EnableSplitRendering( hIvasDec ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nSplit rendering configure failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
- goto cleanup;
- }
-
- if ( ( error = IVAS_DEC_GetRenderFramesize( hIvasDec, &arg->renderFramesize ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nConfigure failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
- goto cleanup;
- }
-
- arg->enableHeadRotation = true;
- }
-#endif
if ( arg->voipMode )
{
@@ -4804,14 +3910,12 @@ static ivas_error restartDecoder(
goto cleanup;
}
-#ifdef FIX_SPLIT_RENDERING_ON_DECODER_RESTART
/* ISAR frame size is set from command line, not renderer config file.
* This will be ignored if output format is not split rendering. */
if ( renderConfig != NULL )
{
renderConfig->split_rend_config.isar_frame_size_ms = (int16_t) arg->renderFramesize /* given in number of 5ms subframes */ * 5;
}
-#endif
if ( arg->renderConfigEnabled && renderConfig != NULL )
{
@@ -4837,6 +3941,5 @@ cleanup:
IVAS_DEC_Close( phIvasDec );
return error;
}
-#endif
#undef WMC_TOOL_SKIP
diff --git a/apps/encoder.c b/apps/encoder.c
index 2c9c42b462a56e4a5e1d4cd83e08d86f49f9120d..24a3873dc85ee34f621af867a298e82385e38305 100644
--- a/apps/encoder.c
+++ b/apps/encoder.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include "lib_enc.h"
#include
@@ -38,17 +10,9 @@
#include "ism_file_reader.h"
#include "jbm_file_reader.h"
#include "masa_file_reader.h"
-#ifdef IVAS_RTPDUMP
#include "rotation_file_reader.h"
#include "ivas_rtp_file.h"
-#endif
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
-#ifdef FLP_EXCEPTION_TRAP
-#include "flp_debug.h"
-#endif
#define WMC_TOOL_SKIP
@@ -56,18 +20,12 @@
* Local constants, enums
*------------------------------------------------------------------------------------------*/
-#if !defined( DEBUGGING ) && !defined( WMOPS )
+#if !defined( WMOPS )
static
#endif
int32_t frame = 0; /* Counter of frames */
-#ifdef NONBE_FIX_BASOP_2233_RTPDUMP_DIFFERING_BITSTREAMS
#define RANDOM_INITSEED_ENC ( 0xDEAF )
-#else
-#ifdef FIXED_RTP_SEQUENCE_NUM
-#define RANDOM_INITSEED_ENC ( 0xFEEDDEAF )
-#endif
-#endif
#define DEFAULT_FIXED_SID_RATE 8 /* DTX SID rate */
@@ -77,10 +35,6 @@ typedef union _EncInputFormatConfig
/* MONO details */
bool stereoToMonoDownmix;
-#ifdef DEBUGGING
- /* STEREO details */
- IVAS_ENC_STEREO_MODE stereoMode;
-#endif
/* ISM details */
struct EncIsmConfig
@@ -145,27 +99,12 @@ typedef struct
const char *ca_config_file;
bool mimeOutput;
IVAS_ENC_COMPLEXITY_LEVEL complexityLevel;
-#ifdef DEBUGGING
- IVAS_ENC_FORCED_MODE forcedMode;
- const char *forcedModeFile;
-#ifdef DEBUG_AGC_ENCODER_CMD_OPTION
- IVAS_ENC_AGC agc;
-#endif
-#ifdef DEBUG_FOA_AGC
- FILE *agcBitstream; /* temporary */
-#endif
-#ifdef DEBUG_SBA
- const char *dbg_file_tag;
-#endif
-#endif
bool pca;
bool ism_extended_metadata;
-#ifdef IVAS_RTPDUMP
bool rtpdumpOutput;
uint32_t numFramesPerPacket;
char *sceneOrientationTrajFileName;
char *deviceOrientationTrajFileName;
-#endif
} EncArguments;
@@ -178,10 +117,6 @@ static bool parseCmdlIVAS_enc( int16_t argc, char *argv[], EncArguments *arg );
static void usage_enc( void );
static bool readBandwidth( FILE *file, IVAS_ENC_BANDWIDTH *bandwidth, int32_t *bandwidthFrameCounter );
static bool readBitrate( FILE *file, int32_t *bitrate );
-#ifdef DEBUGGING
-static ivas_error readForcedMode( FILE *file, IVAS_ENC_FORCED_MODE *forcedMode, int32_t *forceFrameCounter );
-static IVAS_ENC_FORCED_MODE parseForcedMode( char *forcedModeChar );
-#endif
/*------------------------------------------------------------------------------------------*
@@ -209,52 +144,23 @@ int main(
MasaFileReader *masaReader = NULL;
IsmFileReader *ismReaders[IVAS_MAX_NUM_OBJECTS] = { NULL, NULL, NULL, NULL };
int16_t *pcmBuf = NULL;
-#ifdef IVAS_RTPDUMP
RotFileReader *sceneOrientationFileReader = NULL;
RotFileReader *deviceOrientationFileReader = NULL;
-#endif
-#ifdef DEBUGGING
- FILE *f_forcedModeProfile = NULL;
-#ifdef DEBUG_SBA
- int16_t numTransportChannels = 1;
-#endif
- int32_t noClipping;
- float maxOverload, minOverload;
-#endif
-#ifdef DEBUGGING
- dbgargs( &argc, argv );
-#endif
#ifdef WMOPS
reset_wmops();
reset_mem( USE_BYTES );
#endif
-#ifdef FLP_EXCEPTION_TRAP
- enable_float_exception_trap( FLE_MASK_DENORM | FLE_MASK_UNDERFLOW );
-#endif
-#ifdef IVAS_RTPDUMP
uint8_t au[IVAS_MAX_BITS_PER_FRAME / 8];
IVAS_RTP ivasRtp = { 0 };
-#endif
-#ifdef NONBE_FIX_BASOP_2233_RTPDUMP_DIFFERING_BITSTREAMS
/* Ideally ssrc is negotiated via SDP and sequence number is radomized but we
use fixed seed for random num generator for regression based tests. Any realtime
application should implement this initialization seperately */
uint16_t rtpEncSeed = RANDOM_INITSEED_ENC;
uint32_t ssrc = ( (uint32_t) IVAS_RTP_OwnRandom( &rtpEncSeed ) & 0x0000FFFF ) | ( (uint32_t) IVAS_RTP_OwnRandom( &rtpEncSeed ) << 16 );
uint16_t seqNumInitVal = IVAS_RTP_OwnRandom( &rtpEncSeed );
-#else
-#ifdef FIXED_RTP_SEQUENCE_NUM
- /* Ideally ssrc is negotiated via SDP and sequence number is radomized but we
- use fixed seed for random num generator for regression based tests. Any realtime
- application should implement this initialization seperately */
- srand( RANDOM_INITSEED_ENC );
- uint32_t ssrc = ( (uint32_t) rand() & 0x0000FFFF ) | ( (uint32_t) rand() << 16 );
- uint16_t seqNumInitVal = (uint16_t) ( rand() & 0xFFFF );
-#endif
-#endif
/*------------------------------------------------------------------------------------------*
* Parse command-line arguments
@@ -284,11 +190,7 @@ int main(
const BS_WRITER_FORMAT bsWriterFormat = arg.mimeOutput ? BS_WRITER_FORMAT_MIME : BS_WRITER_FORMAT_G192;
-#ifdef IVAS_RTPDUMP
if ( !arg.rtpdumpOutput && BS_Writer_Open_filename( &hBsWriter, arg.outputBitstreamFilename, bsWriterFormat ) != IVAS_ERR_OK )
-#else
- if ( BS_Writer_Open_filename( &hBsWriter, arg.outputBitstreamFilename, bsWriterFormat ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "\nCan't open %s\n\n", arg.outputBitstreamFilename );
goto cleanup;
@@ -435,11 +337,7 @@ int main(
}
break;
case IVAS_ENC_INPUT_STEREO:
-#ifdef DEBUGGING
- if ( ( error = IVAS_ENC_ConfigureForStereo( hIvasEnc, arg.inputFs, totalBitrate, arg.max_bwidth_user, bandwidth, arg.dtxConfig, arg.is_binaural, arg.inputFormatConfig.stereoMode ) ) != IVAS_ERR_OK )
-#else
if ( ( error = IVAS_ENC_ConfigureForStereo( hIvasEnc, arg.inputFs, totalBitrate, arg.max_bwidth_user, bandwidth, arg.dtxConfig, arg.is_binaural ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "\nIVAS_ENC_ConfigureForStereo failed: %s\n\n", IVAS_ENC_GetErrorMessage( error ) );
goto cleanup;
@@ -454,15 +352,7 @@ int main(
break;
case IVAS_ENC_INPUT_SBA:
if ( ( error = IVAS_ENC_ConfigureForAmbisonics( hIvasEnc, arg.inputFs, totalBitrate, arg.max_bwidth_user, bandwidth, arg.dtxConfig, arg.inputFormatConfig.sba.order, arg.inputFormatConfig.sba.isPlanar,
-#ifdef DEBUG_AGC_ENCODER_CMD_OPTION
- arg.agc,
-#endif
- arg.pca
-#ifdef DEBUG_SBA_AUDIO_DUMP
- ,
- &numTransportChannels
-#endif
- ) ) != IVAS_ERR_OK )
+ arg.pca ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "\nIVAS_ENC_ConfigureForAmbisonics failed: %s\n\n", IVAS_ENC_GetErrorMessage( error ) );
goto cleanup;
@@ -596,20 +486,6 @@ int main(
}
}
-#ifdef DEBUGGING
- IVAS_ENC_FORCED_MODE forcedMode = arg.forcedMode;
- int32_t force_profile_cnt = 0;
-
- if ( arg.forcedModeFile )
- {
- if ( ( f_forcedModeProfile = fopen( arg.forcedModeFile, "rb" ) ) == NULL )
- {
- fprintf( stderr, "\nError: Incorrect mode specification or the profile file could not be opened: %s\n\n", arg.forcedModeFile );
- usage_enc();
- goto cleanup;
- }
- }
-#endif
/*------------------------------------------------------------------------------------------*
* Allocate input data buffer
@@ -646,18 +522,13 @@ int main(
}
}
-#ifdef IVAS_RTPDUMP
/*------------------------------------------------------------------------------------------*
* RTPDump
*------------------------------------------------------------------------------------------*/
if ( arg.rtpdumpOutput )
{
-#ifdef FIXED_RTP_SEQUENCE_NUM
if ( ( error = IVAS_RTP_WRITER_Init( &ivasRtp, arg.outputBitstreamFilename, arg.numFramesPerPacket, ssrc, seqNumInitVal ) ) != IVAS_ERR_OK )
-#else
- if ( ( error = IVAS_RTP_WRITER_Init( &ivasRtp, arg.outputBitstreamFilename, arg.numFramesPerPacket ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "\nError: Can't open output bitstream file for RTP output %s \n\n", arg.outputBitstreamFilename );
goto cleanup;
@@ -689,7 +560,6 @@ int main(
goto cleanup;
}
}
-#endif
/*------------------------------------------------------------------------------------------*
* Run the encoder
@@ -698,12 +568,6 @@ int main(
int16_t numSamplesRead = 0;
uint16_t bitStream[IVAS_MAX_BITS_PER_FRAME];
uint16_t numBits = 0;
-#ifdef DEBUG_SBA
-#ifdef DEBUG_AGC
- ivas_open_agc_debug_files( (int16_t) arg.agc );
-#endif
- ivas_open_sba_encoder_debug_files( arg.inputFs, numTransportChannels, arg.dbg_file_tag, arg.initBitrate, (int16_t) arg.dtxConfig.enabled );
-#endif
if ( !arg.quietModeEnabled )
{
@@ -799,26 +663,6 @@ int main(
}
}
-#ifdef DEBUGGING
- if ( f_forcedModeProfile )
- {
- if ( ( error = readForcedMode( f_forcedModeProfile, &forcedMode, &force_profile_cnt ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nError reading from file: %s\n%s\n", arg.forcedModeFile, IVAS_ENC_GetErrorMessage( error ) );
- goto cleanup;
- }
- }
-
- /* Force mode not set when configuring, set in first frame even if not reading from file */
- if ( f_forcedModeProfile || frame == 0 )
- {
- if ( ( error = IVAS_ENC_SetForcedMode( hIvasEnc, forcedMode ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nIVAS_ENC_SetForcedMode failed: %s\n\n", IVAS_ENC_GetErrorMessage( error ) );
- goto cleanup;
- }
- }
-#endif
/* Read ISM input metadata */
for ( i = 0; i < numIsmInputs; ++i )
{
@@ -859,7 +703,6 @@ int main(
}
/* *** Encode one frame *** */
-#ifdef IVAS_RTPDUMP
if ( ivasRtp.hPack )
{
bool isMono = ( arg.inputFormat == IVAS_ENC_INPUT_MONO );
@@ -907,11 +750,7 @@ int main(
goto cleanup;
}
-#ifdef RTP_S4_251135_CR26253_0016_REV1
if ( ( error = IVAS_RTP_WriteNextFrame( &ivasRtp, au, NULL, numBits, isMono, forcePacket ) ) != IVAS_ERR_OK )
-#else
- if ( ( error = IVAS_RTP_WriteNextFrame( &ivasRtp, au, numBits, isMono, forcePacket ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "\nError %s while pushing audio frame to RTP pack\n", IVAS_ENC_GetErrorMessage( error ) );
goto cleanup;
@@ -919,7 +758,6 @@ int main(
}
else
{
-#endif
if ( ( error = IVAS_ENC_EncodeFrameToSerial( hIvasEnc, pcmBuf, pcmBufSize, bitStream, &numBits ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "\nencodeFrame failed: %s\n\n", IVAS_ENC_GetErrorMessage( error ) );
@@ -932,9 +770,7 @@ int main(
fprintf( stderr, "\nBS_Writer_WriteFrame_short failed, error code %d\n\n", error );
goto cleanup;
}
-#ifdef IVAS_RTPDUMP
}
-#endif
frame++;
if ( !arg.quietModeEnabled )
@@ -957,15 +793,6 @@ int main(
fprintf( stdout, "\n\nEncoding of %d frames finished\n", frame );
}
-#ifdef DEBUGGING
- if ( ( noClipping = IVAS_ENC_GetNoCLipping( hIvasEnc, &maxOverload, &minOverload ) ) > 0 )
- {
- fprintf( stdout, "Core input overload detected: %d samples!!!\n", noClipping );
- fprintf( stdout, "Max overload value: %f \n", maxOverload );
- fprintf( stdout, "Min overload value: %f \n\n", minOverload );
- }
- print_snr();
-#endif
/*------------------------------------------------------------------------------------------*
* Close files and deallocate resources
*------------------------------------------------------------------------------------------*/
@@ -1012,7 +839,6 @@ cleanup:
fclose( f_bitrateProfile );
}
-#ifdef IVAS_RTPDUMP
if ( sceneOrientationFileReader )
{
RotationFileReader_close( &sceneOrientationFileReader );
@@ -1024,28 +850,12 @@ cleanup:
}
IVAS_RTP_Term( &ivasRtp );
-#endif
IVAS_ENC_Close( &hIvasEnc );
#ifdef WMOPS
print_wmops();
print_mem( NULL );
-#endif
-#ifdef DEBUGGING
- dbgclose();
-
- if ( f_forcedModeProfile )
- {
- fclose( f_forcedModeProfile );
- }
-
-#ifdef DEBUG_SBA
- ivas_close_sba_encoder_debug_files();
-#ifdef DEBUG_AGC
- ivas_close_agc_debug_files();
-#endif
-#endif
#endif
return mainFailed ? -1 : 0;
@@ -1096,24 +906,9 @@ static bool parseCmdlIVAS_enc(
arg->mimeOutput = false;
arg->ism_extended_metadata = false;
arg->complexityLevel = IVAS_ENC_COMPLEXITY_LEVEL_THREE;
-#ifdef IVAS_RTPDUMP
arg->rtpdumpOutput = false;
arg->sceneOrientationTrajFileName = NULL;
arg->deviceOrientationTrajFileName = NULL;
-#endif
-#ifdef DEBUGGING
- arg->forcedMode = IVAS_ENC_FORCE_UNFORCED;
- arg->forcedModeFile = NULL;
-#ifdef DEBUG_AGC_ENCODER_CMD_OPTION
- arg->agc = IVAS_ENC_AGC_UNDEFINED;
-#endif
-#ifdef DEBUG_FOA_AGC
- arg->agcBitstream = NULL;
-#endif
-#ifdef DEBUG_SBA
- arg->dbg_file_tag = NULL;
-#endif
-#endif
arg->pca = false;
/*-----------------------------------------------------------------*
@@ -1227,91 +1022,6 @@ static bool parseCmdlIVAS_enc(
}
}
-#ifdef DEBUGGING
- /*-----------------------------------------------------------------*
- * Force specific mode
- *-----------------------------------------------------------------*/
-
- else if ( strcmp( argv_to_upper, "-FORCE" ) == 0 )
- {
- strncpy( stmp, argv[i + 1], sizeof( stmp ) );
-
- arg->forcedMode = parseForcedMode( stmp );
-
- if ( arg->forcedMode == IVAS_ENC_FORCE_UNDEFINED )
- {
- arg->forcedModeFile = argv[i + 1];
- fprintf( stdout, "Force switching file: %s\n", argv[i + 1] );
- }
- else
- {
- fprintf( stdout, "Forcing codec to: %s\n", argv[i + 1] );
- }
-
- i += 2;
- }
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
- /*-----------------------------------------------------------------*
- * Define additional subfolder for debug info output in ./res
- *-----------------------------------------------------------------*/
- else if ( strcmp( argv_to_upper, "-INFO" ) == 0 )
- {
- extern char infoFolder[FILENAME_MAX];
- strncpy( infoFolder, argv[i + 1], sizeof( infoFolder ) );
- i += 2;
- }
-#endif /* #ifdef DEBUG_MODE_INFO_TWEAK */
-#endif /* #ifdef DEBUG_MODE_INFO */
-
-#ifdef DEBUG_AGC_ENCODER_CMD_OPTION
- /*-----------------------------------------------------------------*
- * IVAS SPAR AGC option
- *-----------------------------------------------------------------*/
- else if ( strcmp( argv_to_upper, "-AGC" ) == 0 )
- {
- i++;
- if ( i < argc - 4 )
- {
- arg->agc = ( atoi( argv[i] ) ) ? IVAS_ENC_AGC_ENABLED : IVAS_ENC_AGC_DISABLED;
- if ( argv[i] == NULL || atoi( argv[i] ) < 0 || atoi( argv[i] ) > 1 )
- {
- fprintf( stderr, "Error: wrong adaptive gain control option specified (%d), expected 0 or 1\n\n", (int32_t) atoi( argv[i] ) );
- usage_enc();
- return false;
- }
- i++;
- }
- else
- {
- fprintf( stderr, "Error: unspecified adaptive gain control option\n\n" );
- usage_enc();
- return false;
- }
- }
-#endif
-
-#ifdef DEBUG_SBA
- /*-----------------------------------------------------------------*
- * IVAS SPAR debug files tag
- *-----------------------------------------------------------------*/
- else if ( strcmp( argv_to_upper, "-TAG" ) == 0 )
- {
- i++;
- if ( i < argc - 4 )
- {
- arg->dbg_file_tag = argv[i];
- ++i;
- }
- else
- {
- fprintf( stderr, "Error: [IVAS SPAR Encoder] unspecified tag value \n\n" );
- usage_enc();
- return false;
- }
- }
-#endif
-#endif /* #ifdef DEBUGGING */
/*-----------------------------------------------------------------*
* deactivate delay compensation
@@ -1415,78 +1125,6 @@ static bool parseCmdlIVAS_enc(
{
i++;
arg->inputFormat = IVAS_ENC_INPUT_STEREO;
-
-#ifdef DEBUGGING
- if ( ( i < argc - 4 ) && argv[i][0] != 45 ) /* note: 45 corresponds to "-" */
- {
- if ( sscanf( argv[i], "%d", &tmp ) > 0 )
- {
- if ( tmp == 1 )
- {
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_DFT;
- i++;
- }
- else if ( tmp == 2 )
- {
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_TD;
- i++;
- }
- else if ( tmp == 3 )
- {
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_MDCT_DECISION;
-#ifdef DEBUG_FORCE_MDCT_STEREO_MODE
- i++;
-
- /* force mdct stereo mode for debugging purposes */
- if ( i < argc - 4 )
- {
- if ( sscanf( argv[i], "%d", &tmp ) > 0 )
- {
- if ( tmp == 0 )
- {
- /* keep "DECISION" */
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_MDCT_DECISION;
- i++;
- }
- else if ( tmp == 1 )
- {
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_MDCT_FORCE_LR;
- i++;
- }
- else if ( tmp == 2 )
- {
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_MDCT_FORCE_MS;
- i++;
- }
- else
- {
- fprintf( stderr, "Error: Incorrect mdct stereo coding method (%d) specified\n\n", tmp );
- usage_enc();
- return false;
- }
- }
- }
-#endif
- }
- else
- {
- fprintf( stderr, "Error: Incorrect stereo mode (%d) specified\n\n", tmp );
- usage_enc();
- return false;
- }
- }
- else
- {
- fprintf( stderr, "Error: Stereo mode not specified.\n\n" ); /* in the debugging stage */
- usage_enc();
- return false;
- }
- }
- else
- {
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_UNIFIED;
- }
-#endif /* DEBUGGING */
}
else if ( strcmp( argv_to_upper, "-BINAURAL" ) == 0 )
{
@@ -1894,7 +1532,6 @@ static bool parseCmdlIVAS_enc(
i++;
}
-#ifdef IVAS_RTPDUMP
/*-----------------------------------------------------------------*
* RTPDump output
*-----------------------------------------------------------------*/
@@ -1960,7 +1597,6 @@ static bool parseCmdlIVAS_enc(
i++;
}
-#endif
/*-----------------------------------------------------------------*
* Option not recognized
*-----------------------------------------------------------------*/
@@ -1972,7 +1608,6 @@ static bool parseCmdlIVAS_enc(
}
} /* end of while */
-#ifdef IVAS_RTPDUMP
if ( arg->sceneOrientationTrajFileName != NULL && arg->rtpdumpOutput == false )
{
fprintf( stderr, "Error: Scene orientations are only enabled with rtpdump output!\n\n" );
@@ -1987,7 +1622,6 @@ static bool parseCmdlIVAS_enc(
return false;
}
-#endif
/*-----------------------------------------------------------------*
* Mandatory input arguments
*-----------------------------------------------------------------*/
@@ -2175,33 +1809,14 @@ static void usage_enc( void )
fprintf( stdout, "-pca : activate PCA in SBA format FOA at 256 kbps \n" );
fprintf( stdout, "-level level : Complexity level, level = (1, 2, 3), will be defined after characterisation. \n" );
fprintf( stdout, " Currently, all values default to level 3 (full functionality).\n" );
-#ifdef DEBUGGING
- fprintf( stdout, "-force T : Force specific mode, T = (speech, music, ACELP, GSC, TCX, HQ),\n" );
- fprintf( stdout, " alternatively, T can be a text file where each line contains \"nb_frames T\"\n" );
-#ifdef DEBUG_SBA
- fprintf( stdout, "-tag : Tag name for intermediate debug files\n" );
-#endif
-#ifdef DEBUG_AGC_ENCODER_CMD_OPTION
- fprintf( stdout, "-agc op : SBA Adaptive gain control, op = (0, 1). \n" );
- fprintf( stdout, " By default op is 1 (activated) for bitrates between 24400 and 32000,\n" );
- fprintf( stdout, " otherwise it is 0 (deactivated) for all other bitrates\n" );
-#endif
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
- fprintf( stdout, "-info : specify subfolder name for debug output\n" );
-#endif
-#endif
-#endif
fprintf( stdout, "-q : Quiet mode, no frame counters\n" );
fprintf( stdout, " default is deactivated\n" );
-#ifdef IVAS_RTPDUMP
fprintf( stdout, "-rtpdump : RTPDump output, hf_only=1 by default. The encoder will packetize the \n" );
fprintf( stdout, " bitstream frames into TS26.253 Annex A IVAS RTP Payload Format packets and \n" );
fprintf( stdout, " writes those to the output file. In EVS mono operating mode, TS26.445 Annex A.2.2 \n" );
fprintf( stdout, " EVS RTP Payload Format is used. Optional N represents number of frames per RTP packet\n" );
fprintf( stdout, "-scene_orientation : Scene orientation trajectory file. Only used with rtpdump output.\n" );
fprintf( stdout, "-device_orientation : Device orientation trajectory file. Only used with rtpdump output.\n" );
-#endif
fprintf( stdout, "\n" );
return;
@@ -2293,90 +1908,4 @@ static bool readBitrate(
}
-#ifdef DEBUGGING
-/*---------------------------------------------------------------------*
- * parseForcedMode()
- *
- *
- *---------------------------------------------------------------------*/
-
-static IVAS_ENC_FORCED_MODE parseForcedMode(
- char *forcedModeChar )
-{
- to_upper( forcedModeChar );
-
- if ( ( strcmp( forcedModeChar, "SPEECH" ) == 0 ) || ( strcmp( forcedModeChar, "'SPEECH'" ) == 0 ) ||
- ( strcmp( forcedModeChar, "0" ) == 0 ) )
- {
- return IVAS_ENC_FORCE_SPEECH;
- }
- if ( ( strcmp( forcedModeChar, "MUSIC" ) == 0 ) || ( strcmp( forcedModeChar, "'MUSIC'" ) == 0 ) || ( strcmp( forcedModeChar, "AUDIO" ) == 0 ) || ( strcmp( forcedModeChar, "'AUDIO'" ) == 0 ) || ( strcmp( forcedModeChar, "1" ) == 0 ) )
- {
- return IVAS_ENC_FORCE_MUSIC;
- }
- if ( ( strcmp( forcedModeChar, "ACELP" ) == 0 ) || ( strcmp( forcedModeChar, "'ACELP'" ) == 0 ) )
- {
- return IVAS_ENC_FORCE_ACELP;
- }
- if ( ( strcmp( forcedModeChar, "GSC" ) == 0 ) || ( strcmp( forcedModeChar, "'GSC'" ) == 0 ) )
- {
- return IVAS_ENC_FORCE_GSC;
- }
- if ( ( strcmp( forcedModeChar, "TCX" ) == 0 ) || ( strcmp( forcedModeChar, "'TCX'" ) == 0 ) )
- {
- return IVAS_ENC_FORCE_TCX;
- }
- if ( ( strcmp( forcedModeChar, "HQ" ) == 0 ) || ( strcmp( forcedModeChar, "'HQ'" ) == 0 ) )
- {
- return IVAS_ENC_FORCE_HQ;
- }
-
- return IVAS_ENC_FORCE_UNDEFINED;
-}
-
-
-/*---------------------------------------------------------------------*
- * readForcedMode()
- *
- *
- *---------------------------------------------------------------------*/
-
-static ivas_error readForcedMode(
- FILE *file,
- IVAS_ENC_FORCED_MODE *forcedMode,
- int32_t *forceFrameCounter )
-{
- int16_t res;
- char stmp[8];
-
- if ( *forceFrameCounter == 0 )
- {
- /* read next force and number of frames from the profile file */
- while ( ( res = (int16_t) fscanf( file, "%d %7s", forceFrameCounter, stmp ) ) != 2 && feof( file ) )
- {
- rewind( file );
- }
-
- *forcedMode = parseForcedMode( stmp );
-
- if ( *forcedMode == IVAS_ENC_FORCE_UNDEFINED )
- {
- fprintf( stderr, "Error: incorect mode specification or the force profile file could not be opened: %s\n\n", stmp );
- return IVAS_ERR_WRONG_PARAMS;
- }
-
- if ( res != 2 && !feof( file ) )
- {
- fprintf( stderr, "Error: incorrect format of the force profile file (please ensure that it does not contain any empty lines)\n\n" );
- return IVAS_ERR_WRONG_PARAMS;
- }
- }
-
- /* current profile still active, only decrease the counter */
- ( *forceFrameCounter )--;
-
- return IVAS_ERR_OK;
-}
-#endif
-
#undef WMC_TOOL_SKIP
diff --git a/apps/encoder_fmtsw.c b/apps/encoder_fmtsw.c
index 1730018f8e4bd4b255f0445b211ccafdf230390b..b3134dc2f8d43a9b2ee9bb70431f5f3f2c54723b 100644
--- a/apps/encoder_fmtsw.c
+++ b/apps/encoder_fmtsw.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include "lib_enc.h"
#include
@@ -38,17 +10,9 @@
#include "ism_file_reader.h"
#include "jbm_file_reader.h"
#include "masa_file_reader.h"
-#ifdef IVAS_RTPDUMP
#include "rotation_file_reader.h"
#include "ivas_rtp_file.h"
-#endif
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
-#ifdef FLP_EXCEPTION_TRAP
-#include "flp_debug.h"
-#endif
#define WMC_TOOL_SKIP
@@ -59,18 +23,12 @@
#define MAX_ARGV 20 /* maximum number of command line arguments that can be \
in one line of the format switching file */
-#if !defined( DEBUGGING ) && !defined( WMOPS )
+#if !defined( WMOPS )
static
#endif
int32_t frame = 0; /* Counter of frames */
-#ifdef NONBE_FIX_BASOP_2233_RTPDUMP_DIFFERING_BITSTREAMS
#define RANDOM_INITSEED_ENC ( 0xDEAF )
-#else
-#ifdef FIXED_RTP_SEQUENCE_NUM
-#define RANDOM_INITSEED_ENC ( 0xFEEDDEAF )
-#endif
-#endif
#define DEFAULT_FIXED_SID_RATE 8 /* DTX SID rate */
@@ -80,10 +38,6 @@ typedef union _EncInputFormatConfig
/* MONO details */
bool stereoToMonoDownmix;
-#ifdef DEBUGGING
- /* STEREO details */
- IVAS_ENC_STEREO_MODE stereoMode;
-#endif
/* ISM details */
struct EncIsmConfig
@@ -148,27 +102,12 @@ typedef struct
const char *ca_config_file;
bool mimeOutput;
IVAS_ENC_COMPLEXITY_LEVEL complexityLevel;
-#ifdef DEBUGGING
- IVAS_ENC_FORCED_MODE forcedMode;
- const char *forcedModeFile;
-#ifdef DEBUG_AGC_ENCODER_CMD_OPTION
- IVAS_ENC_AGC agc;
-#endif
-#ifdef DEBUG_FOA_AGC
- FILE *agcBitstream; /* temporary */
-#endif
-#ifdef DEBUG_SBA
- const char *dbg_file_tag;
-#endif
-#endif
bool pca;
bool ism_extended_metadata;
-#ifdef IVAS_RTPDUMP
bool rtpdumpOutput;
uint32_t numFramesPerPacket;
char *sceneOrientationTrajFileName;
char *deviceOrientationTrajFileName;
-#endif
} EncArguments;
@@ -181,16 +120,8 @@ static bool parseCmdlIVAS_enc( int16_t argc, char *argv[], EncArguments *arg );
static void usage_enc( void );
static bool readBandwidth( FILE *file, IVAS_ENC_BANDWIDTH *bandwidth, int32_t *bandwidthFrameCounter );
static bool readBitrate( FILE *file, int32_t *bitrate );
-#ifdef DEBUGGING
-static ivas_error readForcedMode( FILE *file, IVAS_ENC_FORCED_MODE *forcedMode, int32_t *forceFrameCounter );
-static IVAS_ENC_FORCED_MODE parseForcedMode( char *forcedModeChar );
-#endif
static void str2arg( char *str, int *argc_local, char *argv_local[] );
-#ifdef IVAS_RTPDUMP
static int encoder_main( int argc, char *argv[], IVAS_RTP *ivasRtp, int init_RtpWriter );
-#else
-static int encoder_main( int argc, char *argv[] );
-#endif
/*------------------------------------------------------------------------------------------*
@@ -209,11 +140,9 @@ int main(
char line[2048];
int argc_local = 0;
char *argv_local[MAX_ARGV] = { 0 };
-#ifdef IVAS_RTPDUMP
IVAS_RTP ivasRtp = { 0 };
char prev_outputBitstreamFilename[2048] = { 0 };
int rtp_term = 0;
-#endif
IVAS_ENC_PrintDisclaimer();
@@ -237,7 +166,6 @@ int main(
line[strcspn( line, "\r\n" )] = 0;
printf( "Processing format switching commandline: %s\n", line );
str2arg( line, &argc_local, argv_local );
-#ifdef IVAS_RTPDUMP
if ( strcmp( argv_local[argc_local - 1], (char *) prev_outputBitstreamFilename ) == 0 )
{
/* append to last Rtp file */
@@ -262,9 +190,6 @@ int main(
rtp_term = 1;
}
strcpy( (char *) prev_outputBitstreamFilename, argv_local[argc_local - 1] );
-#else
- encoder_main( argc_local, argv_local );
-#endif
}
/*------------------------------------------------------------------------------------------*
@@ -275,9 +200,7 @@ int main(
cleanup:
-#ifdef IVAS_RTPDUMP
IVAS_RTP_Term( &ivasRtp );
-#endif
if ( FmtSWFile )
{
fclose( FmtSWFile );
@@ -311,13 +234,9 @@ void str2arg(
int encoder_main(
int argc,
-#ifdef IVAS_RTPDUMP
char *argv[],
IVAS_RTP *ivasRtp,
int init_RtpWriter )
-#else
- char *argv[] )
-#endif
{
bool mainFailed = true; /* Assume main failed until cleanup is reached without errors */
EncArguments arg;
@@ -334,52 +253,23 @@ int encoder_main(
MasaFileReader *masaReader = NULL;
IsmFileReader *ismReaders[IVAS_MAX_NUM_OBJECTS] = { NULL, NULL, NULL, NULL };
int16_t *pcmBuf = NULL;
-#ifdef IVAS_RTPDUMP
RotFileReader *sceneOrientationFileReader = NULL;
RotFileReader *deviceOrientationFileReader = NULL;
-#endif
-#ifdef DEBUGGING
- FILE *f_forcedModeProfile = NULL;
-#ifdef DEBUG_SBA
- int16_t numTransportChannels = 1;
-#endif
- int32_t noClipping;
- float maxOverload, minOverload;
-#endif
-#ifdef DEBUGGING
- dbgargs( &argc, argv );
-#endif
#ifdef WMOPS
reset_wmops();
reset_mem( USE_BYTES );
#endif
-#ifdef FLP_EXCEPTION_TRAP
- enable_float_exception_trap( FLE_MASK_DENORM | FLE_MASK_UNDERFLOW );
-#endif
-#ifdef IVAS_RTPDUMP
uint8_t au[IVAS_MAX_BITS_PER_FRAME / 8];
/* IVAS_RTP ivasRtp = { 0 }; */
-#endif
-#ifdef NONBE_FIX_BASOP_2233_RTPDUMP_DIFFERING_BITSTREAMS
/* Ideally ssrc is negotiated via SDP and sequence number is radomized but we
use fixed seed for random num generator for regression based tests. Any realtime
application should implement this initialization seperately */
uint16_t rtpEncSeed = RANDOM_INITSEED_ENC;
uint32_t ssrc = ( (uint32_t) IVAS_RTP_OwnRandom( &rtpEncSeed ) & 0x0000FFFF ) | ( (uint32_t) IVAS_RTP_OwnRandom( &rtpEncSeed ) << 16 );
uint16_t seqNumInitVal = IVAS_RTP_OwnRandom( &rtpEncSeed );
-#else
-#ifdef FIXED_RTP_SEQUENCE_NUM
- /* Ideally ssrc is negotiated via SDP and sequence number is radomized but we
- use fixed seed for random num generator for regression based tests. Any realtime
- application should implement this initialization seperately */
- srand( RANDOM_INITSEED_ENC );
- uint32_t ssrc = ( (uint32_t) rand() & 0x0000FFFF ) | ( (uint32_t) rand() << 16 );
- uint16_t seqNumInitVal = (uint16_t) ( rand() & 0xFFFF );
-#endif
-#endif
/*------------------------------------------------------------------------------------------*
* Parse command-line arguments
@@ -407,11 +297,7 @@ int encoder_main(
*------------------------------------------------------------------------------------------*/
const BS_WRITER_FORMAT bsWriterFormat = arg.mimeOutput ? BS_WRITER_FORMAT_MIME : BS_WRITER_FORMAT_G192;
-#ifdef IVAS_RTPDUMP
if ( !arg.rtpdumpOutput && BS_Writer_Open_filename( &hBsWriter, arg.outputBitstreamFilename, bsWriterFormat ) != IVAS_ERR_OK )
-#else
- if ( BS_Writer_Open_filename( &hBsWriter, arg.outputBitstreamFilename, bsWriterFormat ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "\nCan't open %s\n\n", arg.outputBitstreamFilename );
goto cleanup;
@@ -558,11 +444,7 @@ int encoder_main(
}
break;
case IVAS_ENC_INPUT_STEREO:
-#ifdef DEBUGGING
- if ( ( error = IVAS_ENC_ConfigureForStereo( hIvasEnc, arg.inputFs, totalBitrate, arg.max_bwidth_user, bandwidth, arg.dtxConfig, arg.is_binaural, arg.inputFormatConfig.stereoMode ) ) != IVAS_ERR_OK )
-#else
if ( ( error = IVAS_ENC_ConfigureForStereo( hIvasEnc, arg.inputFs, totalBitrate, arg.max_bwidth_user, bandwidth, arg.dtxConfig, arg.is_binaural ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "\nIVAS_ENC_ConfigureForStereo failed: %s\n\n", IVAS_ENC_GetErrorMessage( error ) );
goto cleanup;
@@ -577,15 +459,7 @@ int encoder_main(
break;
case IVAS_ENC_INPUT_SBA:
if ( ( error = IVAS_ENC_ConfigureForAmbisonics( hIvasEnc, arg.inputFs, totalBitrate, arg.max_bwidth_user, bandwidth, arg.dtxConfig, arg.inputFormatConfig.sba.order, arg.inputFormatConfig.sba.isPlanar,
-#ifdef DEBUG_AGC_ENCODER_CMD_OPTION
- arg.agc,
-#endif
- arg.pca
-#ifdef DEBUG_SBA_AUDIO_DUMP
- ,
- &numTransportChannels
-#endif
- ) ) != IVAS_ERR_OK )
+ arg.pca ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "\nIVAS_ENC_ConfigureForAmbisonics failed: %s\n\n", IVAS_ENC_GetErrorMessage( error ) );
goto cleanup;
@@ -719,20 +593,6 @@ int encoder_main(
}
}
-#ifdef DEBUGGING
- IVAS_ENC_FORCED_MODE forcedMode = arg.forcedMode;
- int32_t force_profile_cnt = 0;
-
- if ( arg.forcedModeFile )
- {
- if ( ( f_forcedModeProfile = fopen( arg.forcedModeFile, "rb" ) ) == NULL )
- {
- fprintf( stderr, "\nError: Incorrect mode specification or the profile file could not be opened: %s\n\n", arg.forcedModeFile );
- usage_enc();
- goto cleanup;
- }
- }
-#endif
/*------------------------------------------------------------------------------------------*
* Allocate input data buffer
@@ -769,18 +629,13 @@ int encoder_main(
}
}
-#ifdef IVAS_RTPDUMP
/*------------------------------------------------------------------------------------------*
* RTPDump
*------------------------------------------------------------------------------------------*/
if ( arg.rtpdumpOutput && init_RtpWriter )
{
-#ifdef FIXED_RTP_SEQUENCE_NUM
if ( ( error = IVAS_RTP_WRITER_Init( ivasRtp, arg.outputBitstreamFilename, arg.numFramesPerPacket, ssrc, seqNumInitVal ) ) != IVAS_ERR_OK )
-#else
- if ( ( error = IVAS_RTP_WRITER_Init( ivasRtp, arg.outputBitstreamFilename, arg.numFramesPerPacket ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "\nError: Can't open output bitstream file for RTP output %s \n\n", arg.outputBitstreamFilename );
goto cleanup;
@@ -812,7 +667,6 @@ int encoder_main(
goto cleanup;
}
}
-#endif
/*------------------------------------------------------------------------------------------*
* Run the encoder
@@ -821,12 +675,6 @@ int encoder_main(
int16_t numSamplesRead = 0;
uint16_t bitStream[IVAS_MAX_BITS_PER_FRAME];
uint16_t numBits = 0;
-#ifdef DEBUG_SBA
-#ifdef DEBUG_AGC
- ivas_open_agc_debug_files( (int16_t) arg.agc );
-#endif
- ivas_open_sba_encoder_debug_files( arg.inputFs, numTransportChannels, arg.dbg_file_tag, arg.initBitrate, (int16_t) arg.dtxConfig.enabled );
-#endif
if ( !arg.quietModeEnabled )
{
@@ -922,26 +770,6 @@ int encoder_main(
}
}
-#ifdef DEBUGGING
- if ( f_forcedModeProfile )
- {
- if ( ( error = readForcedMode( f_forcedModeProfile, &forcedMode, &force_profile_cnt ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nError reading from file: %s\n%s\n", arg.forcedModeFile, IVAS_ENC_GetErrorMessage( error ) );
- goto cleanup;
- }
- }
-
- /* Force mode not set when configuring, set in first frame even if not reading from file */
- if ( f_forcedModeProfile || frame == 0 )
- {
- if ( ( error = IVAS_ENC_SetForcedMode( hIvasEnc, forcedMode ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nIVAS_ENC_SetForcedMode failed: %s\n\n", IVAS_ENC_GetErrorMessage( error ) );
- goto cleanup;
- }
- }
-#endif
/* Read ISM input metadata */
for ( i = 0; i < numIsmInputs; ++i )
{
@@ -982,7 +810,6 @@ int encoder_main(
}
/* *** Encode one frame *** */
-#ifdef IVAS_RTPDUMP
if ( ivasRtp->hPack )
{
bool isMono = ( arg.inputFormat == IVAS_ENC_INPUT_MONO );
@@ -1030,11 +857,7 @@ int encoder_main(
goto cleanup;
}
-#ifdef RTP_S4_251135_CR26253_0016_REV1
if ( ( error = IVAS_RTP_WriteNextFrame( ivasRtp, au, NULL, numBits, isMono, forcePacket ) ) != IVAS_ERR_OK )
-#else
- if ( ( error = IVAS_RTP_WriteNextFrame( ivasRtp, au, numBits, isMono, forcePacket ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "\nError %s while pushing audio frame to RTP pack\n", IVAS_ENC_GetErrorMessage( error ) );
goto cleanup;
@@ -1042,7 +865,6 @@ int encoder_main(
}
else
{
-#endif
if ( ( error = IVAS_ENC_EncodeFrameToSerial( hIvasEnc, pcmBuf, pcmBufSize, bitStream, &numBits ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "\nencodeFrame failed: %s\n\n", IVAS_ENC_GetErrorMessage( error ) );
@@ -1055,9 +877,7 @@ int encoder_main(
fprintf( stderr, "\nBS_Writer_WriteFrame_short failed, error code %d\n\n", error );
goto cleanup;
}
-#ifdef IVAS_RTPDUMP
}
-#endif
frame++;
if ( !arg.quietModeEnabled )
@@ -1080,15 +900,6 @@ int encoder_main(
fprintf( stdout, "\n\nEncoding of %d frames finished\n", frame );
}
-#ifdef DEBUGGING
- if ( ( noClipping = IVAS_ENC_GetNoCLipping( hIvasEnc, &maxOverload, &minOverload ) ) > 0 )
- {
- fprintf( stdout, "Core input overload detected: %d samples!!!\n", noClipping );
- fprintf( stdout, "Max overload value: %f \n", maxOverload );
- fprintf( stdout, "Min overload value: %f \n\n", minOverload );
- }
- print_snr();
-#endif
/*------------------------------------------------------------------------------------------*
* Close files and deallocate resources
*------------------------------------------------------------------------------------------*/
@@ -1135,7 +946,6 @@ cleanup:
fclose( f_bitrateProfile );
}
-#ifdef IVAS_RTPDUMP
if ( sceneOrientationFileReader )
{
RotationFileReader_close( &sceneOrientationFileReader );
@@ -1147,28 +957,12 @@ cleanup:
}
/* IVAS_RTP_Term( &ivasRtp ); */
-#endif
IVAS_ENC_Close( &hIvasEnc );
#ifdef WMOPS
print_wmops();
print_mem( NULL );
-#endif
-#ifdef DEBUGGING
- dbgclose();
-
- if ( f_forcedModeProfile )
- {
- fclose( f_forcedModeProfile );
- }
-
-#ifdef DEBUG_SBA
- ivas_close_sba_encoder_debug_files();
-#ifdef DEBUG_AGC
- ivas_close_agc_debug_files();
-#endif
-#endif
#endif
return mainFailed ? -1 : 0;
@@ -1214,25 +1008,10 @@ static bool parseCmdlIVAS_enc(
arg->mimeOutput = false;
arg->ism_extended_metadata = false;
arg->complexityLevel = IVAS_ENC_COMPLEXITY_LEVEL_THREE;
-#ifdef IVAS_RTPDUMP
arg->rtpdumpOutput = false;
arg->sceneOrientationTrajFileName = NULL;
arg->deviceOrientationTrajFileName = NULL;
-#endif
-#ifdef DEBUGGING
- arg->forcedMode = IVAS_ENC_FORCE_UNFORCED;
- arg->forcedModeFile = NULL;
-#ifdef DEBUG_AGC_ENCODER_CMD_OPTION
- arg->agc = IVAS_ENC_AGC_UNDEFINED;
-#endif
-#ifdef DEBUG_FOA_AGC
- arg->agcBitstream = NULL;
-#endif
-#ifdef DEBUG_SBA
- arg->dbg_file_tag = NULL;
-#endif
-#endif
arg->pca = false;
/*-----------------------------------------------------------------*
@@ -1346,91 +1125,6 @@ static bool parseCmdlIVAS_enc(
}
}
-#ifdef DEBUGGING
- /*-----------------------------------------------------------------*
- * Force specific mode
- *-----------------------------------------------------------------*/
-
- else if ( strcmp( argv_to_upper, "-FORCE" ) == 0 )
- {
- strncpy( stmp, argv[i + 1], sizeof( stmp ) );
-
- arg->forcedMode = parseForcedMode( stmp );
-
- if ( arg->forcedMode == IVAS_ENC_FORCE_UNDEFINED )
- {
- arg->forcedModeFile = argv[i + 1];
- fprintf( stdout, "Force switching file: %s\n", argv[i + 1] );
- }
- else
- {
- fprintf( stdout, "Forcing codec to: %s\n", argv[i + 1] );
- }
-
- i += 2;
- }
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
- /*-----------------------------------------------------------------*
- * Define additional subfolder for debug info output in ./res
- *-----------------------------------------------------------------*/
- else if ( strcmp( argv_to_upper, "-INFO" ) == 0 )
- {
- extern char infoFolder[FILENAME_MAX];
- strncpy( infoFolder, argv[i + 1], sizeof( infoFolder ) );
- i += 2;
- }
-#endif /* #ifdef DEBUG_MODE_INFO_TWEAK */
-#endif /* #ifdef DEBUG_MODE_INFO */
-
-#ifdef DEBUG_AGC_ENCODER_CMD_OPTION
- /*-----------------------------------------------------------------*
- * IVAS SPAR AGC option
- *-----------------------------------------------------------------*/
- else if ( strcmp( argv_to_upper, "-AGC" ) == 0 )
- {
- i++;
- if ( i < argc - 4 )
- {
- arg->agc = ( atoi( argv[i] ) ) ? IVAS_ENC_AGC_ENABLED : IVAS_ENC_AGC_DISABLED;
- if ( argv[i] == NULL || atoi( argv[i] ) < 0 || atoi( argv[i] ) > 1 )
- {
- fprintf( stderr, "Error: wrong adaptive gain control option specified (%d), expected 0 or 1\n\n", (int32_t) atoi( argv[i] ) );
- usage_enc();
- return false;
- }
- i++;
- }
- else
- {
- fprintf( stderr, "Error: unspecified adaptive gain control option\n\n" );
- usage_enc();
- return false;
- }
- }
-#endif
-
-#ifdef DEBUG_SBA
- /*-----------------------------------------------------------------*
- * IVAS SPAR debug files tag
- *-----------------------------------------------------------------*/
- else if ( strcmp( argv_to_upper, "-TAG" ) == 0 )
- {
- i++;
- if ( i < argc - 4 )
- {
- arg->dbg_file_tag = argv[i];
- ++i;
- }
- else
- {
- fprintf( stderr, "Error: [IVAS SPAR Encoder] unspecified tag value \n\n" );
- usage_enc();
- return false;
- }
- }
-#endif
-#endif /* #ifdef DEBUGGING */
/*-----------------------------------------------------------------*
* deactivate delay compensation
@@ -1534,78 +1228,6 @@ static bool parseCmdlIVAS_enc(
{
i++;
arg->inputFormat = IVAS_ENC_INPUT_STEREO;
-
-#ifdef DEBUGGING
- if ( ( i < argc - 4 ) && argv[i][0] != 45 ) /* note: 45 corresponds to "-" */
- {
- if ( sscanf( argv[i], "%d", &tmp ) > 0 )
- {
- if ( tmp == 1 )
- {
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_DFT;
- i++;
- }
- else if ( tmp == 2 )
- {
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_TD;
- i++;
- }
- else if ( tmp == 3 )
- {
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_MDCT_DECISION;
-#ifdef DEBUG_FORCE_MDCT_STEREO_MODE
- i++;
-
- /* force mdct stereo mode for debugging purposes */
- if ( i < argc - 4 )
- {
- if ( sscanf( argv[i], "%d", &tmp ) > 0 )
- {
- if ( tmp == 0 )
- {
- /* keep "DECISION" */
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_MDCT_DECISION;
- i++;
- }
- else if ( tmp == 1 )
- {
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_MDCT_FORCE_LR;
- i++;
- }
- else if ( tmp == 2 )
- {
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_MDCT_FORCE_MS;
- i++;
- }
- else
- {
- fprintf( stderr, "Error: Incorrect mdct stereo coding method (%d) specified\n\n", tmp );
- usage_enc();
- return false;
- }
- }
- }
-#endif
- }
- else
- {
- fprintf( stderr, "Error: Incorrect stereo mode (%d) specified\n\n", tmp );
- usage_enc();
- return false;
- }
- }
- else
- {
- fprintf( stderr, "Error: Stereo mode not specified.\n\n" ); /* in the debugging stage */
- usage_enc();
- return false;
- }
- }
- else
- {
- arg->inputFormatConfig.stereoMode = IVAS_ENC_STEREO_MODE_UNIFIED;
- }
-#endif /* DEBUGGING */
}
else if ( strcmp( argv_to_upper, "-BINAURAL" ) == 0 )
{
@@ -2013,7 +1635,6 @@ static bool parseCmdlIVAS_enc(
i++;
}
-#ifdef IVAS_RTPDUMP
/*-----------------------------------------------------------------*
* RTPDump output
*-----------------------------------------------------------------*/
@@ -2077,7 +1698,6 @@ static bool parseCmdlIVAS_enc(
i++;
}
-#endif
/*-----------------------------------------------------------------*
* Option not recognized
*-----------------------------------------------------------------*/
@@ -2089,7 +1709,6 @@ static bool parseCmdlIVAS_enc(
}
} /* end of while */
-#ifdef IVAS_RTPDUMP
if ( arg->sceneOrientationTrajFileName != NULL && arg->rtpdumpOutput == false )
{
fprintf( stderr, "Error: Scene orientations are only enabled with rtpdump output!\n\n" );
@@ -2103,7 +1722,6 @@ static bool parseCmdlIVAS_enc(
return false;
}
-#endif
/*-----------------------------------------------------------------*
* Mandatory input arguments
*-----------------------------------------------------------------*/
@@ -2291,33 +1909,14 @@ static void usage_enc( void )
fprintf( stdout, "-pca : activate PCA in SBA format FOA at 256 kbps \n" );
fprintf( stdout, "-level level : Complexity level, level = (1, 2, 3), will be defined after characterisation. \n" );
fprintf( stdout, " Currently, all values default to level 3 (full functionality).\n" );
-#ifdef DEBUGGING
- fprintf( stdout, "-force T : Force specific mode, T = (speech, music, ACELP, GSC, TCX, HQ),\n" );
- fprintf( stdout, " alternatively, T can be a text file where each line contains \"nb_frames T\"\n" );
-#ifdef DEBUG_SBA
- fprintf( stdout, "-tag : Tag name for intermediate debug files\n" );
-#endif
-#ifdef DEBUG_AGC_ENCODER_CMD_OPTION
- fprintf( stdout, "-agc op : SBA Adaptive gain control, op = (0, 1). \n" );
- fprintf( stdout, " By default op is 1 (activated) for bitrates between 24400 and 32000,\n" );
- fprintf( stdout, " otherwise it is 0 (deactivated) for all other bitrates\n" );
-#endif
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
- fprintf( stdout, "-info : specify subfolder name for debug output\n" );
-#endif
-#endif
-#endif
fprintf( stdout, "-q : Quiet mode, no frame counters\n" );
fprintf( stdout, " default is deactivated\n" );
-#ifdef IVAS_RTPDUMP
fprintf( stdout, "-rtpdump : RTPDump output, hf_only=1 by default. The encoder will packetize the \n" );
fprintf( stdout, " bitstream frames into TS26.253 Annex A IVAS RTP Payload Format packets and \n" );
fprintf( stdout, " writes those to the output file. In EVS mono operating mode, TS26.445 Annex A.2.2 \n" );
fprintf( stdout, " EVS RTP Payload Format is used. Optional N represents number of frames per RTP packet\n" );
fprintf( stdout, "-scene_orientation : Scene orientation trajectory file. Only used with rtpdump output.\n" );
fprintf( stdout, "-device_orientation : Device orientation trajectory file. Only used with rtpdump output.\n" );
-#endif
fprintf( stdout, "\n" );
return;
@@ -2409,90 +2008,4 @@ static bool readBitrate(
}
-#ifdef DEBUGGING
-/*---------------------------------------------------------------------*
- * parseForcedMode()
- *
- *
- *---------------------------------------------------------------------*/
-
-static IVAS_ENC_FORCED_MODE parseForcedMode(
- char *forcedModeChar )
-{
- to_upper( forcedModeChar );
-
- if ( ( strcmp( forcedModeChar, "SPEECH" ) == 0 ) || ( strcmp( forcedModeChar, "'SPEECH'" ) == 0 ) ||
- ( strcmp( forcedModeChar, "0" ) == 0 ) )
- {
- return IVAS_ENC_FORCE_SPEECH;
- }
- if ( ( strcmp( forcedModeChar, "MUSIC" ) == 0 ) || ( strcmp( forcedModeChar, "'MUSIC'" ) == 0 ) || ( strcmp( forcedModeChar, "AUDIO" ) == 0 ) || ( strcmp( forcedModeChar, "'AUDIO'" ) == 0 ) || ( strcmp( forcedModeChar, "1" ) == 0 ) )
- {
- return IVAS_ENC_FORCE_MUSIC;
- }
- if ( ( strcmp( forcedModeChar, "ACELP" ) == 0 ) || ( strcmp( forcedModeChar, "'ACELP'" ) == 0 ) )
- {
- return IVAS_ENC_FORCE_ACELP;
- }
- if ( ( strcmp( forcedModeChar, "GSC" ) == 0 ) || ( strcmp( forcedModeChar, "'GSC'" ) == 0 ) )
- {
- return IVAS_ENC_FORCE_GSC;
- }
- if ( ( strcmp( forcedModeChar, "TCX" ) == 0 ) || ( strcmp( forcedModeChar, "'TCX'" ) == 0 ) )
- {
- return IVAS_ENC_FORCE_TCX;
- }
- if ( ( strcmp( forcedModeChar, "HQ" ) == 0 ) || ( strcmp( forcedModeChar, "'HQ'" ) == 0 ) )
- {
- return IVAS_ENC_FORCE_HQ;
- }
-
- return IVAS_ENC_FORCE_UNDEFINED;
-}
-
-
-/*---------------------------------------------------------------------*
- * readForcedMode()
- *
- *
- *---------------------------------------------------------------------*/
-
-static ivas_error readForcedMode(
- FILE *file,
- IVAS_ENC_FORCED_MODE *forcedMode,
- int32_t *forceFrameCounter )
-{
- int16_t res;
- char stmp[8];
-
- if ( *forceFrameCounter == 0 )
- {
- /* read next force and number of frames from the profile file */
- while ( ( res = (int16_t) fscanf( file, "%d %7s", forceFrameCounter, stmp ) ) != 2 && feof( file ) )
- {
- rewind( file );
- }
-
- *forcedMode = parseForcedMode( stmp );
-
- if ( *forcedMode == IVAS_ENC_FORCE_UNDEFINED )
- {
- fprintf( stderr, "Error: incorect mode specification or the force profile file could not be opened: %s\n\n", stmp );
- return IVAS_ERR_WRONG_PARAMS;
- }
-
- if ( res != 2 && !feof( file ) )
- {
- fprintf( stderr, "Error: incorrect format of the force profile file (please ensure that it does not contain any empty lines)\n\n" );
- return IVAS_ERR_WRONG_PARAMS;
- }
- }
-
- /* current profile still active, only decrease the counter */
- ( *forceFrameCounter )--;
-
- return IVAS_ERR_OK;
-}
-#endif
-
#undef WMC_TOOL_SKIP
diff --git a/apps/isar_post_rend.c b/apps/isar_post_rend.c
index 96dc9b827fa0ec506ef6c8bf86bcef276b3896a2..9b17e2267ae81585a0ae94cc874bd0ab9b656b01 100644
--- a/apps/isar_post_rend.c
+++ b/apps/isar_post_rend.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include "lib_isar_post_rend.h"
@@ -44,13 +16,8 @@
#include "rotation_file_reader.h"
#include "split_render_file_read_write.h"
#include "split_rend_bfi_file_reader.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
-#ifdef RTP_S4_251135_CR26253_0016_REV1
#include "ivas_rtp_file.h"
-#endif
#define WMC_TOOL_SKIP
@@ -64,7 +31,7 @@
#define ISAR_MAX16B_FLT 32767.0f
#define ISAR_MIN16B_FLT ( -32768.0f )
-#if !defined( DEBUGGING ) && !defined( WMOPS )
+#if !defined( WMOPS )
static
#endif
int32_t frame = 0;
@@ -81,9 +48,7 @@ static
typedef struct
{
-#ifdef RTP_S4_251135_CR26253_0016_REV1
bool srRtp;
-#endif
IVAS_AUDIO_CONFIG audioConfig;
int32_t inputChannelIndex;
float gain_dB;
@@ -105,9 +70,7 @@ typedef struct
char executableName[POST_REND_MAX_CLI_ARG_LENGTH];
char inputFilePath[POST_REND_MAX_CLI_ARG_LENGTH];
char outputFilePath[POST_REND_MAX_CLI_ARG_LENGTH];
-#ifdef RTP_S4_251135_CR26253_0016_REV1
char srParamsFilePath[POST_REND_MAX_CLI_ARG_LENGTH];
-#endif
int32_t sampleRate;
InputConfig inConfig;
OutputConfig outConfig;
@@ -137,9 +100,7 @@ typedef enum
CmdLnOptionId_listFormats,
CmdLnOptionId_SplitRendBFIFile,
CmdLnOptionId_framing,
-#ifdef RTP_S4_251135_CR26253_0016_REV1
CmdLnOptionId_srParamsFile,
-#endif
} CmdLnOptionId;
static const CmdLnParser_Option cliOptions[] = {
@@ -215,14 +176,12 @@ static const CmdLnParser_Option cliOptions[] = {
.matchShort = "fr",
.description = "Set Render audio framing.",
},
-#ifdef RTP_S4_251135_CR26253_0016_REV1
{
.id = CmdLnOptionId_srParamsFile,
.match = "sr_params",
.matchShort = "s",
.description = "Path to the split rendering init params file",
},
-#endif
};
@@ -234,11 +193,7 @@ static const int32_t numCliOptions = sizeof( cliOptions ) / sizeof( CmdLnParser_
static void printSupportedAudioConfigs( void );
-#ifdef RTP_S4_251135_CR26253_0016_REV1
static IVAS_AUDIO_CONFIG parseAudioConfig( const char *configString, bool *srRtp );
-#else
-static IVAS_AUDIO_CONFIG parseAudioConfig( const char *configString );
-#endif
static void convertOutputBuffer( const float *floatBuffer, const int16_t numSamplesPerChannel, const int16_t numChannels, int16_t *intBuffer );
@@ -326,20 +281,14 @@ static bool parseInConfig(
}
/* Check for single-format inputs. The given string should map to a member of AUDIO_CONFIG enum. */
-#ifdef RTP_S4_251135_CR26253_0016_REV1
bool srRtp = false;
IVAS_AUDIO_CONFIG audioConfig = parseAudioConfig( inFormatStr, &srRtp );
-#else
- IVAS_AUDIO_CONFIG audioConfig = parseAudioConfig( inFormatStr );
-#endif
switch ( audioConfig )
{
case IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_CODED:
case IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_PCM:
inConfig->numBinBuses = 1;
-#ifdef RTP_S4_251135_CR26253_0016_REV1
inConfig->binBuses[0].srRtp = srRtp;
-#endif
inConfig->binBuses[0].audioConfig = audioConfig;
inConfig->binBuses[0].inputChannelIndex = 0;
inConfig->binBuses[0].gain_dB = 0.0f;
@@ -390,19 +339,13 @@ static bool parseRenderFramesize(
static IVAS_AUDIO_CONFIG parseAudioConfig(
-#ifdef RTP_S4_251135_CR26253_0016_REV1
const char *configString,
bool *srRtp )
-#else
- const char *configString )
-#endif
{
char charBuf[25];
charBuf[24] = '\0';
-#ifdef RTP_S4_251135_CR26253_0016_REV1
*srRtp = false;
-#endif
strncpy( charBuf, configString, sizeof( charBuf ) - 1 );
charBuf[sizeof( charBuf ) - 1] = '\0';
to_upper( charBuf );
@@ -419,13 +362,11 @@ static IVAS_AUDIO_CONFIG parseAudioConfig(
{
return IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_CODED;
}
-#ifdef RTP_S4_251135_CR26253_0016_REV1
if ( strcmp( charBuf, "RTPDUMP" ) == 0 )
{
*srRtp = true;
return IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_CODED;
}
-#endif
return IVAS_AUDIO_CONFIG_INVALID;
}
@@ -482,9 +423,7 @@ static CmdlnArgs defaultArgs(
strncpy( args.executableName, executableName, POST_REND_MAX_CLI_ARG_LENGTH );
clearString( args.inputFilePath );
clearString( args.outputFilePath );
-#ifdef RTP_S4_251135_CR26253_0016_REV1
clearString( args.srParamsFilePath );
-#endif
args.sampleRate = 0;
args.outConfig.audioConfig = IVAS_AUDIO_CONFIG_INVALID;
@@ -592,12 +531,10 @@ static void parseOption(
}
break;
-#ifdef RTP_S4_251135_CR26253_0016_REV1
case CmdLnOptionId_srParamsFile:
assert( numOptionValues == 1 );
strncpy( args->srParamsFilePath, optionValues[0], POST_REND_MAX_CLI_ARG_LENGTH - 1 );
break;
-#endif
default:
assert( 0 && "This should be unreachable - all command line options should be explicitly handled." );
break;
@@ -634,9 +571,7 @@ static void printSupportedAudioConfigs( void )
"BINAURAL (output only)",
"BINAURAL_SPLIT_PCM",
"BINAURAL_SPLIT_CODED",
-#ifdef RTP_S4_251135_CR26253_0016_REV1
"RTPDUMP",
-#endif
};
fprintf( stdout, "Supported audio formats:\n" );
@@ -729,7 +664,6 @@ static void convertOutputBuffer(
return;
}
-#ifdef RTP_S4_251135_CR26253_0016_REV1
static void trim( char *str )
{
char c;
@@ -749,9 +683,7 @@ static void trim( char *str )
static ivas_error parseSRParamsFile(
const char *srParamsFilePath,
-#ifdef RTP_SR_CODEC_FRAME_SIZE_IN_TOC_BYTE
const char *rtpFilePath,
-#endif
ISAR_SPLIT_REND_CODEC *codec,
ISAR_SPLIT_REND_POSE_CORRECTION_MODE *poseCorrection,
int16_t *codec_frame_size_ms,
@@ -778,7 +710,6 @@ static ivas_error parseSRParamsFile(
trim( key );
trim( value );
-#ifdef RTP_SR_CODEC_FRAME_SIZE_IN_TOC_BYTE
if ( 0 == strncmp( key, "DOF", 3 ) )
{
int val = atoi( value );
@@ -795,51 +726,11 @@ static ivas_error parseSRParamsFile(
*lc3plusHighRes = (int16_t) val;
}
}
-#else
- if ( 0 == strncmp( key, "CODEC", 5 ) )
- {
- *codec = ( 0 == strncmp( value, "LCLD", 4 ) ) ? ISAR_SPLIT_REND_CODEC_LCLD : *codec;
- *codec = ( 0 == strncmp( value, "LC3PLUS", 7 ) ) ? ISAR_SPLIT_REND_CODEC_LC3PLUS : *codec;
- }
- else if ( 0 == strncmp( key, "DOF", 3 ) )
- {
- int val = atoi( value );
- if ( val == 0 || val == 1 )
- {
- *poseCorrection = ( val == 0 ) ? ISAR_SPLIT_REND_POSE_CORRECTION_MODE_NONE : ISAR_SPLIT_REND_POSE_CORRECTION_MODE_CLDFB;
- }
- }
- else if ( 0 == strncmp( key, "FRAMESIZE", 9 ) )
- {
- int val = atoi( value );
- if ( val == 5 || val == 10 || val == 20 )
- {
- *codec_frame_size_ms = (int16_t) val;
- }
- }
- else if ( 0 == strncmp( key, "RENDERSIZE", 9 ) )
- {
- int val = atoi( value );
- if ( val == 5 || val == 10 || val == 20 )
- {
- *isar_frame_size_ms = (int16_t) val;
- }
- }
- else if ( 0 == strncmp( key, "LC3PLUS_HIGHRES", 15 ) )
- {
- int val = atoi( value );
- if ( val == 0 || val == 1 )
- {
- *lc3plusHighRes = (int16_t) val;
- }
- }
-#endif
}
}
fclose( fParamSR );
-#ifdef RTP_SR_CODEC_FRAME_SIZE_IN_TOC_BYTE
{
/* Peek the RTP stream to ascertain the codec and codec_frame_size */
ivas_error error = IVAS_ERR_OK;
@@ -877,11 +768,9 @@ static ivas_error parseSRParamsFile(
}
IVAS_RTP_Term( &srRtp );
}
-#endif
return IVAS_ERR_OK;
}
-#endif
/*------------------------------------------------------------------------------------------*
* main()
@@ -922,9 +811,7 @@ int main(
int16_t i, numChannels;
ivas_error error = IVAS_ERR_OK;
bool splitBinNeedsNewFrame = true;
-#ifdef RTP_S4_251135_CR26253_0016_REV1
IVAS_RTP srRTP = { 0 };
-#endif
#ifdef WMOPS
reset_wmops();
@@ -951,9 +838,7 @@ int main(
convert_backslash( args.inputFilePath );
convert_backslash( args.outputFilePath );
convert_backslash( args.headRotationFilePath );
-#ifdef RTP_S4_251135_CR26253_0016_REV1
convert_backslash( args.srParamsFilePath );
-#endif
/*------------------------------------------------------------------------------------------*
* Open head-rotation file
@@ -1008,13 +893,10 @@ int main(
}
}
-#ifdef RTP_S4_251135_CR26253_0016_REV1
if ( ( args.inConfig.numBinBuses > 0 ) && ( args.inConfig.binBuses[0].srRtp ) )
{
error = parseSRParamsFile( args.srParamsFilePath,
-#ifdef RTP_SR_CODEC_FRAME_SIZE_IN_TOC_BYTE
args.inputFilePath,
-#endif
&bitsBuffer.config.codec,
&bitsBuffer.config.poseCorrection,
&bitsBuffer.config.codec_frame_size_ms,
@@ -1026,27 +908,17 @@ int main(
goto cleanup;
}
-#ifndef RTP_SR_CODEC_FRAME_SIZE_IN_TOC_BYTE
- if ( ( error = IVAS_RTP_READER_Init( &srRTP, (uint32_t) bitsBuffer.config.codec_frame_size_ms, args.inputFilePath, NULL, false, NULL ) ) != IVAS_ERR_OK )
-#else
if ( ( error = IVAS_RTP_READER_Init( &srRTP, args.inputFilePath, NULL, false, NULL ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "error in IVAS_RTP_READER_Init(): %d\n", error );
goto cleanup;
}
audioReader = NULL;
-#ifdef RTP_SR_CODEC_FRAME_SIZE_IN_TOC_BYTE
/* Force owerwrite of command line provided rendersize to align with codec frame size */
args.render_framesize = bitsBuffer.config.isar_frame_size_ms / 5;
-#endif
}
/*if split renderer is running in post renderer mode*/
else if ( ( args.inConfig.numBinBuses > 0 ) && ( args.inConfig.binBuses[0].audioConfig == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_CODED ) )
-#else
- /*if split renderer is running in post renderer mode*/
- if ( ( args.inConfig.numBinBuses > 0 ) && ( args.inConfig.binBuses[0].audioConfig == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_CODED ) )
-#endif
{
error = split_rend_reader_open( &hSplitRendFileReadWrite,
args.inputFilePath,
@@ -1246,7 +1118,6 @@ int main(
num_in_channels = inBuffer.config.numChannels;
numSamplesRead = 0;
-#ifdef RTP_S4_251135_CR26253_0016_REV1
if ( srRTP.hRtpFile && splitBinNeedsNewFrame )
{
IVAS_RTP_SR_INFO srInfo = { 0 };
@@ -1269,9 +1140,7 @@ int main(
if ( error == IVAS_ERR_END_OF_FILE )
{
numSamplesRead = 0;
-#ifdef RTP_SR_CODEC_FRAME_SIZE_IN_TOC_BYTE
break;
-#endif
}
else
{
@@ -1293,9 +1162,6 @@ int main(
}
}
else if ( ( hSplitRendFileReadWrite != NULL ) && splitBinNeedsNewFrame )
-#else
- if ( ( hSplitRendFileReadWrite != NULL ) && splitBinNeedsNewFrame )
-#endif
{
ivas_error error_tmp;
@@ -1409,7 +1275,6 @@ int main(
goto cleanup;
}
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
/* Set BFI if frame is empty */
int16_t frameEmpty = (int16_t) ( bitsBuffer.config.bitsWritten == 0 );
if ( frameEmpty )
@@ -1420,7 +1285,6 @@ int main(
goto cleanup;
}
}
-#endif
}
}
@@ -1524,17 +1388,6 @@ int main(
fprintf( stdout, "\n\nRendering of %d frames finished\n\n", frame );
-#ifdef DEBUGGING
- int32_t cnt_frames_limited, noClipping;
- if ( ( cnt_frames_limited = ISAR_POST_REND_GetCntFramesLimited( hIsarPostRend ) ) > 0 )
- {
- fprintf( stdout, "Limiter applied in %d frames.\n\n", cnt_frames_limited );
- }
- if ( ( noClipping = ISAR_POST_REND_GetNoCLipping( hIsarPostRend ) ) > 0 )
- {
- fprintf( stdout, "Clipping (saturation) detected: %d samples clipped!!!\n\n", noClipping );
- }
-#endif
/*------------------------------------------------------------------------------------------*
* Close files and deallocate resources
@@ -1564,9 +1417,6 @@ cleanup:
ISAR_POST_REND_Close( &hIsarPostRend );
-#ifdef DEBUGGING
- dbgclose();
-#endif
#ifdef WMOPS
print_wmops();
print_mem( NULL );
diff --git a/apps/renderer.c b/apps/renderer.c
index 753a116c157fadabbb01e81f01d0b9ea1c8f094c..8fa2a627fc5683518cd69a6e9ad1cbe8fad69c46 100644
--- a/apps/renderer.c
+++ b/apps/renderer.c
@@ -1,41 +1,11 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include "lib_rend.h"
#include
#include
-#ifdef RENDERER_MD_SYNC_DELAY_TO_INTEGER
#include
-#endif
#include
#include "audio_file_reader.h"
#include "audio_file_writer.h"
@@ -52,13 +22,7 @@
#include "split_render_file_read_write.h"
#include "split_rend_bfi_file_reader.h"
#include "vector3_pair_file_reader.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
-#ifdef FLP_EXCEPTION_TRAP
-#include "flp_debug.h"
-#endif
#define WMC_TOOL_SKIP
@@ -76,7 +40,7 @@
#define OMASA_TDREND_MATCHING_GAIN_DB ( -2.0f )
-#if !defined( DEBUGGING ) && !defined( WMOPS )
+#if !defined( WMOPS )
static
#endif
int32_t frame = 0;
@@ -192,17 +156,11 @@ typedef struct
float lfeConfigElevation;
bool lfeCustomRoutingEnabled;
char inLfePanningMatrixFile[RENDERER_MAX_CLI_ARG_LENGTH];
-#ifdef RENDERER_MD_SYNC_DELAY_TO_INTEGER
int16_t syncMdDelay;
-#else
- float syncMdDelay;
-#endif
IVAS_RENDER_FRAMESIZE render_framesize;
uint16_t directivityPatternId[RENDERER_MAX_ISM_INPUTS];
AcousticEnvironmentSequence aeSequence;
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
IVAS_ROOM_SIZE_T reverbRoomSize;
-#endif
} CmdlnArgs;
typedef enum
@@ -233,12 +191,8 @@ typedef enum
CmdLnOptionId_framing,
CmdLnOptionId_syncMdDelay,
CmdLnOptionId_directivityPatternId,
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
CmdLnOptionId_acousticEnvironmentId,
CmdLnOptionId_roomSize,
-#else
- CmdLnOptionId_acousticEnvironmentId
-#endif
} CmdLnOptionId;
static const CmdLnParser_Option cliOptions[] = {
@@ -404,14 +358,12 @@ static const CmdLnParser_Option cliOptions[] = {
.matchShort = "aeid",
.description = "Acoustic environment ID (number > 0) alternatively, it can be\na text file where each line contains \"ID duration\" for\nBINAURAL_ROOM_REVERB output.",
},
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
{
.id = CmdLnOptionId_roomSize,
.match = "room_size",
.matchShort = "rsz",
.description = "Selects default reverb based on a room size (S - small | M - medium | L - large)",
}
-#endif
};
@@ -656,9 +608,6 @@ static int16_t get_cldfb_in_flag(
cldfb_in_flag = 0;
if ( renderConfig->split_rend_config.rendererSelection == IVAS_BIN_RENDERER_TYPE_FASTCONV )
{
-#ifdef DEBUGGING
- cldfb_in_flag = 1;
-#endif
if ( audioConfig == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_CODED )
{
cldfb_in_flag = 1;
@@ -749,9 +698,6 @@ int main(
reset_wmops();
reset_mem( USE_BYTES );
#endif
-#ifdef FLP_EXCEPTION_TRAP
- enable_float_exception_trap( FLE_MASK_DENORM | FLE_MASK_UNDERFLOW );
-#endif
for ( i = 0; i < RENDERER_MAX_MASA_INPUTS; ++i )
{
@@ -1176,7 +1122,6 @@ int main(
fprintf( stderr, "\nError in IVAS_REND_SetOrientationTrackingMode(): %s\n", ivas_error_to_string( error ) );
goto cleanup;
}
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
/* Set reverb room size if specified */
if ( args.reverbRoomSize != IVAS_ROOM_SIZE_AUTO )
@@ -1187,7 +1132,6 @@ int main(
goto cleanup;
}
}
-#endif
/* Set up output custom layout configuration */
if ( args.outConfig.audioConfig == IVAS_AUDIO_CONFIG_LS_CUSTOM )
@@ -1449,16 +1393,12 @@ int main(
audioWriter = NULL;
}
-#ifdef FIX_1437_LC3PLUS_EXTREND_HIRES
if ( ( error = IVAS_REND_GetSplitRendBitstreamHeader( hIvasRend,
&bitsBuffer.config.codec,
&bitsBuffer.config.poseCorrection,
&bitsBuffer.config.codec_frame_size_ms,
&bitsBuffer.config.isar_frame_size_ms,
&bitsBuffer.config.lc3plus_highres ) ) != IVAS_ERR_OK )
-#else
- if ( ( error = IVAS_REND_GetSplitRendBitstreamHeader( hIvasRend, &bitsBuffer.config.codec, &bitsBuffer.config.poseCorrection, &bitsBuffer.config.codec_frame_size_ms, &bitsBuffer.config.isar_frame_size_ms ) ) != IVAS_ERR_OK )
-#endif
{
fprintf( stderr, "\nError in IVAS_REND_GetSplitRendBitstreamHeader()!\n" );
goto cleanup;
@@ -2047,17 +1987,6 @@ int main(
fprintf( stdout, "\n\nRendering of %d frames finished\n\n", frame );
-#ifdef DEBUGGING
- int32_t cnt_frames_limited, noClipping;
- if ( ( cnt_frames_limited = IVAS_REND_GetCntFramesLimited( hIvasRend ) ) > 0 )
- {
- fprintf( stdout, "Limiter applied in %d frames.\n\n", cnt_frames_limited );
- }
- if ( ( noClipping = IVAS_REND_GetNoCLipping( hIvasRend ) ) > 0 )
- {
- fprintf( stdout, "Clipping (saturation) detected: %d samples clipped!!!\n\n", noClipping );
- }
-#endif
/*------------------------------------------------------------------------------------------*
* Close files and deallocate resources
@@ -2113,9 +2042,6 @@ cleanup:
IsmPositionProvider_close( positionProvider );
RenderConfigReader_close( &renderConfigReader );
-#ifdef DEBUGGING
- dbgclose();
-#endif
#ifdef WMOPS
print_wmops();
print_mem( NULL );
@@ -2588,7 +2514,6 @@ static bool parseAcousticEnvironmentIds(
return true;
}
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
static bool parseReverbRoomSize(
@@ -2620,7 +2545,6 @@ static bool parseReverbRoomSize(
return true;
}
-#endif
static bool checkRequiredArgs(
@@ -2742,10 +2666,8 @@ static CmdlnArgs defaultArgs(
args.aeSequence.pValidity = NULL;
args.aeSequence.selected = 0;
args.aeSequence.frameCounter = 0;
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
args.reverbRoomSize = IVAS_ROOM_SIZE_AUTO;
-#endif
return args;
}
@@ -2925,13 +2847,8 @@ static void parseOption(
case CmdLnOptionId_syncMdDelay:
assert( numOptionValues == 1 );
/* Metadata Delay to sync with audio delay in ms */
-#ifdef RENDERER_MD_SYNC_DELAY_TO_INTEGER
args->syncMdDelay = (int16_t) strtol( optionValues[0], NULL, 10 );
-#else
- args->syncMdDelay = strtof( optionValues[0], NULL );
-#endif
break;
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
case CmdLnOptionId_roomSize:
assert( numOptionValues == 1 );
if ( !parseReverbRoomSize( optionValues[0], &args->reverbRoomSize ) )
@@ -2940,7 +2857,6 @@ static void parseOption(
exit( -1 );
}
break;
-#endif
default:
assert( 0 && "This should be unreachable - all command line options should be explicitly handled." );
break;
diff --git a/lib_com/ACcontextMapping.c b/lib_com/ACcontextMapping.c
index f9bdeaaee7b2805cca61fced5ca99f91aa2fd9d6..0a4241190847fc0138ffdf7e5b7e9fdf0d857d5d 100644
--- a/lib_com/ACcontextMapping.c
+++ b/lib_com/ACcontextMapping.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/ari.c b/lib_com/ari.c
index 2aea344e50a42d4291b50cced5deaa4576305dff..eb5d88c8b2842316ffcf1cfdb706cf35348f9787 100644
--- a/lib_com/ari.c
+++ b/lib_com/ari.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/ari_hm.c b/lib_com/ari_hm.c
index a21e955590c7cc3a5b5455c15b69c03c80da1c87..63ae905fb21582df39190a0e20e4e2cda0ad332e 100644
--- a/lib_com/ari_hm.c
+++ b/lib_com/ari_hm.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/arith_coder.c b/lib_com/arith_coder.c
index e71a40749e81ffff546e77fe4159e8e0969a3401..4e81d879cd20763cd1fc950fc3dbfde11480237d 100644
--- a/lib_com/arith_coder.c
+++ b/lib_com/arith_coder.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/basop32.c b/lib_com/basop32.c
index 5a5a434846333bbcc752cf8e1e0dbcfa5ab08241..8dea3d49eb73945bba9e36cf574f87b6bb8b01fd 100644
--- a/lib_com/basop32.c
+++ b/lib_com/basop32.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/* v.2.3 - 30.Nov.2009
=============================================================================
diff --git a/lib_com/basop32.h b/lib_com/basop32.h
index a8a72aed04825925a8ce418730d929c571b70203..1d12effa01435ded42249894a6b5f16fc1f0e085 100644
--- a/lib_com/basop32.h
+++ b/lib_com/basop32.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*
===========================================================================
diff --git a/lib_com/basop_com_lpc.c b/lib_com/basop_com_lpc.c
index 68376669b6072ba5c509a371b94e25194dde1b70..f5708f98444a20e411fb7aff45d71312d7eb23e4 100644
--- a/lib_com/basop_com_lpc.c
+++ b/lib_com/basop_com_lpc.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/basop_lsf_tools.c b/lib_com/basop_lsf_tools.c
index 498018c1eea64571bcf8eecbcf8c694a197b55ab..378e2241a4ab866c0ce969fe8a93d492c83ac912 100644
--- a/lib_com/basop_lsf_tools.c
+++ b/lib_com/basop_lsf_tools.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/basop_mpy.c b/lib_com/basop_mpy.c
index c3acce57376cd7343503dcf159d0314e8661c7bd..edaf10d12b08f0ea5b46f7b199b7bf2e1303fc41 100644
--- a/lib_com/basop_mpy.c
+++ b/lib_com/basop_mpy.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include "basop_mpy.h"
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#define WMC_TOOL_SKIP
diff --git a/lib_com/basop_mpy.h b/lib_com/basop_mpy.h
index dd9a3ec31312893b8daf2bdf4f05d39b05054a53..8f4ab2a2e32548d9a15073d18034df787ffd66a6 100644
--- a/lib_com/basop_mpy.h
+++ b/lib_com/basop_mpy.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -40,9 +12,6 @@
#include "stl.h"
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
/**
* \brief 32*16 Bit fractional Multiplication using 40 bit OPS
diff --git a/lib_com/basop_proto_func.h b/lib_com/basop_proto_func.h
index 69e76fec90ffed560c9bb60f31dd4f46925658ea..c8d89d874f5344817652fdab55f6ad492ac9b5f5 100644
--- a/lib_com/basop_proto_func.h
+++ b/lib_com/basop_proto_func.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/basop_settings.h b/lib_com/basop_settings.h
index bcbe6fdf1a98d4e4fcaa16f6524919b82825fc90..bbc269b4281ad6d5e7eb2b3bd2f8d1d29f6e1e77 100644
--- a/lib_com/basop_settings.h
+++ b/lib_com/basop_settings.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/basop_tcx_utils.c b/lib_com/basop_tcx_utils.c
index f684f07ee5ef4a2241db0d985766c2c3508a239d..3c13aaefd3f2994b5a8d7e9002cdec858c20ade3 100644
--- a/lib_com/basop_tcx_utils.c
+++ b/lib_com/basop_tcx_utils.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "basop_proto_func.h"
#include "stl.h"
diff --git a/lib_com/basop_util.c b/lib_com/basop_util.c
index 197fe884082c1c57d3a8b56b9da51875bc1002a9..5d173ff88cc05a25f4ab6bd4b4d825300ca28f61 100644
--- a/lib_com/basop_util.c
+++ b/lib_com/basop_util.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "basop_util.h"
#include "rom_com.h"
#include "basop_settings.h"
diff --git a/lib_com/basop_util.h b/lib_com/basop_util.h
index b76d5982f23fec7be3bd0b8ac7680b283dd75da1..a7c72a9d68780f5b34a86d30804e2db78004c0d0 100644
--- a/lib_com/basop_util.h
+++ b/lib_com/basop_util.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/bitalloc.c b/lib_com/bitalloc.c
index 28715d184c0e24c403a492f31424a18160df7fd2..a423b5055edf53804ef01880c2df1ee49b1bcc5f 100644
--- a/lib_com/bitalloc.c
+++ b/lib_com/bitalloc.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "rom_com.h"
#include "prot.h"
diff --git a/lib_com/bitallocsum.c b/lib_com/bitallocsum.c
index 583383896eb45fb3f41815827a0873e76faadbd2..21ecbe7d5cf67c9e90cd499d3fb8815830622ad4 100644
--- a/lib_com/bitallocsum.c
+++ b/lib_com/bitallocsum.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/bits_alloc.c b/lib_com/bits_alloc.c
index 58a5c8296a0993e0beedc4f20c7e094e844b1fec..8888a288cb7e4999ed5511c24fa2370d2d958259 100644
--- a/lib_com/bits_alloc.c
+++ b/lib_com/bits_alloc.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "rom_com.h"
#include "prot.h"
#include "ivas_cnst.h"
@@ -441,16 +410,6 @@ static ivas_error acelp_FCB_allocator(
}
}
cdbk--;
-#ifdef DEBUGGING
- if ( cdbk < 0 && coder_type != TRANSITION )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Error: Too low bit-budget for fixed innovation codebook (frame = %d). Exiting! \n", frame );
- }
- if ( ( L_subfr == L_SUBFR && cdbk >= ACELP_FIXED_CDK_NB ) || ( L_subfr == 2 * L_SUBFR && fcb_table( cdbk, L_subfr ) == 128 /*stop value*/ ) )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Error: Too high bit-budget for fixed innovation codebook (frame = %d). Exiting! \n", frame );
- }
-#endif
set_s( p_fixed_cdk_index, cdbk, nb_subfr );
nBits_tmp = 0;
@@ -560,9 +519,6 @@ ivas_error config_acelp1(
int16_t i, bits, nb_subfr;
int16_t flag_hardcoded, coder_type_sw, fix_first;
int32_t core_brate;
-#ifdef DEBUGGING
- int32_t core_brate_inpI = core_brate_inp;
-#endif
ivas_error error;
error = IVAS_ERR_OK;
@@ -587,29 +543,10 @@ ivas_error config_acelp1(
if ( L_frame == L_FRAME )
{
nb_subfr = NB_SUBFR;
-
-#ifdef DEBUGGING
- if ( ( ( core_brate_inp < 5900 && coder_type > UNVOICED ) && !( core_brate_inp < MIN_TC_BRATE && coder_type == TRANSITION ) ) && !( idchan > 0 && element_mode == IVAS_CPE_TD ) && !( element_mode == IVAS_SCE && tdm_low_rate_mode ) )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Error: Too low bitrate (%d bps) for ACELP@12k8 in frame %d. Exiting!\n", core_brate_inpI, frame );
- }
-
- if ( core_brate_inp > ACELP_12k8_HIGH_LIMIT && core == ACELP_CORE )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Error: Too high bitrate (%d bps) for ACELP@12k8 in frame %d. Exiting!\n", core_brate_inpI, frame );
- }
-#endif
}
else /* L_frame == L_FRAME16k */
{
nb_subfr = NB_SUBFR16k;
-
-#ifdef DEBUGGING
- if ( core_brate_inp < ACELP_16k_LOW_LIMIT && core == ACELP_CORE )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Error: Too low bitrate (%d bps) for ACELP@16k in frame %d. Exiting!\n", core_brate_inpI, frame );
- }
-#endif
}
coder_type_sw = coder_type;
@@ -1034,15 +971,7 @@ ivas_error config_acelp1(
}
acelp_cfg->fcb_mode = 1;
-#ifdef DEBUGGING
- if ( bits >= 55 )
- {
- printf( "too much bits -> %d, LPC = %d and pitch = %d\n", bits, tdm_lp_reuse_flag, tdm_Pitch_reuse_flag );
- acelp_FCB_allocator( &bits, acelp_cfg->fixed_cdk_index, 2, 2 * L_SUBFR, GENERIC, -1, 0 );
- }
- else
-#endif
- if ( bits >= 16 )
+ if ( bits >= 16 )
{
acelp_FCB_allocator( &bits, acelp_cfg->fixed_cdk_index, 2, 2 * L_SUBFR, GENERIC, -1, 0 );
}
@@ -1131,10 +1060,6 @@ ivas_error config_acelp1(
i--; /* must be odd */
}
i = min( i, 13 );
-#ifdef DEBUG_MODE_TD
- if ( i < 0 )
- IVAS_ERROR( IVAS_ERR_INTERNAL, "ERROR::: UC negative index should not happen at frame %d\n", frame );
-#endif
i = max( i, 0 ); /* If i == 0-> random noise generator will be used as FCB */
set_s( acelp_cfg->fixed_cdk_index, i, NB_SUBFR );
bits -= ( i * NB_SUBFR );
@@ -1171,9 +1096,6 @@ ivas_error config_acelp1(
}
else /* No FCB */
{
-#ifdef DEBUGGING
- IVAS_ERROR( IVAS_ERR_INTERNAL, "WARNING!!!, No bit allocated to FCB, check frame %d\n", frame );
-#endif
acelp_cfg->fixed_cdk_index[0] = -1;
acelp_cfg->fixed_cdk_index[1] = -1;
acelp_cfg->fixed_cdk_index[2] = -1;
@@ -1331,9 +1253,6 @@ ivas_error config_acelp1(
}
else if ( flag_hardcoded && core == ACELP_CORE && bits != 0 )
{
-#ifdef DEBUGGING
- IVAS_ERROR( IVAS_ERR_INTERNAL, "ERROR: bit-budget incorrect (%d bits) in frame %d.\n", (int32_t) bits, frame );
-#endif
}
else if ( bits > 0 && !( coder_type == UNVOICED && tdm_low_rate_mode == 1 && element_mode == IVAS_CPE_TD ) )
{
@@ -1368,12 +1287,6 @@ ivas_error config_acelp1(
bits -= allocate_unused( core_brate, coder_type, bits, 1, 0, LSFPRM, &acelp_cfg->lsf_bits );
}
}
-#ifdef DEBUGGING
- if ( idchan > 0 && bits > 0 && ( coder_type > UNVOICED || tdm_low_rate_mode == 0 ) )
- {
- IVAS_ERROR( IVAS_ERR_INTERNAL, "WARNING !! Unused bits in secondary channel at frame %d\n", frame );
- }
-#endif
}
else if ( core == ACELP_CORE && coder_type >= UNVOICED && coder_type <= GENERIC && L_frame == L_FRAME )
@@ -1398,9 +1311,6 @@ ivas_error config_acelp1(
}
else if ( bits < 0 && !( coder_type == UNVOICED && tdm_low_rate_mode == 1 && element_mode == IVAS_CPE_TD ) )
{
-#ifdef DEBUGGING
- IVAS_ERROR( IVAS_ERR_INTERNAL, "ERROR: bit-budget incorrect (%d bits) in frame %d.\n", (int32_t) bits, frame );
-#endif
}
}
@@ -1470,9 +1380,6 @@ static int16_t allocate_unused(
}
else
{
-#ifdef DEBUG_MODE_TD
- IVAS_ERROR( IVAS_ERR_WRONG_MODE, "unknown mode in bit_alloc.c" );
-#endif
}
max_bit_per_pos = min( unused_bits, max_bit_per_pos - prm_bit_mode[subfr] );
diff --git a/lib_com/bitstream.c b/lib_com/bitstream.c
index bd8bf608de9651819136470a456120d076bf3298..c23a1a702300daec6a2f59672401c272865cc94f 100644
--- a/lib_com/bitstream.c
+++ b/lib_com/bitstream.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "stat_enc.h"
@@ -50,20 +19,7 @@
#include "ivas_cnst.h"
#include "ivas_rom_com.h"
#include "wmc_auto.h"
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
-#include
-#endif
-
-#ifdef DEBUGGING
-
-#define FEC_SEED 12558
-
-/*-------------------------------------------------------------------*
- * Global variables
- *--------------------------------------------------------------------*/
-FILE *FEC_pattern = NULL; /* FEC pattern file (for simulation of FEC) */
-#endif
#define STEP_MAX_NUM_INDICES 100 /* increase the maximum number of allowed indices in the list by this amount */
@@ -212,9 +168,6 @@ ivas_error ind_list_realloc(
{
new_ind_list[i].id = old_ind_list[i].id;
new_ind_list[i].value = old_ind_list[i].value;
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- strncpy( new_ind_list[i].function_name, old_ind_list[i].function_name, 100 );
-#endif
}
new_ind_list[i].nb_bits = old_ind_list[i].nb_bits;
}
@@ -223,9 +176,6 @@ ivas_error ind_list_realloc(
for ( ; i < max_num_indices; i++ )
{
new_ind_list[i].nb_bits = -1;
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- sprintf( new_ind_list[i].function_name, "RESET in ind_list_realloc" );
-#endif
}
/* update parameters in all SCE elements */
@@ -811,9 +761,6 @@ void move_indices(
new_ind_list[i].id = old_ind_list[i].id;
new_ind_list[i].value = old_ind_list[i].value;
new_ind_list[i].nb_bits = old_ind_list[i].nb_bits;
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- strncpy( new_ind_list[i].function_name, old_ind_list[i].function_name, 100 );
-#endif
old_ind_list[i].nb_bits = -1;
}
@@ -825,14 +772,8 @@ void move_indices(
new_ind_list[i].id = old_ind_list[i].id;
new_ind_list[i].value = old_ind_list[i].value;
new_ind_list[i].nb_bits = old_ind_list[i].nb_bits;
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- strncpy( new_ind_list[i].function_name, old_ind_list[i].function_name, 100 );
-#endif
old_ind_list[i].nb_bits = -1;
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- sprintf( old_ind_list[i].function_name, "RESET in move_indices" );
-#endif
}
}
@@ -861,9 +802,6 @@ ivas_error check_ind_list_limits(
/* the re-allocation can be avoided by increasing the limits in get_ivas_max_num_indices() or get_ivas_max_num_indices_metadata() */
if ( ( &hBstr->ind_list[hBstr->nb_ind_tot] - ivas_ind_list_zero ) >= *( hBstr->ivas_max_num_indices ) )
{
-#ifdef DEBUGGING
- 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 */
if ( ( error = ind_list_realloc( *hBstr->ivas_ind_list_zero, *( hBstr->ivas_max_num_indices ) + STEP_MAX_NUM_INDICES, hBstr->st_ivas ) ) != IVAS_ERR_OK )
@@ -877,9 +815,6 @@ ivas_error check_ind_list_limits(
{
if ( hBstr->nb_ind_tot == 0 )
{
-#ifdef DEBUGGING
- fprintf( stderr, "Warning: Trying to overwrite an existing indice ID = %d in frame %d!\n", hBstr->ind_list[hBstr->nb_ind_tot].id, frame );
-#endif
/* move the pointer to the next available empty slot */
ivas_ind_list_last = &ivas_ind_list_zero[*( hBstr->ivas_max_num_indices )];
while ( hBstr->ind_list[0].nb_bits > 0 && hBstr->ind_list < ivas_ind_list_last )
@@ -889,9 +824,6 @@ ivas_error check_ind_list_limits(
if ( hBstr->ind_list >= ivas_ind_list_last )
{
-#ifdef DEBUGGING
- 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 */
if ( ( error = ind_list_realloc( *hBstr->ivas_ind_list_zero, *( hBstr->ivas_max_num_indices ) + STEP_MAX_NUM_INDICES, hBstr->st_ivas ) ) != IVAS_ERR_OK )
@@ -902,1891 +834,13 @@ ivas_error check_ind_list_limits(
}
else
{
-#ifdef DEBUGGING
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Buffer of indices corrupted in frame %d! Attempt to overwrite indice ID = %d (value: %d, bits: %d)!\n", frame, hBstr->ind_list[hBstr->nb_ind_tot].id, hBstr->ind_list[hBstr->nb_ind_tot].value, hBstr->ind_list[hBstr->nb_ind_tot].nb_bits );
-#else
return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Buffer of indices corrupted! Attempt to overwrite indice ID = %d (value: %d, bits: %d)!\n", hBstr->ind_list[hBstr->nb_ind_tot].id, hBstr->ind_list[hBstr->nb_ind_tot].value, hBstr->ind_list[hBstr->nb_ind_tot].nb_bits );
-#endif
}
}
return error;
}
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
-const char *named_indices_table[] = {
- "IND_IVAS_FORMAT",
- "IND_SMODE_OMASA",
- "IND_SMODE",
- "IND_SID_TYPE",
- "IND_BWIDTH",
- "IND_CORE",
- "IND_PPP_NELP_MODE",
- "IND_ACELP_16KHZ",
- "IND_ACELP_SIGNALLING",
- "IND_SHARP_FLAG",
- "IND_MDCT_CORE",
- "IND_TCX_CORE",
- "IND_BWE_FLAG",
- "IND_HQ_SWITCHING_FLG",
- "IND_LAST_L_FRAME",
- "IND_VAD_FLAG",
- "IND_HQ_BWIDTH",
- "IND_TC_SUBFR",
- "IND_TC_SUBFR",
- "IND_TC_SUBFR",
- "IND_TC_SUBFR",
- "IND_GSC_IVAS_SP",
- "IND_LSF_PREDICTOR_SELECT_BIT",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_LSF",
- "IND_MID_FRAME_LSF_INDEX",
- "IND_ISF_0_0",
- "IND_ISF_0_1",
- "IND_ISF_0_2",
- "IND_ISF_0_3",
- "IND_ISF_0_4",
- "IND_ISF_1_0",
- "IND_ISF_1_1",
- "IND_ISF_1_2",
- "IND_ISF_1_3",
- "IND_ISF_1_4",
- "IND_IC_LSF_PRED",
- "IND_GSC_ATTACK",
- "IND_GSC_SWB_SPEECH",
- "IND_NOISE_LEVEL",
- "IND_HF_NOISE",
- "IND_PIT_CONTR_IDX",
- "IND_FEC_CLAS",
- "IND_FEC_ENR",
- "IND_FEC_POS",
- "IND_ES_PRED",
- "IND_HARM_FLAG_ACELP",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "IND_ALG_CDBK_4T64_2_24KBIT",
- "TAG_ALG_CDBK_4T64_24KBIT_END",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "IND_HF_GAIN_MODIFICATION",
- "TAG_ACELP_SUBFR_LOOP_END",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_MEAN_GAIN2",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_TMP",
- "IND_Y_GAIN_HF",
- "IND_HQ_VOICING_FLAG",
- "IND_HQ_SWB_CLAS",
- "IND_NF_IDX",
- "IND_LC_MODE",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_YNRM",
- "IND_SWB_FENV_HQ",
- "IND_SWB_FENV_HQ",
- "IND_SWB_FENV_HQ",
- "IND_SWB_FENV_HQ",
- "IND_SWB_FENV_HQ",
- "IND_FB_FENV_HQ",
- "IND_FB_FENV_HQ",
- "IND_FB_FENV_HQ",
- "IND_FB_FENV_HQ",
- "IND_FB_FENV_HQ",
- "IND_DELTA_ENV_HQ",
- "IND_HVQ_BWE_NL",
- "IND_HVQ_BWE_NL",
- "IND_NUM_PEAKS",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_POS_IDX",
- "IND_FLAGN",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_PG_IDX",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_PEAKS",
- "IND_HVQ_NF_GAIN",
- "IND_HVQ_NF_GAIN",
- "IND_HQ2_SWB_CLAS",
- "IND_HQ2_DENG_MODE",
- "IND_HQ2_DENG_8SMODE",
- "IND_HQ2_DENG_8SMODE_N0",
- "IND_HQ2_DENG_8SMODE_N1",
- "IND_HQ2_DENG_8SPOS",
- "IND_HQ2_DENG_8SDEPTH",
- "IND_HQ2_DENG_HMODE",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_DIFF_ENERGY",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_P2A_FLAGS",
- "IND_HQ2_LAST_BA_MAX_BAND",
- "IND_HQ2_LAST_BA_MAX_BAND",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_START",
- "IND_RC_END",
- "IND_HVQ_PVQ_GAIN",
- "IND_HVQ_PVQ_GAIN",
- "IND_HVQ_PVQ_GAIN",
- "IND_HVQ_PVQ_GAIN",
- "IND_HVQ_PVQ_GAIN",
- "IND_HVQ_PVQ_GAIN",
- "IND_HVQ_PVQ_GAIN",
- "IND_HVQ_PVQ_GAIN",
- "IND_NOISINESS",
- "IND_ENERGY",
- "IND_CNG_HO",
- "IND_SID_BW",
- "IND_CNG_ENV1",
- "IND_WB_FENV",
- "IND_WB_CLASS",
- "IND_IG1",
- "IND_IG2A",
- "IND_IG2B",
- "IND_NELP_FID",
- "IND_DELTALAG",
- "IND_POWER",
- "IND_AMP0",
- "IND_AMP1",
- "IND_GLOBAL_ALIGNMENT",
- "IND_PVQ_FINE_GAIN",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_UV_FLAG",
- "IND_SHB_SUBGAIN",
- "IND_SHB_FRAMEGAIN",
- "IND_STEREO_ICBWE_MSFLAG",
- "IND_SHB_ENER_SF",
- "IND_SHB_RES_GS",
- "IND_SHB_RES_GS",
- "IND_SHB_RES_GS",
- "IND_SHB_RES_GS",
- "IND_SHB_RES_GS",
- "IND_SHB_VF",
- "IND_SHB_LSF",
- "IND_SHB_LSF",
- "IND_SHB_LSF",
- "IND_SHB_LSF",
- "IND_SHB_LSF",
- "IND_SHB_MIRROR",
- "IND_SHB_GRID",
- "IND_SWB_CLASS",
- "IND_SWB_TENV",
- "IND_SWB_TENV",
- "IND_SWB_TENV",
- "IND_SWB_TENV",
- "IND_SWB_FENV",
- "IND_SWB_FENV",
- "IND_SWB_FENV",
- "IND_SWB_FENV",
- "IND_SHB_CNG_GAIN",
- "IND_DITHERING",
- "IND_FB_SLOPE",
- "IND_HQ2_SPT_SHORTEN",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_TCQ",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_SUBBAND_GAIN",
- "IND_HQ2_DUMMY",
- "IND_LAGINDICES",
- "IND_NOISEG",
- "IND_AUDIO_GAIN",
- "IND_AUDIO_DELAY",
- "IND_AUDIO_DELAY",
- "IND_AUDIO_DELAY",
- "IND_AUDIO_DELAY",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "IND_NQ2",
- "TAG_HR_BWE_LOOP_END",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_CELP_SUBFRAME",
- "IND_CORE_SWITCHING_AUDIO_DELAY",
- "IND_CORE_SWITCHING_AUDIO_GAIN",
- "IND_STEREO_ICBWE_REF",
- "IND_STEREO_ICBWE_SP",
- "IND_STEREO_ICBWE_GS",
- "IND_STEREO_REFCHAN",
- "IND_STEREO_CORRSTATS",
- "IND_STEREO_GD",
- "IND_STEREO_LRTD_FLAG",
- "IND_STEREO_LPC_REUSE",
- "IND_STEREO_TD_ALPHA",
- "IND_STEREO_2ND_CODER_T",
- "IND_UNUSED"
-};
-#endif
/*-------------------------------------------------------------------*
* push_indice()
@@ -2794,20 +848,11 @@ const char *named_indices_table[] = {
* Push a new indice into the buffer
*-------------------------------------------------------------------*/
-#ifdef DEBUG_BS_READ_WRITE
-ivas_error push_indice_(
-#else
ivas_error push_indice(
-#endif
BSTR_ENC_HANDLE hBstr, /* i/o: encoder bitstream handle */
int16_t id, /* i : ID of the indice */
uint16_t value, /* i : value of the quantized indice */
int16_t nb_bits /* i : number of bits used to quantize the indice */
-#ifdef DEBUG_BS_READ_WRITE
- ,
- int16_t line,
- const char *func
-#endif
)
{
int16_t i;
@@ -2816,30 +861,11 @@ ivas_error push_indice(
error = IVAS_ERR_OK;
-#ifdef DEBUG_BS_READ_WRITE
- printf( "%s: %d: %d: %d\n", func, line, nb_bits, value );
-#endif
-#ifdef DEBUGGING
- if ( nb_bits < ( 32 - 1 ) && ( value >> nb_bits ) > 0 )
- {
- return IVAS_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 )
- {
- return IVAS_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 );
- }
-
-#endif
/* check the limits of the list of indices */
if ( ( error = check_ind_list_limits( hBstr ) ) != IVAS_ERR_OK )
{
-#ifdef DEBUGGING
- return IVAS_ERROR( error, "Error occured in push_indice() while re-allocating the list of indices (frame %d) !\n", frame );
-#else
return IVAS_ERROR( error, "Error occured in push_indice() while re-allocating the list of indices!\n" );
-#endif
}
/* find the location in the list of indices based on ID */
@@ -2857,9 +883,6 @@ ivas_error push_indice(
hBstr->ind_list[j].id = hBstr->ind_list[j - 1].id;
hBstr->ind_list[j].nb_bits = hBstr->ind_list[j - 1].nb_bits;
hBstr->ind_list[j].value = hBstr->ind_list[j - 1].value;
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- strncpy( hBstr->ind_list[j].function_name, hBstr->ind_list[j - 1].function_name, 100 );
-#endif
}
}
@@ -2868,9 +891,6 @@ ivas_error push_indice(
hBstr->ind_list[i].id = id;
hBstr->ind_list[i].value = value;
hBstr->ind_list[i].nb_bits = nb_bits;
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- strncpy( hBstr->ind_list[i].function_name, named_indices_table[id], 100 );
-#endif
/* updates */
hBstr->nb_ind_tot++;
@@ -2885,12 +905,7 @@ ivas_error push_indice(
* Push a new indice into the buffer at the next position
*-------------------------------------------------------------------*/
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
-ivas_error push_next_indice_(
- const char *caller,
-#else
ivas_error push_next_indice(
-#endif
BSTR_ENC_HANDLE hBstr, /* i/o: encoder bitstream handle */
uint16_t value, /* i : value of the quantized indice */
int16_t nb_bits /* i : number of bits used to quantize the indice */
@@ -2901,18 +916,6 @@ ivas_error push_next_indice(
error = IVAS_ERR_OK;
-#ifdef DEBUGGING
- if ( nb_bits < ( 32 - 1 ) && ( value >> nb_bits ) > 0 )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Indice with value %d exceeds the range of %d bits (frame %d) !\n", value, nb_bits, frame );
- }
-
- if ( nb_bits > 16 )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Indice with value %d is trying to allocate %d bits which exceeds 16 bits !\n", value, nb_bits );
- }
-
-#endif
/* check the limits of the list of indices */
if ( ( error = check_ind_list_limits( hBstr ) ) != IVAS_ERR_OK )
@@ -2934,9 +937,6 @@ ivas_error push_next_indice(
hBstr->ind_list[hBstr->nb_ind_tot].id = prev_id;
hBstr->ind_list[hBstr->nb_ind_tot].value = value;
hBstr->ind_list[hBstr->nb_ind_tot].nb_bits = nb_bits;
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- strncpy( hBstr->ind_list[hBstr->nb_ind_tot].function_name, caller, 100 );
-#endif
/* updates */
hBstr->nb_ind_tot++;
@@ -2951,12 +951,7 @@ ivas_error push_next_indice(
* Push a bit buffer into the buffer at the next position
*-------------------------------------------------------------------*/
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
-ivas_error push_next_bits_(
- const char *caller,
-#else
ivas_error push_next_bits(
-#endif
BSTR_ENC_HANDLE hBstr, /* i/o: encoder bitstream handle */
const uint16_t bits[], /* i : bit buffer to pack, sequence of single bits */
const int16_t nb_bits /* i : number of bits to pack */
@@ -2990,20 +985,13 @@ ivas_error push_next_bits(
/* check the limits of the list of indices */
if ( ( error = check_ind_list_limits( hBstr ) ) != IVAS_ERR_OK )
{
-#ifdef DEBUGGING
- return IVAS_ERROR( error, "Error occured in push_next_bits() while re-allocating the list of indices (frame %d) !\n", frame );
-#else
return IVAS_ERROR( error, "Error occured in push_next_bits() while re-allocating the list of indices!\n" );
-#endif
}
ptr = &hBstr->ind_list[hBstr->nb_ind_tot];
ptr->value = code;
ptr->nb_bits = 16;
ptr->id = prev_id;
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- strncpy( ptr->function_name, caller, 100 );
-#endif
hBstr->nb_ind_tot++;
++ptr;
}
@@ -3013,20 +1001,13 @@ ivas_error push_next_bits(
/* check the limits of the list of indices */
if ( ( error = check_ind_list_limits( hBstr ) ) != IVAS_ERR_OK )
{
-#ifdef DEBUGGING
- return IVAS_ERROR( error, "Error occured in push_next_bits() while re-allocating the list of indices (frame %d) !\n", frame );
-#else
return IVAS_ERROR( error, "Error occured in push_next_bits() while re-allocating the list of indices!\n" );
-#endif
}
ptr = &hBstr->ind_list[hBstr->nb_ind_tot];
ptr->value = bits[i];
ptr->nb_bits = 1;
ptr->id = prev_id;
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- strncpy( ptr->function_name, caller, 100 );
-#endif
hBstr->nb_ind_tot++;
++ptr;
}
@@ -3096,9 +1077,6 @@ uint16_t delete_indice(
hBstr->ind_list[j].id = hBstr->ind_list[i].id;
hBstr->ind_list[j].value = hBstr->ind_list[i].value;
hBstr->ind_list[j].nb_bits = hBstr->ind_list[i].nb_bits;
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- strncpy( hBstr->ind_list[j].function_name, hBstr->ind_list[i].function_name, 100 );
-#endif
}
j++;
@@ -3110,9 +1088,6 @@ uint16_t delete_indice(
{
/* reset the shifted indices at the end of the list */
hBstr->ind_list[j].nb_bits = -1;
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- sprintf( hBstr->ind_list[j].function_name, "RESET in delete_indice" );
-#endif
}
return i - j;
@@ -3126,18 +1101,9 @@ uint16_t delete_indice(
*-------------------------------------------------------------------*/
/*! r: value of the indice */
-#ifdef DEBUG_BS_READ_WRITE
-uint16_t get_next_indice_(
-#else
uint16_t get_next_indice(
-#endif
Decoder_State *st, /* i/o: decoder state structure */
int16_t nb_bits /* i : number of bits that were used to quantize the indice */
-#ifdef DEBUG_BS_READ_WRITE
- ,
- int16_t line,
- const char *func
-#endif
)
{
uint16_t value;
@@ -3160,9 +1126,6 @@ uint16_t get_next_indice(
value <<= 1;
value += st->bit_stream[st->next_bit_pos + i];
}
-#ifdef DEBUG_BS_READ_WRITE
- printf( "%s: %d: %d: %d\n", func, line, nb_bits, value );
-#endif
/* update the position in the bitstream */
st->next_bit_pos += nb_bits;
@@ -3219,19 +1182,10 @@ void get_next_indice_tmp(
*-------------------------------------------------------------------*/
/*! r: value of the indice */
-#ifdef DEBUG_BS_READ_WRITE
-uint16_t get_indice_(
-#else
uint16_t get_indice(
-#endif
Decoder_State *st, /* i/o: decoder state structure */
int16_t pos, /* i : absolute position in the bitstream (update after the read) */
int16_t nb_bits /* i : number of bits that were used to quantize the indice */
-#ifdef DEBUG_BS_READ_WRITE
- ,
- int16_t line,
- const char *func
-#endif
)
{
uint16_t value;
@@ -3255,9 +1209,6 @@ uint16_t get_indice(
value <<= 1;
value += st->bit_stream[pos + i];
}
-#ifdef DEBUG_BS_READ_WRITE
- printf( "%s: %d: %d: %d\n", func, line, nb_bits, value );
-#endif
return value;
}
@@ -3376,9 +1327,6 @@ static int16_t write_indices_to_stream(
int16_t i, k;
int16_t value, nb_bits;
uint16_t mask;
-#ifdef ENABLE_BITRATE_VERIFICATION
- int16_t total_nb_bits = 0;
-#endif
for ( i = 0; i < num_indices; i++ )
{
@@ -3387,9 +1335,6 @@ static int16_t write_indices_to_stream(
if ( nb_bits > 0 )
{
-#ifdef ENABLE_BITRATE_VERIFICATION
- total_nb_bits += nb_bits;
-#endif
/* mask from MSB to LSB */
mask = 1 << ( nb_bits - 1 );
@@ -3410,22 +1355,8 @@ static int16_t write_indices_to_stream(
mask >>= 1;
}
}
-#ifdef DEBUGGING
- else if ( nb_bits == 0 )
- {
- /* fprintf( stderr, "Warning: %s: nb_bits == 0!\n", __func__ ); */
- }
- else
- {
- /* fprintf( stderr, "Warning: %s: nb_bits == %d!\n", __func__, nb_bits ); */
- }
-#endif
}
-#ifdef ENABLE_BITRATE_VERIFICATION
- return total_nb_bits;
-#else
return 0;
-#endif
}
/*-------------------------------------------------------------------*
@@ -3451,9 +1382,6 @@ static ivas_error write_indices_element(
Indice *ind_list_metadata;
int16_t n, n_channels;
-#ifdef ENABLE_BITRATE_VERIFICATION
- int16_t total_nb_bits;
-#endif
ivas_error error;
error = IVAS_ERR_OK;
@@ -3491,12 +1419,6 @@ static ivas_error write_indices_element(
nb_ind_tot_metadata = st_ivas->hCPE[element_id]->hMetaData->nb_ind_tot;
}
}
-#ifdef DEBUGGING
- else
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Error: Bitstream writing error in frame %d. Exiting!\n", frame );
- }
-#endif
}
n_channels = 1;
@@ -3526,105 +1448,21 @@ static ivas_error write_indices_element(
pt_stream_loc += nb_bits_tot_metadata - 1;
pt_stream_end = pt_stream_loc + 1;
-#ifdef ENABLE_BITRATE_VERIFICATION
- total_nb_bits =
-#endif
- write_indices_to_stream( ind_list_metadata, &pt_stream_loc, -1,
- nb_ind_tot_metadata );
+ write_indices_to_stream( ind_list_metadata, &pt_stream_loc, -1,
+ nb_ind_tot_metadata );
-#ifdef ENABLE_BITRATE_VERIFICATION
- if ( total_nb_bits != nb_bits_tot_metadata )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Bitstream write size mismatch! Written bits: %d vs. Reference bits: %d\n", total_nb_bits, nb_bits_tot_metadata );
- }
-#endif
/* restore previous pointer position */
pt_stream_loc = pt_stream_backup;
}
-#ifdef ENABLE_BITRATE_VERIFICATION
- total_nb_bits =
-#endif
- write_indices_to_stream( sts[n]->hBstr->ind_list, &pt_stream_loc, 1,
- sts[n]->hBstr->nb_ind_tot );
+ write_indices_to_stream( sts[n]->hBstr->ind_list, &pt_stream_loc, 1,
+ sts[n]->hBstr->nb_ind_tot );
-#ifdef ENABLE_BITRATE_VERIFICATION
- if ( total_nb_bits != sts[n]->hBstr->nb_bits_tot )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Bitstream write size mismatch! Written bits: %d vs. Reference bits: %d\n", total_nb_bits, sts[n]->hBstr->nb_bits_tot );
- }
-#endif
if ( pt_stream_loc > pt_stream_end )
{
pt_stream_end = pt_stream_loc;
}
}
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
- if ( is_SCE ) /* EVS and SCE */
- {
- static FILE *f1 = 0;
-
- if ( f1 == 0 )
- f1 = fopen( "bitstream_text", "w" );
-
- for ( int16_t i = 0; i < sts[0]->hBstr->nb_ind_tot; i++ )
- {
- Indice *ind_list = sts[0]->hBstr->ind_list;
- int16_t value = ind_list[i].value;
- int16_t nb_bits = ind_list[i].nb_bits;
- char *function_name = ind_list[i].function_name;
-
- fprintf( f1, "%d %d %d %s %d %d\n", frame, element_id, i, function_name, nb_bits, value );
- }
-
- if ( st_ivas->hSCE[element_id]->hMetaData != NULL )
- {
- for ( int16_t i = 0; i < st_ivas->hSCE[element_id]->hMetaData->nb_ind_tot; i++ )
- {
- Indice *ind_list = st_ivas->hSCE[element_id]->hMetaData->ind_list;
- int16_t value = ind_list[i].value;
- int16_t nb_bits = ind_list[i].nb_bits;
- char *function_name = ind_list[i].function_name;
-
- fprintf( f1, "%d %d %d %s %d %d\n", frame, element_id, i, function_name, nb_bits, value );
- }
- }
- }
- else
- {
- static FILE *f1 = 0;
-
- if ( f1 == 0 )
- f1 = fopen( "bitstream_text", "w" );
-
-
- for ( n = 0; n < n_channels; n++ )
- {
- for ( int16_t i = 0; i < sts[n]->hBstr->nb_ind_tot; i++ )
- {
- Indice *ind_list = sts[n]->hBstr->ind_list;
- int16_t value = ind_list[i].value;
- int16_t nb_bits = ind_list[i].nb_bits;
- char *function_name = ind_list[i].function_name;
-
- fprintf( f1, "%d %d %d %d %s %d %d\n", frame, element_id, n, i, function_name, nb_bits, value );
- }
- }
-
- if ( st_ivas->hCPE[element_id]->hMetaData != NULL )
- {
- for ( int16_t i = 0; i < st_ivas->hCPE[element_id]->hMetaData->nb_ind_tot; i++ )
- {
- Indice *ind_list = st_ivas->hCPE[element_id]->hMetaData->ind_list;
- int16_t value = ind_list[i].value;
- int16_t nb_bits = ind_list[i].nb_bits;
- char *function_name = ind_list[i].function_name;
-
- fprintf( f1, "%d %d %d %d %s %d %d\n", frame, element_id, -1, i, function_name, nb_bits, value );
- }
- }
- }
-#endif
/*----------------------------------------------------------------*
* Clearing of indices
@@ -3674,11 +1512,6 @@ ivas_error write_indices_ivas(
{
int16_t i, n;
uint16_t *pt_stream;
-#ifdef ENABLE_BITRATE_VERIFICATION
- Encoder_State **sts;
- int32_t ivas_total_brate;
- int16_t ch;
-#endif
ivas_error error;
error = IVAS_ERR_OK;
@@ -3689,45 +1522,6 @@ ivas_error write_indices_ivas(
bit_stream[i] = 0;
}
-#ifdef ENABLE_BITRATE_VERIFICATION
- i = 0;
-
- for ( n = 0; n < st_ivas->nSCE; n++ )
- {
- sts = st_ivas->hSCE[n]->hCoreCoder;
- i += sts[0]->hBstr->nb_bits_tot;
-
- if ( st_ivas->hSCE[n]->hMetaData != NULL )
- {
- i += st_ivas->hSCE[n]->hMetaData->nb_bits_tot;
- }
- }
-
- for ( n = 0; n < st_ivas->nCPE; n++ )
- {
- sts = st_ivas->hCPE[n]->hCoreCoder;
- for ( ch = 0; ch < CPE_CHANNELS; ch++ )
- {
- i += sts[ch]->hBstr->nb_bits_tot;
- }
-
- if ( st_ivas->hCPE[n]->hMetaData != NULL )
- {
- i += st_ivas->hCPE[n]->hMetaData->nb_bits_tot;
- }
- }
-
- ivas_total_brate = st_ivas->hEncoderConfig->ivas_total_brate;
- if ( st_ivas->hEncoderConfig->Opt_SC_VBR )
- {
- ivas_total_brate = st_ivas->hSCE[0]->hCoreCoder[0]->total_brate;
- }
-
- if ( i * FRAMES_PER_SEC != ivas_total_brate && i >= ACELP_11k60 / FRAMES_PER_SEC )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Bitstream write size mismatch! Actual bitrate: %ld vs. Reference bitrate: %d\n", i * 50L, ivas_total_brate );
- }
-#endif
/*-----------------------------------------------------------------*
* Encode Payload
@@ -3843,9 +1637,6 @@ static void decoder_selectCodec(
st->codec_mode = MODE1;
break;
default: /* validate that total_brate (derived from RTP packet or a file header) is one of the defined bitrates */
-#ifdef DEBUGGING
- IVAS_ERROR( IVAS_ERR_INTERNAL, "Error illegal total bitrate (= %d) \n", total_brate );
-#endif
st->codec_mode = st->last_codec_mode;
st->bfi = 1;
break;
@@ -3917,12 +1708,6 @@ static void dec_prm_core(
break;
}
}
-#ifdef DEBUGGING
- if ( n == FRAME_SIZE_NB )
- {
- assert( !"Bitrate not supported: not part of EVS" );
- }
-#endif
/* Get audio bandwidth info */
st->bwidth = get_next_indice( st, FrameSizeConfig[frame_size_index].bandwidth_bits );
@@ -4021,9 +1806,6 @@ static void decision_matrix_core_dec(
while ( acelp_sig_tbl[start_idx] != st->total_brate )
{
start_idx++;
-#ifdef DEBUGGING
- assert( ( start_idx < 194 ) && "ERROR: start_idx larger than acelp_sig_tbl[].\n" );
-#endif
}
/* skip the bitrate */
@@ -4169,234 +1951,6 @@ void mdct_switching_dec(
return;
}
-#ifdef DEBUGGING
-#ifdef ALLOW_BYTE_EP
-/*-------------------------------------------------------------------*
- * ep_type_check()
- *
- *
- *-------------------------------------------------------------------*/
-static Word16 ep_type_check()
-{
- static int16_t ep_type = -1; /* 0=G192 (0x6b21 or 0x6b20), 1=byte(0x21 or 0x20) ,
- 2=ascii "0xa30" or "0xa31" , 3=short( 0x0000 or 0x0001) */
- int16_t tmp;
-
- if ( ep_type < 0 )
- {
- tmp = 0;
-
- if ( fread( &tmp, sizeof( int16_t ), 1, FEC_pattern ) != 1 )
- {
- IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Error reading first two bytes from the FEC pattern file !" );
- }
- else
- {
- switch ( tmp )
- {
- case G192_SYNC_BAD_FRAME:
- case G192_SYNC_GOOD_FRAME:
- ep_type = 0; /* G192 */
- break;
- case 0x2020: /* BAD,BAD */
- case 0x2021: /* BAD,SYNC */
- case 0x2120: /* SYNC,BAD */
- case 0x2121: /* SYNC,SYNC */
- ep_type = 1; /* byte */
- break;
- case 0xa31:
- case 0xa30:
- ep_type = 2; /* ascii */
- break;
- case 0x0000:
- case 0x0001:
- ep_type = 3; /* short */
- break;
- default:
- IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Error reading the FEC pattern file :: illegal format of the first two byte word=0x%02x ", tmp );
- IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Allowed formats are G192(0x6b20,0x6b21), byte(0x20,0x21), ASCII(\"0\n\" \"1\n\") or short(0x0000, 0x0001) \n" );
- break;
- }
-
- fseek( FEC_pattern, 0L, SEEK_SET ); /* rewind */
- }
- }
- return ep_type;
-}
-
-/*-------------------------------------------------------------------*
- * ep_flag_check_apply()
- *
- *
- *-------------------------------------------------------------------*/
-
-static Word16 ep_flag_check_apply(
- Word16 ep_type,
- Word16 tmp,
- Word16 bfi_so_far )
-{
- if ( ep_type == 0 && ( tmp == G192_SYNC_GOOD_FRAME || tmp == G192_SYNC_BAD_FRAME ) )
- { /* g192 validity check */
- if ( tmp == G192_SYNC_BAD_FRAME )
- {
- return 1;
- }
- }
- else if ( ep_type == 1 && ( tmp == 0x0021 || tmp == 0x0020 ) )
- { /* byte validity check*/
- if ( tmp == 0x0020 )
- {
- return 1;
- }
- }
- else if ( ep_type == 2 && ( tmp == 0x0a31 || tmp == 0x0a30 ) )
- { /* ascii validity check */
- if ( tmp == 0x0a31 )
- {
- return 1;
- }
- }
- else if ( ep_type == 3 && ( tmp == 0 || tmp == 1 ) )
- { /* short validity check */
- if ( tmp == 0x0001 )
- {
- return 1;
- }
- }
- else
- {
- IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Error reading the FEC pattern flag 0x%02x from the type %d FEC pattern file , frame=%d", tmp, ep_type, frame );
- }
-
- return bfi_so_far; /* no change */
-}
-
-/*-------------------------------------------------------------------*
- * read_error_flag ( )
- *
- *
- *-------------------------------------------------------------------*/
-
-static Word16 read_error_flag(
- Word16 bfi_so_far )
-{
- Word16 tmp;
- Word16 ep_type;
- Word16 wrap;
- wrap = 0;
-
- ep_type = ep_type_check();
- tmp = 0;
-
- if ( ( ep_type == 1 ) ? ( fread( &tmp, sizeof( int8_t ), 1, FEC_pattern ) != 1 ) /* read byte directly stored in short variable */
- : ( fread( &tmp, sizeof( int16_t ), 1, FEC_pattern ) != 1 ) )
- {
- if ( feof( FEC_pattern ) != 0 )
- {
- wrap = 1; /* wrap event flag */
- fseek( FEC_pattern, 0L, SEEK_SET );
-#ifndef WRAP_AS_EIDXOR
- /* good frame injected in wrap event */
- switch ( ep_type )
- {
- case 0:
- tmp = SYNC_GOOD_FRAME;
- break;
- case 1:
- tmp = 0x21;
- break;
- case 2:
- tmp = 0x0a30;
- break;
- default:
- tmp = 0;
- break; /* 4: short */
- }
-#endif
- }
- else
- {
- IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Error reading the FEC pattern file !" );
- }
- }
-#ifdef WRAP_AS_EIDXOR
- if ( wrap != 0 ) /* wrap file and read again, try to get the next flag , */
- {
- tmp = 0; /* needed for byte re-reading */
- if ( ( ep_type == 1 ) ? ( fread( &tmp, sizeof( int8_t ), 1, FEC_pattern ) != 1 ) /* read byte directly stored in short variable */
- : ( fread( &tmp, sizeof( int16_t ), 1, FEC_pattern ) != 1 ) )
- {
- IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Error reading the wrapped FEC pattern file !" );
- }
- }
-
- return ep_flag_check_apply( ep_type, tmp, bfi_so_far );
-#else
- if ( wrap == 0 )
- {
- return ep_flag_check_apply( ep_type, tmp, bfi_so_far );
- }
- else
- {
- return bfi_so_far;
- }
-#endif
-}
-#endif
-#endif
-
-
-#ifdef DEBUGGING
-/*-------------------------------------------------------------------*
- * file_read_FECpattern()
- *
- * Simulate packet losses by reading FEC pattern from external file
- *-------------------------------------------------------------------*/
-
-static ivas_error file_read_FECpattern(
- int16_t *bfi )
-{
- ivas_error error;
-
- error = IVAS_ERR_OK;
- *bfi = 0;
-
- /* FEC pattern file provided */
- if ( FEC_pattern != NULL )
- {
- int16_t tmp = 0;
- if ( fread( &tmp, sizeof( int16_t ), 1, FEC_pattern ) != 1 )
- {
- if ( feof( FEC_pattern ) != 0 )
- {
-#ifdef WRAP_AS_EIDXOR
- fseek( FEC_pattern, 0L, SEEK_SET );
- fread( &tmp, sizeof( int16_t ), 1, FEC_pattern );
-#else
- tmp = 0;
- fseek( FEC_pattern, 0L, SEEK_SET );
-#endif
- }
- else
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Error reading the FEC pattern file !" );
- }
- }
-
- if ( tmp == 2609 || tmp == 1 || tmp == (uint16_t) 0x6B20 /* == G192_SYNC_BAD_FRAME */ )
- {
- *bfi = 1;
- }
- else
- {
- *bfi = 0;
- }
- }
-
- return error;
-}
-#endif
-
/*-------------------------------------------------------------------*
* reset_elements()
@@ -4476,275 +2030,6 @@ void ivas_set_bitstream_pointers(
return;
}
-#ifdef DEBUGGING
-
-/*-------------------------------------------------------------------*
- * preview_indices()
- *
- * Read indices from serial bitstream to the buffer to print out info
- * about technologies.
- *
- * !!The read parmeters are temporary only and not used for decoding!!
- *-------------------------------------------------------------------*/
-
-ivas_error preview_indices(
- Decoder_Struct *st_ivas, /* i/o: IVAS decoder structure */
- uint16_t bit_stream[], /* i : bitstream buffer */
- UWord16 num_bits /* i : number of bits in bitstream */
-)
-{
- int16_t k, idx;
- int32_t total_brate;
- ivas_error error;
-
- error = IVAS_ERR_OK;
-
- /* convert the frame length to total bitrate */
- total_brate = (int32_t) ( num_bits * FRAMES_PER_SEC );
-
- if ( st_ivas->ivas_format != MONO_FORMAT && is_DTXrate( total_brate ) == 0 )
- {
- /* read IVAS format */
- k = 0;
- if ( bit_stream[0] == 1 )
- {
- k = 1;
- }
- k <<= 1;
- if ( bit_stream[1] == 1 )
- {
- k += 1;
- }
-
- switch ( k )
- {
- case 0:
- st_ivas->ivas_format = STEREO_FORMAT;
- break;
- case 1:
- st_ivas->ivas_format = MC_FORMAT;
- break;
- case 2:
- st_ivas->ivas_format = ISM_FORMAT;
-
- if ( total_brate >= IVAS_24k4 )
- {
- if ( bit_stream[2] )
- {
- if ( bit_stream[3] )
- {
- st_ivas->ivas_format = SBA_ISM_FORMAT;
- }
- else
- {
- st_ivas->ivas_format = MASA_ISM_FORMAT;
- }
- }
- }
- break;
- case 3:
- if ( bit_stream[2] == 0 )
- {
- st_ivas->ivas_format = SBA_FORMAT;
- }
- else
- {
- st_ivas->ivas_format = MASA_FORMAT;
- }
- break;
- }
- }
- else if ( total_brate == IVAS_SID_5k2 )
- {
- /* read SID format */
- st_ivas->sid_format = 0;
- if ( bit_stream[0] == 1 )
- {
- st_ivas->sid_format += 4;
- }
- if ( bit_stream[1] == 1 )
- {
- st_ivas->sid_format += 2;
- }
- if ( bit_stream[2] == 1 )
- {
- st_ivas->sid_format += 1;
- }
-
- switch ( st_ivas->sid_format )
- {
- case SID_DFT_STEREO:
- st_ivas->element_mode_init = IVAS_CPE_DFT;
- st_ivas->ivas_format = STEREO_FORMAT;
- break;
- case SID_MDCT_STEREO:
- st_ivas->element_mode_init = IVAS_CPE_MDCT;
- st_ivas->ivas_format = STEREO_FORMAT;
- break;
- case SID_ISM:
- st_ivas->ivas_format = ISM_FORMAT;
- break;
- case SID_SBA_1TC:
- st_ivas->ivas_format = SBA_FORMAT;
- st_ivas->element_mode_init = IVAS_SCE;
- break;
- case SID_SBA_2TC:
- st_ivas->ivas_format = SBA_FORMAT;
- st_ivas->element_mode_init = IVAS_CPE_MDCT;
- break;
- case SID_MASA_1TC:
- st_ivas->ivas_format = MASA_FORMAT;
- st_ivas->element_mode_init = IVAS_SCE;
- break;
- case SID_MASA_2TC:
- st_ivas->ivas_format = MASA_FORMAT;
- if ( bit_stream[total_brate / FRAMES_PER_SEC - 1] == 1 )
- {
- st_ivas->element_mode_init = IVAS_CPE_MDCT;
- }
- else
- {
- st_ivas->element_mode_init = IVAS_CPE_DFT;
- }
- break;
- default:
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Invalid value %c found in SID format field.", st_ivas->sid_format );
- }
- }
-
- /* only read element mode from active frames */
- if ( is_DTXrate( total_brate ) == 0 )
- {
- /* read element_mode - needed in init_decoder() */
- if ( st_ivas->ivas_format == STEREO_FORMAT || st_ivas->ivas_format == MC_FORMAT || st_ivas->ivas_format == MASA_FORMAT )
- {
- if ( st_ivas->ivas_format == MASA_FORMAT )
- {
- /* read number of MASA transport channels */
- if ( bit_stream[num_bits - 1] == 1 )
- {
- st_ivas->nchan_transport = 2;
- }
- else
- {
- st_ivas->nchan_transport = 1;
- }
- }
-
- if ( st_ivas->ivas_format == MC_FORMAT )
- {
- /* read MC configuration */
- idx = 0;
- for ( k = 0; k < MC_LS_SETUP_BITS; k++ )
- {
- if ( bit_stream[IVAS_FORMAT_SIGNALING_NBITS + k] == 1 )
- {
- idx += ( 1 << ( MC_LS_SETUP_BITS - 1 - k ) );
- }
- }
- st_ivas->transport_config = ivas_mc_map_ls_setup_to_output_config( (MC_LS_SETUP) idx );
- }
-
- if ( !( st_ivas->ivas_format == MASA_FORMAT && st_ivas->nchan_transport == 1 ) && st_ivas->ivas_format != MC_FORMAT )
- {
- /* read stereo technology info */
- k = IVAS_FORMAT_SIGNALING_NBITS;
- if ( st_ivas->ivas_format == MASA_FORMAT )
- {
- k = IVAS_FORMAT_SIGNALING_NBITS_EXTENDED;
- }
-
- if ( total_brate < MIN_BRATE_MDCT_STEREO )
- {
- /* 1 bit */
- if ( bit_stream[k] == 1 )
- {
- st_ivas->element_mode_init = 1 + IVAS_CPE_DFT;
- }
- else
- {
- st_ivas->element_mode_init = 0 + IVAS_CPE_DFT;
- }
- }
- else
- {
- st_ivas->element_mode_init = IVAS_CPE_MDCT;
- }
- }
- }
- else if ( st_ivas->ivas_format == ISM_FORMAT )
- {
- /* read number of objects from the bitstream */
- st_ivas->nchan_transport = 1;
-
- k = (int16_t) ( ( total_brate / FRAMES_PER_SEC ) - 1 );
- while ( bit_stream[k] == 1 && st_ivas->nchan_transport < MAX_NUM_OBJECTS )
- {
- st_ivas->nchan_transport++;
- k--;
- }
- st_ivas->transport_config = IVAS_AUDIO_CONFIG_EXTERNAL + st_ivas->nchan_transport;
-
- st_ivas->ism_mode = ivas_ism_mode_select( st_ivas->nchan_transport, total_brate );
- st_ivas->nSCE = st_ivas->nchan_transport;
- }
- else if ( st_ivas->ivas_format == SBA_FORMAT )
- {
- /* Read SBA planar flag and SBA order */
- st_ivas->sba_planar = ( bit_stream[IVAS_FORMAT_SIGNALING_NBITS_EXTENDED] == 1 );
- st_ivas->sba_order = ( bit_stream[IVAS_FORMAT_SIGNALING_NBITS_EXTENDED + 2] == 1 );
- st_ivas->sba_order += 2 * ( bit_stream[IVAS_FORMAT_SIGNALING_NBITS_EXTENDED + 1] == 1 );
-
- st_ivas->sba_analysis_order = ivas_sba_get_analysis_order( total_brate, st_ivas->sba_order );
-
- ivas_sba_config( total_brate, st_ivas->sba_analysis_order, -1, &( st_ivas->nchan_transport ), st_ivas->sba_planar, &( st_ivas->nSCE ), &( st_ivas->nCPE ), &( st_ivas->element_mode_init ) );
- }
- else if ( st_ivas->ivas_format == SBA_ISM_FORMAT )
- {
- /* read number of objects from the bitstream */
- if ( total_brate != SID_2k40 && total_brate != FRAME_NO_DATA )
- {
- st_ivas->nchan_ism = 2 * bit_stream[total_brate / FRAMES_PER_SEC - 1] + bit_stream[total_brate / FRAMES_PER_SEC - 2] + 1;
- st_ivas->ism_mode = ISM_SBA_MODE_DISC;
- }
-
- /* Read SBA planar flag and SBA order */
- st_ivas->sba_planar = ( bit_stream[IVAS_FORMAT_SIGNALING_NBITS_EXTENDED + IVAS_COMBINED_FORMAT_SIGNALLING_BITS] == 1 );
-
- if ( total_brate >= IVAS_256k )
- {
- st_ivas->sba_order = ( bit_stream[IVAS_FORMAT_SIGNALING_NBITS_EXTENDED + IVAS_COMBINED_FORMAT_SIGNALLING_BITS + 2] == 1 );
- st_ivas->sba_order += 2 * ( bit_stream[IVAS_FORMAT_SIGNALING_NBITS_EXTENDED + IVAS_COMBINED_FORMAT_SIGNALLING_BITS + 1] == 1 );
- }
- else
- {
- st_ivas->sba_order = 3;
- }
-
- st_ivas->sba_analysis_order = ivas_sba_get_analysis_order( total_brate, st_ivas->sba_order );
-
- ivas_sba_config( total_brate, st_ivas->sba_analysis_order, -1, &( st_ivas->nchan_transport ), st_ivas->sba_planar, &( st_ivas->nSCE ), &( st_ivas->nCPE ), &( st_ivas->element_mode_init ) );
- }
- else if ( st_ivas->ivas_format == MASA_ISM_FORMAT )
- {
- /* read number of objects from the bitstream */
- st_ivas->nchan_transport = 2; /* always 2 MASA transport channels */
- st_ivas->nchan_ism = 0;
-
- if ( total_brate != SID_2k40 && total_brate != FRAME_NO_DATA )
- {
- st_ivas->nchan_ism = 2 * bit_stream[total_brate / FRAMES_PER_SEC - 1] + bit_stream[total_brate / FRAMES_PER_SEC - 2] + 1;
- st_ivas->ism_mode = ivas_omasa_ism_mode_select( total_brate, st_ivas->nchan_ism );
- }
- }
- }
-
- st_ivas->hDecoderConfig->ivas_total_brate = total_brate;
-
- return error;
-}
-
-#endif
/*-------------------------------------------------------------------*
* read_indices()
@@ -4778,20 +2063,7 @@ ivas_error read_indices(
st_ivas->BER_detect = 0;
sts = reset_elements( st_ivas );
-#ifdef DEBUGGING
- file_read_FECpattern( &st_ivas->bfi );
- st_ivas->bfi |= bfi;
-
- if ( bfi == FRAMEMODE_MISSING )
- {
- for ( k = 0; k < num_bits; k++ )
- {
- bit_stream[k] = 0;
- }
- }
-#else
st_ivas->bfi = bfi;
-#endif
/* convert the frame length to total bitrate */
total_brate = (int32_t) ( num_bits * FRAMES_PER_SEC );
@@ -5409,20 +2681,3 @@ void evs_dec_previewFrame(
return;
}
-#ifndef NONBE_MDCT_ST_DTX_FIX_SUBOPT_SPATIAL_CNG
-
-void dtx_read_padding_bits(
- DEC_CORE_HANDLE st,
- const int16_t num_bits )
-{
- /* TODO: temporary hack, need to decide what to do with core-coder bitrate */
- int32_t tmp;
-
- tmp = st->total_brate;
- st->total_brate = st->total_brate + num_bits * FRAMES_PER_SEC;
- get_next_indice( st, num_bits );
- st->total_brate = tmp;
-
- return;
-}
-#endif
diff --git a/lib_com/calc_st_com.c b/lib_com/calc_st_com.c
index bfe954af39a6703992e98c3f4095bea43c9b9634..9bf8d540ee46001224f3140955b7723d10aefd9c 100644
--- a/lib_com/calc_st_com.c
+++ b/lib_com/calc_st_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/cb_shape.c b/lib_com/cb_shape.c
index 45c88b1e98b5b5a886be1050cee4c17e00f534a4..e4ed52e46e8394899d8536a2b908ab6eb78ef293 100644
--- a/lib_com/cb_shape.c
+++ b/lib_com/cb_shape.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/cldfb.c b/lib_com/cldfb.c
index 649e5ba5229d57b27cfa9dd3ff1fc29226725963..3a21ef54daa60628ae64b922f86d012d3ea3cfd5 100644
--- a/lib_com/cldfb.c
+++ b/lib_com/cldfb.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "stat_dec.h"
#include "prot.h"
diff --git a/lib_com/cng_exc.c b/lib_com/cng_exc.c
index c631d8d11641d52868381b65910d9c737fe4ee42..19f0d34df3ce2a4a50bf33d64c99b073ff97e648 100644
--- a/lib_com/cng_exc.c
+++ b/lib_com/cng_exc.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/cnst.h b/lib_com/cnst.h
index f06e880297861d3d2aeebba9850708130def7ee0..3205d66e6484fcd9b9c89dcdbe0c7146f697ade2 100644
--- a/lib_com/cnst.h
+++ b/lib_com/cnst.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -76,16 +48,6 @@
#define DEC_IVAS 2 /* Index for IVAS decoder */
-#ifdef DEBUGGING
-#define FORCE_SPEECH 100 /* debugging - force speech on the command line */
-#define FORCE_MUSIC 101 /* debugging - force music on the command line */
-#define FORCE_ACELP 102 /* debugging - force ACELP core on the command line */
-#define FORCE_GSC 103 /* debugging - force GSC core on the command line */
-#define FORCE_TCX 104 /* debugging - force TCX core on the command line */
-#define FORCE_HQ 105 /* debugging - force HQ core on the command line */
-#define FORCE_TD_RENDERER 201
-#define FORCE_CLDFB_RENDERER 202
-#endif
enum{
NB = 0, /* Indicator of 4 kHz bandwidth */
diff --git a/lib_com/codec_tcx_common.c b/lib_com/codec_tcx_common.c
index d4822e166e6c649dbeeada776453e34da1cf4dac..e8333b0978f5d68d81ab17690eb946880e8883a6 100644
--- a/lib_com/codec_tcx_common.c
+++ b/lib_com/codec_tcx_common.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -38,9 +10,6 @@
#include "options.h"
#include
#include "prot.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
/*-------------------------------------------------------------------*
diff --git a/lib_com/common_api_types.h b/lib_com/common_api_types.h
index f4a75208b67140276c09a15db939e95448e89127..51446f4ac68fd61277c4458786aeca446cfcffc0 100644
--- a/lib_com/common_api_types.h
+++ b/lib_com/common_api_types.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#ifndef COMMON_API_TYPES_H
#define COMMON_API_TYPES_H
@@ -59,9 +31,7 @@
#define IVAS_ROOM_ABS_COEFF 6
#define IVAS_REVERB_PREDELAY_MAX 20 /* Max input delay for reverb module */
#define IVAS_ER_LIST_HEIGHT 1.6f
-#ifdef IVAS_RTPDUMP_ACOUSTIC_ENVIRONMENT
-#define IVAS_DEFAULT_AEID 65535
-#endif
+#define IVAS_DEFAULT_AEID 65535
/* JBM constants for adaptive-playout */
#define IVAS_TIME_SCALE_MIN 50 /* min. time-scaling [%] */
@@ -176,7 +146,6 @@ typedef enum
} IVAS_RENDER_FRAMESIZE;
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
typedef enum
{
IVAS_ROOM_SIZE_AUTO = -1,
@@ -184,7 +153,6 @@ typedef enum
IVAS_ROOM_SIZE_MEDIUM,
IVAS_ROOM_SIZE_LARGE
} IVAS_ROOM_SIZE_T;
-#endif
typedef struct ivas_masa_metadata_frame_struct *IVAS_MASA_METADATA_HANDLE;
typedef struct ivas_masa_decoder_ext_out_meta_struct *IVAS_MASA_DECODER_EXT_OUT_META_HANDLE;
@@ -313,21 +281,9 @@ typedef struct _ISAR_SPLIT_REND_CONFIG
* Renderer API structures and enums
*----------------------------------------------------------------------------------*/
-#ifdef DEBUGGING
-typedef enum
-{
- IVAS_RENDER_TYPE_OVERRIDE_NONE,
- IVAS_RENDER_TYPE_OVERRIDE_CREND,
- IVAS_RENDER_TYPE_OVERRIDE_FASTCONV
-
-} IVAS_RENDER_TYPE_OVERRIDE;
-
-#endif
typedef struct _IVAS_ROOM_ACOUSTICS_CONFIG
{
-#ifdef IVAS_RTPDUMP_ACOUSTIC_ENVIRONMENT
- uint16_t aeID; /* Acoustic environment ID*/
-#endif
+ uint16_t aeID; /* Acoustic environment ID*/
int16_t nBands; /* Number of frequency bands for which reverb properties are provided, integer, range [2..256] */
float pFc_input[IVAS_CLDFB_NO_CHANNELS_MAX]; /* Center frequencies for which following values are provided: */
float pAcoustic_rt60[IVAS_CLDFB_NO_CHANNELS_MAX]; /* - The room's T60 per center frequency */
@@ -346,9 +302,6 @@ typedef struct _IVAS_ROOM_ACOUSTICS_CONFIG
typedef struct _IVAS_RENDER_CONFIG
{
-#ifdef DEBUGGING
- IVAS_RENDER_TYPE_OVERRIDE renderer_type_override;
-#endif
IVAS_ROOM_ACOUSTICS_CONFIG_DATA roomAcoustics;
ISAR_SPLIT_REND_CONFIG_DATA split_rend_config;
float directivity[IVAS_MAX_NUM_OBJECTS * 3];
diff --git a/lib_com/core_com_config.c b/lib_com/core_com_config.c
index a5158b0b37bf81d9790c7473e9a5cb0fca9e7911..a256b213199bf340f0a9896fcd85c3db3dcce766 100644
--- a/lib_com/core_com_config.c
+++ b/lib_com/core_com_config.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "rom_com.h"
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/deemph.c b/lib_com/deemph.c
index ea6145813cff83f4759600f0ec72d62337fd37f3..fe937d1cd8b11a775724cf60e278f3264d3efdcc 100644
--- a/lib_com/deemph.c
+++ b/lib_com/deemph.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/delay_comp.c b/lib_com/delay_comp.c
index 16c923a436cdbd45b6668e31d832a30142ebe777..1c48a3bea5c8ae183bd6c24e1a6f8c3347cd9874 100644
--- a/lib_com/delay_comp.c
+++ b/lib_com/delay_comp.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "ivas_cnst.h"
#include "wmc_auto.h"
diff --git a/lib_com/disclaimer.c b/lib_com/disclaimer.c
index ac95ffb59c2aafa41d21dbf43ba57a03d700d345..7fbca572141d8fe8f6b1df224179986e8e1c5a2c 100644
--- a/lib_com/disclaimer.c
+++ b/lib_com/disclaimer.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#define WMC_TOOL_SKIP
diff --git a/lib_com/dlpc_bfi.c b/lib_com/dlpc_bfi.c
index b5ea583003f1b4ffb0f8b50c4d7f9b28bf769d36..39ea94fafc0ea8460a8270216f7f4df56a7a251a 100644
--- a/lib_com/dlpc_bfi.c
+++ b/lib_com/dlpc_bfi.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "rom_com.h"
#include "wmc_auto.h"
diff --git a/lib_com/edct.c b/lib_com/edct.c
index 09e6a99765bece44267f95c674d7aae9aaa6e183..b4e83492744030e918099392438a607d43b13682 100644
--- a/lib_com/edct.c
+++ b/lib_com/edct.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "rom_com.h"
#include "prot.h"
@@ -102,10 +71,6 @@ static ivas_error get_edct_table(
case 80:
*edct_table = edct_table_40;
break;
-#ifdef DEBUGGING
- default:
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "edct/edst(): length is not in table!" );
-#endif
}
return error;
@@ -275,14 +240,9 @@ void edxt(
{
for ( k = Nm1 >> 1; k > 0; k-- )
{
-#ifdef NONBE_FIX_NONBE_BETWEEN_OPTIMIZATION_LEVELS_2
volatile float angle_tmp = scale * k;
const float wRe = cosf( angle_tmp );
const float wIm = sinf( angle_tmp );
-#else
- const float wRe = cosf( scale * k );
- const float wIm = sinf( scale * k );
-#endif
y[k] /*pt 1*/ = wRe * re[k] + wIm * im[k];
y[length - k] = wIm * re[k] - wRe * im[k];
@@ -293,14 +253,9 @@ void edxt(
{
for ( k = Nm1 >> 1; k > 0; k-- )
{
-#ifdef NONBE_FIX_NONBE_BETWEEN_OPTIMIZATION_LEVELS_2
volatile float angle_tmp = scale * k;
const float wRe = cosf( angle_tmp );
const float wIm = sinf( angle_tmp );
-#else
- const float wRe = cosf( scale * k );
- const float wIm = sinf( scale * k );
-#endif
y[Nm1 - k] = wRe * re[k] + wIm * im[k];
y[k - 1] = wIm * re[k] - wRe * im[k];
@@ -316,14 +271,9 @@ void edxt(
{
for ( k = Nm1 >> 1; k > 0; k-- )
{
-#ifdef NONBE_FIX_NONBE_BETWEEN_OPTIMIZATION_LEVELS_2
volatile float angle_tmp = scale * k;
const float wRe = cosf( angle_tmp ) * 0.5f;
const float wIm = sinf( angle_tmp ) * 0.5f;
-#else
- const float wRe = cosf( scale * k ) * 0.5f;
- const float wIm = sinf( scale * k ) * 0.5f;
-#endif
re[k] = wRe * x[k] + wIm * x[length - k];
im[k] = wRe * x[length - k] - wIm * x[k];
@@ -334,14 +284,9 @@ void edxt(
{
for ( k = Nm1 >> 1; k > 0; k-- )
{
-#ifdef NONBE_FIX_NONBE_BETWEEN_OPTIMIZATION_LEVELS_2
volatile float angle_tmp = scale * k;
const float wRe = cosf( angle_tmp ) * 0.5f;
const float wIm = sinf( angle_tmp ) * 0.5f;
-#else
- const float wRe = cosf( scale * k ) * 0.5f;
- const float wIm = sinf( scale * k ) * 0.5f;
-#endif
re[k] = wRe * x[Nm1 - k] + wIm * x[k - 1];
im[k] = wRe * x[k - 1] - wIm * x[Nm1 - k];
diff --git a/lib_com/enh1632.c b/lib_com/enh1632.c
index 33b2662c6f71e5c8d27313a8b6633ecda0d67993..4fb2bd3d8e2d53669f74ab53e426095b3a2a220d 100644
--- a/lib_com/enh1632.c
+++ b/lib_com/enh1632.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*
===========================================================================
diff --git a/lib_com/enh1632.h b/lib_com/enh1632.h
index f0062dada483d293ea02f283edf75aa519a90f49..8fc93d87c84730bc1824187dd7278c0dae891a9c 100644
--- a/lib_com/enh1632.h
+++ b/lib_com/enh1632.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*
===========================================================================
diff --git a/lib_com/enh40.c b/lib_com/enh40.c
index 80ff285cece358464a7b4da491ced951553340b3..56695d5e8eb66617d251dcc8cbdbc470834185a7 100644
--- a/lib_com/enh40.c
+++ b/lib_com/enh40.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*
===========================================================================
diff --git a/lib_com/enh40.h b/lib_com/enh40.h
index a258a4869353f5bfcf078e38cf47959b7f5f26f2..46edfed2d52dcdcfcb7d1a44811b0dcaa72337e6 100644
--- a/lib_com/enh40.h
+++ b/lib_com/enh40.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*
===========================================================================
diff --git a/lib_com/enhancer.c b/lib_com/enhancer.c
index e4991be384cb948c1e405ca1f126040bc2c890b2..c46254c63e5245ca00fb38df5821e11ec3af52a6 100644
--- a/lib_com/enhancer.c
+++ b/lib_com/enhancer.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/enr_1_az.c b/lib_com/enr_1_az.c
index 9c04a16f29933f4bc9fc391da4c0de755fa78a1b..f0717ea1215700b821d8f9f745e8e7c6fc185571 100644
--- a/lib_com/enr_1_az.c
+++ b/lib_com/enr_1_az.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/env_adj.c b/lib_com/env_adj.c
index 5c85de76b9f902b8cae34763ebf49ca29b049b36..b10ef5ad249c797fc90788d529dc217931c4fe7b 100644
--- a/lib_com/env_adj.c
+++ b/lib_com/env_adj.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "rom_com.h"
#include "prot.h"
diff --git a/lib_com/env_stab.c b/lib_com/env_stab.c
index 0908ce3377dea71fe7fb952c4cbaf3f242bbc6d7..fd2491b7d84c48926a01dc14a5d998c836202090 100644
--- a/lib_com/env_stab.c
+++ b/lib_com/env_stab.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,18 +8,12 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
#include "rom_com.h"
#include "wmc_auto.h"
#include "stl.h"
-#ifdef DEBUGGING
-#include "assert.h"
-#endif
/*--------------------------------------------------------------------------*
* Local constants
@@ -108,9 +74,6 @@ float env_stability(
mem_norm[i] = ynrm[i];
}
-#ifdef DEBUGGING
- assert( nb_sfm == 27 || nb_sfm == 26 );
-#endif
inv_nb_sfm = 19418; /* Q19 */
if ( nb_sfm == 26 )
{
diff --git a/lib_com/env_stab_trans.c b/lib_com/env_stab_trans.c
index 7d18fad77dc07bf6942306d581117e2a4acf476b..1eb7dcbb0fea78921849662ba602481891272578 100644
--- a/lib_com/env_stab_trans.c
+++ b/lib_com/env_stab_trans.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/est_tilt.c b/lib_com/est_tilt.c
index c68ea0c5b3bbbe719314a87d1bd26828c1a9da88..6a4e3646179c2a8b0f8255be64f3cf4c92861cdc 100644
--- a/lib_com/est_tilt.c
+++ b/lib_com/est_tilt.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/fd_cng_com.c b/lib_com/fd_cng_com.c
index 608e2ed50e9057f55d5f4ac8ed2c006c3951a456..2f3db826e3e21172fd7a0675f6d9e43e8d45237d 100644
--- a/lib_com/fd_cng_com.c
+++ b/lib_com/fd_cng_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -38,9 +10,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "rom_com.h"
@@ -141,11 +110,7 @@ void initFdCngCom(
hFdCngCom->msMinBufferPtr = 0;
set_f( hFdCngCom->msAlphaCor, 0.3f, 2 );
-#ifdef NONBE_MDCT_ST_DTX_FIX_SUBOPT_SPATIAL_CNG
set_f( hFdCngCom->coherence, 0.5f, MDCT_ST_DTX_NUM_COHERENCE_BANDS );
-#else
- hFdCngCom->coherence = 0.5f;
-#endif
return;
}
diff --git a/lib_com/fft.c b/lib_com/fft.c
index bfd1cb5d0b72fc0e8160fe93268f15ff7723d9b0..f1b22c9044d70de455a768b190694a5b63ab83eb 100644
--- a/lib_com/fft.c
+++ b/lib_com/fft.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/fft_cldfb.c b/lib_com/fft_cldfb.c
index 081f34aa038dc7f661890dcf74a6a19fe587f6b2..f325787773923c6cfef9c9bcd2b6a871fc21cea1 100644
--- a/lib_com/fft_cldfb.c
+++ b/lib_com/fft_cldfb.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/fft_rel.c b/lib_com/fft_rel.c
index b5c89d8063772c19d79cdd09e0abce2622949c3e..f709951d4343440fe85675d5d82fbda0b92914be 100644
--- a/lib_com/fft_rel.c
+++ b/lib_com/fft_rel.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "rom_com.h"
#include "wmc_auto.h"
diff --git a/lib_com/fill_spectrum.c b/lib_com/fill_spectrum.c
index 883e944311619d065b0eeb21b47a4954e6ef9fe1..175d7a85e2395f6e6277ec0954f57ca1996cdbec 100644
--- a/lib_com/fill_spectrum.c
+++ b/lib_com/fill_spectrum.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "rom_com.h"
#include "prot.h"
diff --git a/lib_com/findpulse.c b/lib_com/findpulse.c
index d08ae2fee90db6f6de8f3ab7c5ca43356bd8954c..ce5714b0be7545b5954572866a63033bc2bd5742 100644
--- a/lib_com/findpulse.c
+++ b/lib_com/findpulse.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "cnst.h"
diff --git a/lib_com/fine_gain_bits.c b/lib_com/fine_gain_bits.c
index db9ec56789f1177b1f6d239fc73e3474c56b946f..26d01cff3f649890be013cb40d62ee16c15cc212 100644
--- a/lib_com/fine_gain_bits.c
+++ b/lib_com/fine_gain_bits.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "rom_com.h"
#include "prot.h"
#include
diff --git a/lib_com/frame_ener.c b/lib_com/frame_ener.c
index 123999f879aec97b43623649e2b3787f8cf0864e..0669a55fbcbde5e50a1e5e2c91bd83ce5f13a495 100644
--- a/lib_com/frame_ener.c
+++ b/lib_com/frame_ener.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/get_gain.c b/lib_com/get_gain.c
index 3d61918619fc9cdffc1a0994b1594eb9bf666d0f..5fa3e02c199bf92396f43091a8bce7116fcadc10 100644
--- a/lib_com/get_gain.c
+++ b/lib_com/get_gain.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/gs_bitallocation.c b/lib_com/gs_bitallocation.c
index 481458f22a02d7b9ad6e8f6869cd9a8d408372fb..614c3fe2867eeac14bb4227a67a954e77ad13cbc 100644
--- a/lib_com/gs_bitallocation.c
+++ b/lib_com/gs_bitallocation.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "rom_com.h"
@@ -775,9 +744,6 @@ static float Find_bit_frac(
else
{
inv_bandQ15 = (int16_t) ( ( 1.0f / nb_band ) * 32678 + 0.5f );
-#ifdef DEBUGGING
- printf( "1/%d NOT DEFINED in Find_bit_frac\n", nb_band );
-#endif
}
L_num = inv_bandQ15 * remaining_bits;
diff --git a/lib_com/gs_gains.c b/lib_com/gs_gains.c
index 4c49983bc50a6195a51f7ae1e07cbe91ad7a53bd..d57a3c66940736b9c359303bfe202e90458d0572 100644
--- a/lib_com/gs_gains.c
+++ b/lib_com/gs_gains.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/gs_inact_switching.c b/lib_com/gs_inact_switching.c
index 1d6d06525f18f3c31d546cbc3acd16dede9f9842..35da47571705464399834124406a29fc9f0b7a77 100644
--- a/lib_com/gs_inact_switching.c
+++ b/lib_com/gs_inact_switching.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/gs_noisefill.c b/lib_com/gs_noisefill.c
index 8e0231e0362d927d513b134cc2f9e77cbe80c3cb..ef4e703abe45acd8c84cc44306b3eaed5b444122 100644
--- a/lib_com/gs_noisefill.c
+++ b/lib_com/gs_noisefill.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/gs_preech.c b/lib_com/gs_preech.c
index 7d12a9ddb88e46c6423b267e94b600380ef44c93..c93b464072204a1215ec221b8c966b277ee65d52 100644
--- a/lib_com/gs_preech.c
+++ b/lib_com/gs_preech.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/guided_plc_util.c b/lib_com/guided_plc_util.c
index 9a5ef808de39651f5cfa027d0a7f2deb7a2051cf..dfe566b875a91f70e64ad7929477f3aa5362ce9c 100644
--- a/lib_com/guided_plc_util.c
+++ b/lib_com/guided_plc_util.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/hp50.c b/lib_com/hp50.c
index 034627c482919a4f2e5b2ed6d0edfe97793632a3..0e5b6d6c91d51a73d6cb53ae3ef928b8419bcae3 100644
--- a/lib_com/hp50.c
+++ b/lib_com/hp50.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/hq2_bit_alloc.c b/lib_com/hq2_bit_alloc.c
index b2a65ba469aa185f2d67b5da5f99ff3b5116e99f..ab11a56c46f719570db00d4be169b24bb9b0357f 100644
--- a/lib_com/hq2_bit_alloc.c
+++ b/lib_com/hq2_bit_alloc.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/hq2_core_com.c b/lib_com/hq2_core_com.c
index 364e35c0c775eab4a8d58aecb2fd0eae7ee844c0..2334aa7413d6fbc7166a71c116dbc81fb2b33949 100644
--- a/lib_com/hq2_core_com.c
+++ b/lib_com/hq2_core_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/hq2_noise_inject.c b/lib_com/hq2_noise_inject.c
index 143223765367195e2cf653d23a33f6fd7f70f960..d413bd4cccf564b12a7951cbd780cbf193356a08 100644
--- a/lib_com/hq2_noise_inject.c
+++ b/lib_com/hq2_noise_inject.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/hq_bit_allocation.c b/lib_com/hq_bit_allocation.c
index 6a8b82067f734e2ca7bd83bff19bb25805b7533c..6d0d4b63a3b6ffbbada26cfedfc6fa51b5487845 100644
--- a/lib_com/hq_bit_allocation.c
+++ b/lib_com/hq_bit_allocation.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/hq_conf.c b/lib_com/hq_conf.c
index a59feff917a34e27284f4a9535089fbcaff52ca5..fe881d3ae51e2ce1d8fdc7ce4cffd5c200cd7853 100644
--- a/lib_com/hq_conf.c
+++ b/lib_com/hq_conf.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "rom_com.h"
#include "prot.h"
diff --git a/lib_com/hq_tools.c b/lib_com/hq_tools.c
index c2553d2af18f52b1d3793e5299155865912fd8e7..59240048746bff527443ae2e9182e5cbe2bf25eb 100644
--- a/lib_com/hq_tools.c
+++ b/lib_com/hq_tools.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/hvq_pvq_bitalloc.c b/lib_com/hvq_pvq_bitalloc.c
index 2c9429a32d60738f0dc77d7af942ca046d161b5e..152ce895ab398e83ff25e774dd6920a3f0cfa07f 100644
--- a/lib_com/hvq_pvq_bitalloc.c
+++ b/lib_com/hvq_pvq_bitalloc.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/ifft_rel.c b/lib_com/ifft_rel.c
index bda95ec0b11cbf961a39b49b7d1e4d3c54e64c83..67b31540b97d6bc0331e6e3a59e3cc9328b22b20 100644
--- a/lib_com/ifft_rel.c
+++ b/lib_com/ifft_rel.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "rom_com.h"
#include "wmc_auto.h"
diff --git a/lib_com/igf_base.c b/lib_com/igf_base.c
index a63318c5efdd6568a2949147a0c8e4a8af09cf46..2eeccd8271376ceee0e729c28d8ae9dcc86c99ce 100644
--- a/lib_com/igf_base.c
+++ b/lib_com/igf_base.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "rom_com.h"
#include "wmc_auto.h"
diff --git a/lib_com/index_pvq_opt.c b/lib_com/index_pvq_opt.c
index bf46a9409ff357be25ec05d1fdcd705838273230..b3da16dfc1ed999acca32b7a1f14e36970332cc4 100644
--- a/lib_com/index_pvq_opt.c
+++ b/lib_com/index_pvq_opt.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/int_lsp.c b/lib_com/int_lsp.c
index 698de4c18a63c84a39937ab7d506872222efc79b..106ed21ebc35e8024c37925266060aa9d09f214c 100644
--- a/lib_com/int_lsp.c
+++ b/lib_com/int_lsp.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/interleave_spectrum.c b/lib_com/interleave_spectrum.c
index cd3aa6c7f68d0f6272b12b80869119887590a2d6..2c2d968cf9a05a78e2eb353439f7fc55cfd505da 100644
--- a/lib_com/interleave_spectrum.c
+++ b/lib_com/interleave_spectrum.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/interpol.c b/lib_com/interpol.c
index b69b2498e1cf1591ab82605af417d20a8f10a3e5..d652f20d342c833fbd66dea6f09a50f78dd5a279 100644
--- a/lib_com/interpol.c
+++ b/lib_com/interpol.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/isf_dec_amr_wb.c b/lib_com/isf_dec_amr_wb.c
index 7822a31b5f7811bda44ba7ce0aa3d19aa91982ed..c3ede79cf1547bc16302d75da6fb7e5fba8a45d8 100644
--- a/lib_com/isf_dec_amr_wb.c
+++ b/lib_com/isf_dec_amr_wb.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "rom_com.h"
#include "prot.h"
diff --git a/lib_com/ivas_agc_com.c b/lib_com/ivas_agc_com.c
index ee4976788aa36b83a8a84e48087c9fb2dcb8e7a5..6e98879f5f4c2cf6a3539abe5bd50ef9c3f95d0b 100644
--- a/lib_com/ivas_agc_com.c
+++ b/lib_com/ivas_agc_com.c
@@ -1,43 +1,12 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
#include "cnst.h"
#include "ivas_cnst.h"
#include "ivas_prot.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "wmc_auto.h"
#include "prot.h"
@@ -112,25 +81,3 @@ void ivas_agc_calcGainParams(
return;
}
-
-#ifdef DEBUG_AGC
-/*-----------------------------------------------------------------------------------------*
- * Function ivas_agc_debug_inout()
- *
- *
- *-----------------------------------------------------------------------------------------*/
-int16_t ivas_agc_debug_inout( FILE *inStream, float **in, int16_t n_channels, int16_t frame_len )
-{
- if ( inStream == NULL )
- {
- return TRUE;
- }
-
- for ( int16_t i = 0; i < n_channels; i++ )
- {
- fwrite( &in[i][0], sizeof( float ), frame_len, inStream );
- }
-
- return FALSE;
-}
-#endif
diff --git a/lib_com/ivas_arith.c b/lib_com/ivas_arith.c
index d3bc6773391890c583fe79bbe513a0e21672ab72..ba889d3c06a758b9e40d21c8ee48932773f356fc 100644
--- a/lib_com/ivas_arith.c
+++ b/lib_com/ivas_arith.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
#include "prot.h"
#include "ivas_prot.h"
diff --git a/lib_com/ivas_avq_pos_reorder_com.c b/lib_com/ivas_avq_pos_reorder_com.c
index aa9885ba51f862792546f1174fd47db416d1e5f1..52d553f55b11a9da172ff1b62d19e4192dab5f74 100644
--- a/lib_com/ivas_avq_pos_reorder_com.c
+++ b/lib_com/ivas_avq_pos_reorder_com.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/ivas_cnst.h b/lib_com/ivas_cnst.h
index 2d3c7e969a674a27491e52e640886b15b23e4e1b..1ce748502e1faaa1a0d75fcb24ae7bdf44ecc2b9 100644
--- a/lib_com/ivas_cnst.h
+++ b/lib_com/ivas_cnst.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#ifndef IVAS_CNST_H
#define IVAS_CNST_H
@@ -177,10 +149,8 @@ typedef enum
#define MAX_SPAR_INTERNAL_CHANNELS IVAS_SPAR_MAX_CH
#define MAX_CLDFB_DIGEST_CHANNELS 3 /* == maximum of ParamISM TCs and ParamMC TCs */
-#ifdef FIX_GAIN_EDIT_LIMITS
#define EDIT_GAIN_MIN 0.0630957f /* Minimum allowed gain edit with parametric modes: -24 dB */
#define EDIT_GAIN_MAX 3.9810719f /* Maximum allowed gain edit: +12 dB */
-#endif
typedef enum
@@ -470,9 +440,6 @@ enum
#define STEREO_DFT32MS_OVL_NS 3125000L /* 3.125ms - Overlap for the outer edges of windows on decoder */
#define STEREO_DFT32MS_OVL2_NS 9375000L /* 9.375ms - Overlap for the inner edges of windows on decoder */
#define STEREO_DFT32MS_WIN_CENTER_NS ( int32_t )( ( FRAME_SIZE_NS + STEREO_DFT32MS_OVL_NS ) * 0.5f ) /* 11.5625ms - mid point of the two windows wrt the left edge of overlap */
-#if defined( DEBUG_MODE_DFT ) || defined( DEBUG_STEREO_DFT_NOCORE )
-#define STEREO_DFT32MS_HOP_NS 10000000L /* 10ms */
-#endif
#define STEREO_DFT32MS_ZP_NS ( int32_t )( 0.5f * ( STEREO_DFT32MS_N_NS - STEREO_DFT32MS_WIN_CENTER_NS - ( STEREO_DFT32MS_OVL2_NS * 0.5f ) ) ) /* 2 sided zp calculated such that window size is satisfied */
#define STEREO_DFT32MS_OVL_MAX NS2SA( 48000, STEREO_DFT32MS_OVL_NS )
@@ -817,10 +784,6 @@ enum fea_names
/* MDCT stereo modes */
#define SMDCT_MS_DECISION 0
-#ifdef DEBUG_FORCE_MDCT_STEREO_MODE
-#define SMDCT_FORCE_LR 1
-#define SMDCT_FORCE_MS 2
-#endif
#define MAX_SFB 70 /* Maximum number of stereo frequency bands = 64 + 6 for TCX after ACELP */
@@ -856,10 +819,8 @@ enum fea_names
#define MDCT_ST_PLC_FADEOUT_TO_ZERO_LEN 20
#define MDCT_ST_PLC_FADEOUT_DELAY_4_LSP_FADE 3
-#ifdef NONBE_MDCT_ST_DTX_FIX_SUBOPT_SPATIAL_CNG
#define MDCT_ST_DTX_NUM_COHERENCE_BANDS 5
#define MDCT_ST_DTX_FIRST_BAND_OFFSET 2
-#endif
typedef enum {
NOISE_GEN_MODE_UNDEF = -1,
@@ -1232,9 +1193,7 @@ enum
#define OMASA_GAIN_EDIT_THR 0.06f /* OMASA gain change threshold */
#define OMASA_AZI_EDIT_THR 1.0f /* OMASA-DISC azimuth change threshold */
#define OMASA_ELE_EDIT_THR 2.0f /* OMASA-DISC elevation change threshold */
-#ifdef NONBE_1380_OMASA_BUILD_DIFF
#define OMASA_PAN_TBL_LEN 601
-#endif
#define MASA_JBM_RINGBUFFER_FRAMES 3
@@ -1257,11 +1216,7 @@ typedef enum
*----------------------------------------------------------------------------------*/
#define MC_LS_SETUP_BITS 3 /* number of bits for writing the MC LS configuration */
-#ifdef FIX_1419_MONO_STEREO_UMX
#define LS_SETUP_CONVERSION_NUM_MAPPINGS 41 /* number of mappings for LS setup conversion */
-#else
-#define LS_SETUP_CONVERSION_NUM_MAPPINGS 35 /* number of mappings for LS setup conversion */
-#endif
typedef enum
{
@@ -1493,10 +1448,8 @@ typedef enum
#define VBAP_NUM_SEARCH_SECTORS 4
-#ifdef NONBE_FIX_1426_STEREO_PANNING_BETWEEN_OPT_LEVEL
#define LS_ANGLE_RAD_30_DEG 0.52359879f /* 30.0f * PI_OVER_180 */
#define INV_TAN_LS_ANGLE_RAD_30_DEG 1.7320507f /* 1.0f/tanf(30.0f * PI_OVER_180) */
-#endif
/*----------------------------------------------------------------------------------*
* Binaural Rendering Constants
@@ -1601,18 +1554,13 @@ typedef enum
#define RV_FILTER_MAX_HISTORY ( 512 - 160 ) /* for longest history */
#define RV_LENGTH_NR_FC ( RV_FILTER_MAX_FFT_SIZE / 2 ) + 1
#define RV_LENGTH_NR_FC_16KHZ ( RV_FILTER_MAX_FFT_SIZE / 4 ) + 1
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
#define IVAS_REVERB_DEFAULT_L_N_BANDS 31
#define IVAS_REVERB_DEFAULT_M_N_BANDS 31
#define IVAS_REVERB_DEFAULT_S_N_BANDS 60
-#else
-#define IVAS_REVERB_DEFAULT_N_BANDS 31
-#endif
#define LR_IAC_LENGTH_NR_FC ( RV_LENGTH_NR_FC )
#define LR_IAC_LENGTH_NR_FC_16KHZ ( RV_LENGTH_NR_FC_16KHZ )
-#ifdef FIX_1318_ROOM_SIZE_CMD_LINE
typedef enum
{
DEFAULT_REVERB_UNSET = -1,
@@ -1620,7 +1568,6 @@ typedef enum
DEFAULT_REVERB_MEDIUM,
DEFAULT_REVERB_LARGE,
} IVAS_DefaultReverbSize;
-#endif
/*----------------------------------------------------------------------------------*
* FB mixer constants
diff --git a/lib_com/ivas_cov_smooth.c b/lib_com/ivas_cov_smooth.c
index 8c309af676f5ed464e2d5b2930475aa441b421c4..700287163f25a4917fdd097a424c07c10f5e37c5 100644
--- a/lib_com/ivas_cov_smooth.c
+++ b/lib_com/ivas_cov_smooth.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "ivas_prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/ivas_dirac_com.c b/lib_com/ivas_dirac_com.c
index c48931391c5a29360c9f598e323bd8651a1fd9d4..402799d4ae24c473fce096ffabc3110168a274af 100644
--- a/lib_com/ivas_dirac_com.c
+++ b/lib_com/ivas_dirac_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include
diff --git a/lib_com/ivas_entropy_coder_common.c b/lib_com/ivas_entropy_coder_common.c
index 015fab85e9dbeae9b10b0084e8a5e385bb8baac3..e89bca2bf694fccb10c4a1db3c1053532d262156 100644
--- a/lib_com/ivas_entropy_coder_common.c
+++ b/lib_com/ivas_entropy_coder_common.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "ivas_prot.h"
#include "ivas_rom_com.h"
#include "math.h"
diff --git a/lib_com/ivas_error.h b/lib_com/ivas_error.h
index 4a5249934ce8cd4167a9d3a39b410dc9c9bee7b2..4e8989f9d7f646bb0d58b86017a56cfa96be48d9 100644
--- a/lib_com/ivas_error.h
+++ b/lib_com/ivas_error.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -93,15 +65,6 @@ typedef enum
IVAS_ERR_IO_CONFIG_PAIR_NOT_SUPPORTED,
IVAS_ERR_TSM_NOT_ENABLED,
IVAS_ERR_FETCH_SIZE_NO_MULTIPLE_OF_5MS,
-#ifdef DEBUGGING
- IVAS_ERR_INVALID_FORCE_MODE,
-#ifdef DEBUG_AGC_ENCODER_CMD_OPTION
- IVAS_ERR_INVALID_AGC,
-#endif
-#ifdef VARIABLE_SPEED_DECODING
- IVAS_ERR_VS_FRAME_NEEDED,
-#endif
-#endif
/*----------------------------------------*
* input data errors *
@@ -236,10 +199,6 @@ static inline const char *ivas_error_to_string( ivas_error error_code )
return "Unexpected NULL pointer";
case IVAS_ERR_METADATA_NOT_EXPECTED:
return "Metadata input not expected for current configuration";
-#ifdef DEBUGGING
- case IVAS_ERR_INVALID_FORCE_MODE:
- return "Invalid force mode";
-#endif
case IVAS_ERR_NOT_IMPLEMENTED:
return "Not implemented";
case IVAS_ERR_ISM_FILE_READER_INVALID_METADATA_FORMAT:
diff --git a/lib_com/ivas_error_utils.h b/lib_com/ivas_error_utils.h
index a5a8ac51e36c9d53c37fa6a3cd7d21e92d1aee24..9cd8231614b6e3b8d2a858bf2f3666135ce1fc28 100644
--- a/lib_com/ivas_error_utils.h
+++ b/lib_com/ivas_error_utils.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#ifndef IVAS_ERROR_UTILS_H
#define IVAS_ERROR_UTILS_H
@@ -41,9 +13,6 @@
#include "ivas_error.h"
-#ifdef DEBUGGING
-#include
-#endif
/*
* Usage:
@@ -66,31 +35,11 @@
* If unexpected values are printed or the macro causes a crash, double check that the
* format specifiers are correct.
*/
-#ifdef DEBUGGING
-#define IVAS_ERROR( error_code, ... ) ivas_error_wrapper( error_code, __func__, __FILE__, __LINE__, __VA_ARGS__ )
-#else
#define IVAS_ERROR( error_code, ... ) ivas_error_wrapper( error_code )
-#endif
-#ifdef DEBUGGING
-static inline ivas_error ivas_error_wrapper( const ivas_error error_code, const char *function, const char *file, int32_t line, const char *description, ... )
-{
- fprintf( stderr, "\n%s: ", ivas_error_to_string( error_code ) );
-
- va_list args;
- va_start( args, description );
- vfprintf( stderr, description, args );
- va_end( args );
-
- fprintf( stderr, "\n\nIn function: %s(), %s:%d\n\n", function, file, line );
-
- return error_code;
-}
-#else
static inline ivas_error ivas_error_wrapper( const ivas_error error_code )
{
return error_code;
}
-#endif
#endif /* IVAS_ERROR_UTILS_H */
diff --git a/lib_com/ivas_fb_mixer.c b/lib_com/ivas_fb_mixer.c
index 4ff4e7206595220ec74061dcf2a32c7367e96f45..0a1b5008824a732b35798745f5b3050b5d92c501 100644
--- a/lib_com/ivas_fb_mixer.c
+++ b/lib_com/ivas_fb_mixer.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "ivas_prot.h"
diff --git a/lib_com/ivas_filters.c b/lib_com/ivas_filters.c
index 8fc82f7cd1b67f1fe778501770b24941861f497a..6eb9895f40c1400e549c698bf4d76d6340542853 100644
--- a/lib_com/ivas_filters.c
+++ b/lib_com/ivas_filters.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "ivas_prot.h"
#include "ivas_cnst.h"
#include "ivas_stat_com.h"
diff --git a/lib_com/ivas_ism_com.c b/lib_com/ivas_ism_com.c
index 589552874a12b8e5c9ba24cfdf408b376738c6d4..77c37d1755f7114fe292003ba3de9f36d1d2bf1e 100644
--- a/lib_com/ivas_ism_com.c
+++ b/lib_com/ivas_ism_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
@@ -39,9 +11,6 @@
#include "ivas_prot.h"
#include "ivas_stat_com.h"
#include "ivas_rom_com.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
@@ -341,12 +310,6 @@ ivas_error ivas_ism_config(
else
{
bits_CoreCoder[ch] += diff;
-#ifdef DEBUGGING
- if ( bits_CoreCoder[ch] == SID_2k40 / FRAMES_PER_SEC )
- {
- printf( "\nWarning: ISM bitbudget equal to SID!\n" );
- }
-#endif
if ( combined_format_flag )
{
@@ -384,17 +347,6 @@ ivas_error ivas_ism_config(
bitbudget_to_brate( bits_CoreCoder, total_brate, n_ISms );
}
-#ifdef DEBUGGING
- if ( nb_bits_metadata != NULL )
- {
- int32_t tmpL;
- tmpL = sum_l( total_brate, n_ISms ) + bits_side * FRAMES_PER_SEC;
- if ( ism_total_brate != tmpL )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "\nError: Mismatch in ISM bit-budget distribution. Exiting!\n" );
- }
- }
-#endif
return error;
}
diff --git a/lib_com/ivas_lfe_com.c b/lib_com/ivas_lfe_com.c
index def09b579502acc99e805c0b9f58a556024c50c8..9293f68ebda723f47cf966d6265c367ab32a1080 100644
--- a/lib_com/ivas_lfe_com.c
+++ b/lib_com/ivas_lfe_com.c
@@ -1,41 +1,10 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "math.h"
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "ivas_stat_com.h"
#include "prot.h"
#include "ivas_prot.h"
diff --git a/lib_com/ivas_limiter.c b/lib_com/ivas_limiter.c
index 97922af9c6ccab527bd94e6a5ecc0dabac1471c1..074d723edde5703c5f3b858f0ddf2aa5b0062c5e 100644
--- a/lib_com/ivas_limiter.c
+++ b/lib_com/ivas_limiter.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
@@ -132,9 +104,6 @@ ivas_error ivas_limiter_open(
hLimiter->release_heuristic = 0.f;
hLimiter->attack_constant = powf( 0.01f, 1.0f / ( IVAS_LIMITER_ATTACK_SECONDS * sampling_rate ) );
hLimiter->strong_saturation_count = 0;
-#ifdef DEBUGGING
- hLimiter->cnt_frames_limited = 0;
-#endif
for ( i = 0; i < max_num_channels; ++i )
{
@@ -294,12 +263,6 @@ void limiter_process(
* ^
* React faster when release time should be increased
*/
-#ifdef DEBUGGING
- if ( max_val > threshold )
- {
- hLimiter->cnt_frames_limited++;
- }
-#endif
}
else
{
diff --git a/lib_com/ivas_masa_com.c b/lib_com/ivas_masa_com.c
index 7e6aba8645aa81a0ef07bb3bceb90e67559c6a67..9464f3f77fa8a6c6092e5b5bc36d2c31cc4c945f 100644
--- a/lib_com/ivas_masa_com.c
+++ b/lib_com/ivas_masa_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include
@@ -39,9 +11,6 @@
#include "ivas_prot.h"
#include "ivas_rom_com.h"
#include "ivas_stat_dec.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
/*---------------------------------------------------------------
@@ -293,9 +262,6 @@ void ivas_masa_set_coding_config(
config->numCodingBands = nbands;
config->numTwoDirBands = nTwoDirBands;
-#ifdef DEBUGGING
- assert( nbands > 0 );
-#endif
if ( config->joinedSubframes == TRUE )
{
config->mergeRatiosOverSubframes = FALSE;
diff --git a/lib_com/ivas_mc_com.c b/lib_com/ivas_mc_com.c
index 8534ef0e7091e145416ded1d0ea265f3b23e2069..8c8e95c6bbfb5bd3406a9523478a9e6e2ebe2535 100644
--- a/lib_com/ivas_mc_com.c
+++ b/lib_com/ivas_mc_com.c
@@ -1,41 +1,10 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "ivas_prot.h"
diff --git a/lib_com/ivas_mc_param_com.c b/lib_com/ivas_mc_param_com.c
index cc2ee73c96743bc042e728ec6a3cce21a9dae620..527d54f596194c37ba7816bb11ccfe103d2d8e91 100644
--- a/lib_com/ivas_mc_param_com.c
+++ b/lib_com/ivas_mc_param_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include
@@ -39,9 +11,6 @@
#include "ivas_prot.h"
#include "ivas_stat_com.h"
#include "ivas_rom_com.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
@@ -72,9 +41,6 @@ uint16_t ivas_param_mc_get_configuration_index(
return cur_idx;
}
}
-#ifdef DEBUGGING
- assert( 0 && "No Parametric MC configuration for this bitrate/channel setup!" );
-#endif
return PARAM_MC_NUM_CONFIGS;
}
diff --git a/lib_com/ivas_mcmasa_com.c b/lib_com/ivas_mcmasa_com.c
index 26f95da2666df8402bbc82f0aa55d1bfcef1b609..2b91cb38ffe3d562ddc0741a833b6294cf187e24 100644
--- a/lib_com/ivas_mcmasa_com.c
+++ b/lib_com/ivas_mcmasa_com.c
@@ -1,41 +1,10 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include "ivas_cnst.h"
#include "ivas_prot.h"
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
diff --git a/lib_com/ivas_mct_com.c b/lib_com/ivas_mct_com.c
index ee83db3d9558ee905f6d81d683a65d3e94890799..28b940005d68a69007ada5a8d6778b0d6de1e7af 100644
--- a/lib_com/ivas_mct_com.c
+++ b/lib_com/ivas_mct_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
diff --git a/lib_com/ivas_mdct_core_com.c b/lib_com/ivas_mdct_core_com.c
index b3c4e312058b0d819d366cd5b651519bdb40fe31..1e78c7c4000b12e5fdb0811bff78e75fab300099 100644
--- a/lib_com/ivas_mdct_core_com.c
+++ b/lib_com/ivas_mdct_core_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
diff --git a/lib_com/ivas_mdct_imdct.c b/lib_com/ivas_mdct_imdct.c
index 6198b0110036515e88a4e738986fb290a8ec9102..e94c0c08f27ccc7e845a74ecec7916d37ff8b480 100644
--- a/lib_com/ivas_mdct_imdct.c
+++ b/lib_com/ivas_mdct_imdct.c
@@ -1,43 +1,12 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
#include "prot.h"
#include "ivas_prot.h"
#include "ivas_rom_com.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "ivas_stat_com.h"
#include "wmc_auto.h"
diff --git a/lib_com/ivas_mdft_imdft.c b/lib_com/ivas_mdft_imdft.c
index 0954ead0d35e12c7a4279d8a7ad2889f9a69e3f8..08543b6e69100af967b004ea94f959819adfa3fc 100644
--- a/lib_com/ivas_mdft_imdft.c
+++ b/lib_com/ivas_mdft_imdft.c
@@ -1,42 +1,11 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
#include "prot.h"
#include "ivas_prot.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "ivas_rom_com.h"
#include
#include "wmc_auto.h"
diff --git a/lib_com/ivas_omasa_com.c b/lib_com/ivas_omasa_com.c
index a66e0e5c6b90130930482c74ef2b0d8da3359b88..9c0a42633c0ab0aab81cb8c7e8f2b31c94393226 100644
--- a/lib_com/ivas_omasa_com.c
+++ b/lib_com/ivas_omasa_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include "options.h"
#include
@@ -37,9 +9,6 @@
#include "prot.h"
#include "ivas_rom_com.h"
#include
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
/*---------------------------------------------------------------
* Local constants
@@ -61,11 +30,9 @@
#define GAMMA_ISM_MEDIUM_IMP4 1.0f
#define GAMMA_ISM_HIGH_IMP4 1.2f
-#ifdef NONBE_1380_OMASA_BUILD_DIFF
#define PAN_MAX_DEG 30.0f
#define ONE_OVER_PAN_STEP_DEG 10.0f
#define SIN_LS_ANGLE 0.5f /* sinf( 30.0f * PI_OVER_180 ) */
-#endif
/*---------------------------------------------------------------
* ivas_omasa_ism_mode_select()
*
@@ -500,7 +467,6 @@ void ivas_get_stereo_panning_gains(
const float eleDeg,
float panningGains[2] )
{
-#ifdef NONBE_1380_OMASA_BUILD_DIFF
float aziPlusEle, aziMinusEle, y;
/* use identity sin(A+B) + sin(A−B) = 2 sinA cosB */
@@ -557,36 +523,6 @@ void ivas_get_stereo_panning_gains(
panningGains[0] = ivas_tan_panning_gain_tbl[idx];
panningGains[1] = ivas_tan_panning_gain_tbl[OMASA_PAN_TBL_LEN - 1 - idx];
}
-#else
- float aziRad, eleRad;
- float y, mappedX, aziRadMapped, A, A2, A3;
- const float LsAngleRad = 30.0f * PI_OVER_180;
- /* Convert azi and ele to an azi value of the cone of confusion */
- aziRad = aziDeg * PI_OVER_180;
- eleRad = eleDeg * PI_OVER_180;
- y = ( sinf( aziRad ) * cosf( eleRad ) );
- mappedX = sqrtf( max( 0.0f, 1.0f - ( y * y ) ) );
- aziRadMapped = atan2f( y, mappedX );
-
- if ( aziRadMapped >= LsAngleRad )
- { /* Left side */
- panningGains[0] = 1.0f;
- panningGains[1] = 0.0f;
- }
- else if ( aziRadMapped <= -LsAngleRad )
- { /* Right side */
- panningGains[0] = 0.0f;
- panningGains[1] = 1.0f;
- }
- else /* Tangent panning law */
- {
- A = tanf( aziRadMapped ) / tanf( LsAngleRad );
- A2 = ( A - 1.0f ) / max( 0.001f, A + 1.0f );
- A3 = 1.0f / ( A2 * A2 + 1.0f );
- panningGains[0] = sqrtf( A3 );
- panningGains[1] = sqrtf( 1.0f - A3 );
- }
-#endif
return;
}
diff --git a/lib_com/ivas_osba_com.c b/lib_com/ivas_osba_com.c
index 70065e87774324e34f757d300a1fce054d13c5da..8bdc723adefae1c29fdb021ced44783f389a775f 100644
--- a/lib_com/ivas_osba_com.c
+++ b/lib_com/ivas_osba_com.c
@@ -1,43 +1,12 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include "options.h"
#include "ivas_cnst.h"
#include "ivas_prot.h"
#include "prot.h"
#include "ivas_rom_com.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
/*! r : ISM format mode */
ISM_MODE ivas_osba_ism_mode_select(
diff --git a/lib_com/ivas_pca_tools.c b/lib_com/ivas_pca_tools.c
index 0c54551bee4be7927efdfd136b8f11bf4b32c039..b2addbd6fec904e6d2a271baf61222bc24876a5f 100644
--- a/lib_com/ivas_pca_tools.c
+++ b/lib_com/ivas_pca_tools.c
@@ -1,42 +1,11 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
#include "ivas_prot.h"
#include "ivas_cnst.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include
#include "ivas_rom_com.h"
diff --git a/lib_com/ivas_prot.h b/lib_com/ivas_prot.h
index 3699782aa7789b43210ffec63e682676dbde2e18..3b64136286cb10eb54180ac82dae25fd7fa68a27 100644
--- a/lib_com/ivas_prot.h
+++ b/lib_com/ivas_prot.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#ifndef IVAS_PROT_H
#define IVAS_PROT_H
@@ -705,14 +677,6 @@ void smooth_dft2td_transition(
const int16_t output_frame /* i : output frame length */
);
-#ifdef DEBUG_MODE_INFO
-void output_debug_mode_info_dec(
- Decoder_State **sts,
- const int16_t n_channels,
- const int16_t output_frame,
- float pitch_buf[CPE_CHANNELS][NB_SUBFR16k]
-);
-#endif
/*! r: flag indicating a valid bitrate */
int16_t is_IVAS_bitrate(
@@ -793,14 +757,6 @@ Word16 matrix_product_q30_fx(
Word32 *Z_fx /* o : resulting matrix after the matrix multiplication Q30*/
);
-#ifndef NONBE_MDCT_ST_DTX_FIX_SUBOPT_SPATIAL_CNG
-
-void dtx_read_padding_bits(
- DEC_CORE_HANDLE st,
- const int16_t num_bits
-);
-
-#endif
void ivas_apply_non_diegetic_panning(
float *input_f, /* i : non-diegetic object */
float *output_f[], /* o : core-coder transport mono channel/stereo output */
@@ -808,7 +764,6 @@ void ivas_apply_non_diegetic_panning(
const int16_t output_frame /* i : output frame length per channel */
);
-#ifdef IVAS_RTPDUMP
void QuaternionProduct(
const IVAS_QUATERNION q1,
const IVAS_QUATERNION q2,
@@ -820,7 +775,6 @@ void QuaternionInverse(
IVAS_QUATERNION *const r
);
-#endif
/*----------------------------------------------------------------------------------*
* JBM prototypes
*----------------------------------------------------------------------------------*/
@@ -1688,9 +1642,6 @@ void stereo_td_itd(
ITD_DATA *hITD, /* i/o: ITD data structure */
float input_mem_itd[CPE_CHANNELS][STEREO_DFT_OVL_MAX], /* o : ITD memory (only used in DFT Stereo) */
const int16_t hybrid_itd_flag, /* i : flag for hybrid TD/FD ITD processing */
-#ifdef DEBUG_MODE_DFT
- const int16_t itd_mode, /* i : main ITD processing flag */
-#endif
const int16_t dft_ovl, /* i : size of DFT overlap */
Encoder_State **sts, /* i/o: Encoder state structure */
const int16_t input_frame, /* i : input frame length */
@@ -4158,9 +4109,6 @@ void ivas_sba_mix_matrix_determiner(
/* AGC */
/*! r: AGC enable flag */
int16_t ivas_agc_enc_get_flag(
-#ifdef DEBUG_AGC_ENCODER_CMD_OPTION
- const int16_t agc_configuration, /* i : AGC configuration from command-line */
-#endif
const int16_t nchan_transport /* i : number of transport channels */
);
@@ -5180,9 +5128,6 @@ void ivas_binRenderer(
const MULTI_BIN_REND_POSE_DATA *pMultiBinPoseData, /* i/o: pose correction data handle */
COMBINED_ORIENTATION_HANDLE hCombinedOrientationData, /* i : combined head and external orientation handle */
const int16_t numTimeSlots, /* i : number of time slots to process */
-#ifdef SPLIT_REND_WITH_HEAD_ROT_DEBUG
- HEAD_TRACK_DATA_HANDLE hPostRendHeadTrackData,
-#endif
float Cldfb_RealBuffer_Binaural[][BINAURAL_CHANNELS][MAX_PARAM_SPATIAL_SUBFRAMES][CLDFB_NO_CHANNELS_MAX], /* o : Rotated Binaural signals */
float Cldfb_ImagBuffer_Binaural[][BINAURAL_CHANNELS][MAX_PARAM_SPATIAL_SUBFRAMES][CLDFB_NO_CHANNELS_MAX], /* o : Rotated Binaural signals */
float RealBuffer[][MAX_PARAM_SPATIAL_SUBFRAMES][CLDFB_NO_CHANNELS_MAX], /* i : LS signals */
@@ -5196,7 +5141,6 @@ void ivas_binaural_add_LFE(
float *output_f[] /* o : synthesized core-coder transport channels/DirAC output */
);
-#ifdef FIX_1119_SPLIT_RENDERING_VOIP
/*---------------------------------------------------------------------------------*
* Multi-pose ring buffer Prototypes
@@ -5232,7 +5176,6 @@ void ivas_CLDFB_RINGBUF_GetByIdx(
const int16_t idx
);
-#endif
/*----------------------------------------------------------------------------------*
* renderer prototypes
@@ -5704,10 +5647,6 @@ void ivas_omasa_enc(
void ivas_set_surplus_brate_enc(
Encoder_Struct *st_ivas /* i/o: IVAS encoder structure */
-#ifdef DEBUG_MODE_INFO
- ,
- const int16_t *nb_bits_metadata /* i : number of metadata bits */
-#endif
);
void ivas_set_surplus_brate_dec(
diff --git a/lib_com/ivas_qmetadata_com.c b/lib_com/ivas_qmetadata_com.c
index e29964ab2997d40c1b35e7be6e1e41eca9ad9ebf..270bf12d93b4e82517cb8329e33d15612308bbf9 100644
--- a/lib_com/ivas_qmetadata_com.c
+++ b/lib_com/ivas_qmetadata_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include
@@ -101,9 +73,6 @@ ivas_error ivas_qmetadata_allocate_memory(
int16_t j, dir;
uint8_t do_realloc;
-#ifdef DEBUGGING
- assert( hQMetaData != NULL );
-#endif
/* Check if we need to reallocate memory or do we need to do the first time allocation. */
if ( hQMetaData->q_direction != NULL )
@@ -340,12 +309,6 @@ ivas_error only_reduce_bits_direction(
while ( n < rem )
{
max_nb = 0;
-#ifdef DEBUGGING
- if ( delta > MASA_MIN_BITS_TF )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Not enough bits for MASA param." );
- }
-#endif
for ( j = 0; j < coding_subbands; j++ )
{
bits_dir0 = (int16_t *) q_direction->band_data[j].bits_sph_idx;
@@ -583,10 +546,6 @@ void ivas_qmetadata_azimuth_elevation_to_direction_vector(
{
float radius_length;
-#ifdef DEBUGGING
- assert( fabsf( el ) <= 90.0f );
- /*assert((0.0f <= az) && (az <= 360.0f)); */
-#endif
dv[2] = sinf( el * PI_OVER_180 );
radius_length = cosf( el * PI_OVER_180 );
diff --git a/lib_com/ivas_qspherical_com.c b/lib_com/ivas_qspherical_com.c
index 8e34e3f805fd22caf0a8cfa8f10846dcbbd331ab..4123bd6a1b9007c7f9245f946538e102dbd4d5ef 100644
--- a/lib_com/ivas_qspherical_com.c
+++ b/lib_com/ivas_qspherical_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include
@@ -101,18 +73,10 @@ int16_t ivas_dirac_project_elevation_index(
)
{
int16_t el_idx_proj;
-#ifdef DEBUGGING
- assert( ( el_idx >= 0 ) && ( el_idx < el_alph ) );
- assert( el_alph == 2 * ( el_alph >> 1 ) + 1 ); /* el_alph of the form 2 * n_points + 1 */
- assert( el_alph_proj == 2 * ( el_alph_proj >> 1 ) + 1 );
-#endif
/* evaluate floor((el_idx / (el_alph - 1)) * (el_alph_proj - 1) + 0.5) using only integer */
el_idx_proj = ( 2 * el_idx * ( el_alph_proj - 1 ) + ( el_alph - 1 ) ) / ( 2 * ( el_alph - 1 ) );
-#ifdef DEBUGGING
- assert( ( 0 <= el_idx_proj ) && ( el_idx_proj < el_alph_proj ) );
-#endif
return el_idx_proj;
}
@@ -131,9 +95,6 @@ int16_t ivas_chan_project_elevation_index(
)
{
int16_t el_idx_proj;
-#ifdef DEBUGGING
- assert( ( el_idx >= 0 ) && ( el_idx < el_alph ) );
-#endif
/* evaluate floor((el_idx / (el_alph - 1)) * (el_alph_proj - 1) + 0.5) using only integer */
if ( el_idx == el_alph - 1 )
@@ -145,9 +106,6 @@ int16_t ivas_chan_project_elevation_index(
el_idx_proj = ( 2 * el_idx * el_alph_proj + el_alph ) / ( 2 * el_alph );
}
-#ifdef DEBUGGING
- assert( ( 0 <= el_idx_proj ) && ( el_idx_proj < el_alph_proj ) );
-#endif
return el_idx_proj;
}
@@ -166,9 +124,6 @@ int16_t ivas_dirac_project_azimuth_index(
)
{
int16_t az_idx_proj;
-#ifdef DEBUGGING
- assert( ( az_idx >= 0 ) && ( az_idx < az_alph ) );
-#endif
if ( az_alph_proj == 1 )
{
@@ -183,9 +138,6 @@ int16_t ivas_dirac_project_azimuth_index(
az_idx_proj = 0;
}
-#ifdef DEBUGGING
- assert( ( 0 <= az_idx_proj ) && ( az_idx_proj < az_alph_proj ) );
-#endif
return az_idx_proj;
}
@@ -246,9 +198,6 @@ int16_t quantize_phi(
float dd;
float delta_phi;
-#ifdef DEBUGGING
- assert( ( phi >= 0.f ) && ( phi <= 360.f ) );
-#endif
delta_phi = 360.0f / (float) n;
@@ -410,10 +359,6 @@ int16_t quantize_phi_chan_lbr(
{
int16_t id_phi;
-#ifdef DEBUGGING
- assert( ( phi >= -180.f ) && ( phi <= 180.f ) );
- assert( n <= 9 );
-#endif
if ( n <= 1 )
{
@@ -457,9 +402,6 @@ int16_t quantize_phi_chan_compand(
int16_t id_phi;
float delta_phi;
-#ifdef DEBUGGING
- assert( ( phi >= 0.f ) && ( phi <= 360.f ) );
-#endif
if ( n <= 1 )
{
diff --git a/lib_com/ivas_rom_com.c b/lib_com/ivas_rom_com.c
index 039dee13c5bb829a839ba2e29eef384e4a318204..12d5a6d4c288aa1dbb7746d1708df856ad183c1e 100644
--- a/lib_com/ivas_rom_com.c
+++ b/lib_com/ivas_rom_com.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "ivas_cnst.h"
@@ -793,11 +762,9 @@ const float nf_tw_smoothing_coeffs[N_LTP_GAIN_MEMS] =
0.4f,0.2f,0.2f,0.2f
};
-#ifdef NONBE_MDCT_ST_DTX_FIX_SUBOPT_SPATIAL_CNG
const int16_t mdct_stereo_dtx_coherence_bandlengths[MDCT_ST_DTX_NUM_COHERENCE_BANDS] = {
6, /* 8 - MDCT_ST_DTX_FIRST_BAND_OFFSET */ 8, 16, 16, 80
};
-#endif
/*----------------------------------------------------------------------------------*
@@ -2869,7 +2836,6 @@ const float dct12[12*12]=
0.2887f, -0.4048f, 0.3943f, -0.3772f, 0.3536f, -0.3239f, 0.2887f, -0.2485f, 0.2041f, -0.1562f, 0.1057f, -0.0533f
};
-#ifdef NONBE_1380_OMASA_BUILD_DIFF
const float ivas_tan_panning_gain_tbl[OMASA_PAN_TBL_LEN] =
{
0.0000000f, 0.0020142f, 0.0040283f, 0.0060425f, 0.0080872f,
@@ -2994,7 +2960,6 @@ const float ivas_tan_panning_gain_tbl[OMASA_PAN_TBL_LEN] =
0.9999390f, 0.9999390f, 0.9999695f, 0.9999695f, 0.9999695f,
0.9999695f
};
-#endif
/*----------------------------------------------------------------------------------*
* ISM ROM tables
diff --git a/lib_com/ivas_rom_com.h b/lib_com/ivas_rom_com.h
index 9ef4737c59c6cdfeaf73782c43095ac7fecfb317..7af617097127516d52cde1d07ad6c519f0579c09 100644
--- a/lib_com/ivas_rom_com.h
+++ b/lib_com/ivas_rom_com.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#ifndef IVAS_ROM_COM_H
#define IVAS_ROM_COM_H
@@ -39,9 +11,6 @@
#include "ivas_cnst.h"
#include "stat_com.h"
#include "ivas_stat_com.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
/*----------------------------------------------------------------------------------*
@@ -138,9 +107,7 @@ extern const SpectrumWarping sw32000Hz[]; /* PsychLPC */
extern const MDCTStereoBands_config mdctStereoBands_32000_640[];
extern const float nf_tw_smoothing_coeffs[N_LTP_GAIN_MEMS];
-#ifdef NONBE_MDCT_ST_DTX_FIX_SUBOPT_SPATIAL_CNG
extern const int16_t mdct_stereo_dtx_coherence_bandlengths[MDCT_ST_DTX_NUM_COHERENCE_BANDS];
-#endif
/*----------------------------------------------------------------------------------*
* Stereo DTX ROM tables
@@ -336,9 +303,7 @@ extern const float dct4[];
extern const float dct5[];
extern const float dct8[];
extern const float dct12[];
-#ifdef NONBE_1380_OMASA_BUILD_DIFF
extern const float ivas_tan_panning_gain_tbl[];
-#endif
/*----------------------------------------------------------------------------------*
* ISM ROM tables
diff --git a/lib_com/ivas_rotation_com.c b/lib_com/ivas_rotation_com.c
index 4dbf7e828e509ca48097b275e37128af0fb7a3b9..7c69b161921cc9dec9f7726ff2723bcdec0d8969 100644
--- a/lib_com/ivas_rotation_com.c
+++ b/lib_com/ivas_rotation_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include "ivas_cnst.h"
#include
@@ -38,9 +10,6 @@
#include "cnst.h"
#include "prot.h"
#include "ivas_prot.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
/*-------------------------------------------------------------------------
diff --git a/lib_com/ivas_sba_config.c b/lib_com/ivas_sba_config.c
index ea284a6abf6104de3a530239caaa2e1ab7a56b2f..cb900e0c0ccabd1c79a8d3c4c59f89f4705703e9 100644
--- a/lib_com/ivas_sba_config.c
+++ b/lib_com/ivas_sba_config.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include
@@ -41,9 +13,6 @@
#include "ivas_prot.h"
#include "ivas_stat_com.h"
#include "ivas_rom_com.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
diff --git a/lib_com/ivas_sns_com.c b/lib_com/ivas_sns_com.c
index f7ca67fa77149a11fe91a5f6a7994ca320e5dcad..72d33dc175c7058c3af73db190c032c50b22dcdb 100644
--- a/lib_com/ivas_sns_com.c
+++ b/lib_com/ivas_sns_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
@@ -39,9 +11,6 @@
#include "ivas_rom_com.h"
#include
#include
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
diff --git a/lib_com/ivas_spar_com.c b/lib_com/ivas_spar_com.c
index 9b2f3c3ce446dff53bdd5c4d316ccb54737e9337..a4e5a6e14b1e4764c9963a9598ba5281442a7f3a 100644
--- a/lib_com/ivas_spar_com.c
+++ b/lib_com/ivas_spar_com.c
@@ -1,41 +1,10 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "math.h"
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "ivas_stat_com.h"
#include "prot.h"
#include "ivas_prot.h"
@@ -1385,28 +1354,6 @@ void ivas_compute_spar_params(
if ( ndm != num_ch )
{
ivas_calc_c_p_coeffs( hSparMd, cov_real, i_ts, mixer_mat, num_ch, ndm, b, dtx_vad, 1, dyn_active_w_flag );
-
-#ifdef SPAR_HOA_DBG
- /* if (b == 0) */
- {
- fprintf( stdout, "\n\nUnquantised C, P coeffs -- band %d:\n", b );
-
- for ( int16_t ii = 0; ii < num_ch; ii++ )
- {
- fprintf( stdout, "%f |", hSparMd->band_coeffs[b].pred_re[ii] );
-
- if ( ii < num_ch - ndm )
- {
- for ( int16_t jj = 0; jj < ndm - 1; jj++ )
- {
- fprintf( stdout, "%f,\t", hSparMd->band_coeffs[b].C_re[ii][jj] );
- }
- fprintf( stdout, "| %f", hSparMd->band_coeffs[b].P_re[ii] );
- }
- fprintf( stdout, "\n" );
- }
- }
-#endif
}
}
@@ -1679,29 +1626,6 @@ void ivas_get_spar_md_from_dirac(
}
}
-#ifdef DEBUG_SBA_MD_DUMP
- {
- static FILE *fid = 0;
- int16_t k = 0;
- float tmp_buf[10];
- if ( !fid )
- {
- fid = fopen( "cov_real_dirac.txt", "wt" );
- }
-
- for ( i = 0; i < num_ch; i++ )
- {
- for ( j = 0; j < num_ch; j++ )
- {
- for ( k = start_band; k < end_band; k++ )
- {
- fprintf( fid, "%.6f\n", cov_real_dirac[i][j][k] );
- }
- }
- }
- fprintf( fid, "\n" );
- }
-#endif
active_w = ( dyn_active_w_flag == 1 ) || ( hSpar_md_cfg->active_w == 1 );
diff --git a/lib_com/ivas_spar_com_quant_util.c b/lib_com/ivas_spar_com_quant_util.c
index ca3001a4218bc7d00168b062267bf7d81e740a24..e5a36c4d6833d2672b550dafdb589f8d7d638837 100644
--- a/lib_com/ivas_spar_com_quant_util.c
+++ b/lib_com/ivas_spar_com_quant_util.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "math.h"
#include "prot.h"
#include "ivas_prot.h"
diff --git a/lib_com/ivas_stat_com.h b/lib_com/ivas_stat_com.h
index 18697006c2b827a7c6c45c87f306a9a6f0b9de13..485f471236f9a27d1377ead37f04fab2a9d2d323 100644
--- a/lib_com/ivas_stat_com.h
+++ b/lib_com/ivas_stat_com.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#ifndef IVAS_STAT_COM
#define IVAS_STAT_COM
@@ -108,11 +80,7 @@ typedef struct stereo_dft_config_data_struct
{
int16_t dmx_active;
int16_t band_res;
- int16_t prm_res; /* Send prm every # DFT frames */
-#ifdef DEBUG_MODE_DFT
- int16_t gipd_mode; /* mode : from 0 (off) to 1 (on) */
- int16_t itd_mode; /* mode : from 0 (off) to 1 (on) */
-#endif
+ int16_t prm_res; /* Send prm every # DFT frames */
int16_t res_pred_mode; /* mode : from 0 (off) to 1 (on) */
int16_t res_cod_mode; /* mode : from 0 (off) to 3 */
int16_t hybrid_itd_flag;
diff --git a/lib_com/ivas_stereo_dft_com.c b/lib_com/ivas_stereo_dft_com.c
index 9c073b74f5ffa8ddedd0a63ef1bc3e8767459967..1ee7553f23401c2dc2b884c96a3eb4c68e639a81 100644
--- a/lib_com/ivas_stereo_dft_com.c
+++ b/lib_com/ivas_stereo_dft_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include
@@ -57,11 +29,7 @@ void stereo_dft_config(
{
hConfig->band_res = STEREO_DFT_BAND_RES_HIGH;
hConfig->prm_res = 2;
-#ifndef DEBUG_STEREO_DFT_NOSTEREO
hConfig->dmx_active = STEREO_DFT_DMX_ACTIVE;
-#else
- hConfig->dmx_active = 0;
-#endif
hConfig->ada_wb_res_cod_mode = 0;
}
@@ -73,10 +41,6 @@ void stereo_dft_config(
*bits_frame_nominal = FRAME_NO_DATA;
if ( hConfig != NULL )
{
-#ifdef DEBUG_MODE_DFT
- hConfig->itd_mode = 1;
- hConfig->gipd_mode = 1;
-#endif
hConfig->res_pred_mode = STEREO_DFT_RESPRED_OFF;
hConfig->band_res = STEREO_DFT_BAND_RES_LOW;
hConfig->res_cod_mode = STEREO_DFT_RES_COD_OFF;
@@ -87,10 +51,6 @@ void stereo_dft_config(
*bits_frame_nominal = SID_2k40 / FRAMES_PER_SEC;
if ( hConfig != NULL )
{
-#ifdef DEBUG_MODE_DFT
- hConfig->itd_mode = 1;
- hConfig->gipd_mode = 1;
-#endif
hConfig->res_pred_mode = STEREO_DFT_RESPRED_OFF;
hConfig->band_res = STEREO_DFT_BAND_RES_LOW;
hConfig->res_cod_mode = STEREO_DFT_RES_COD_OFF;
@@ -101,10 +61,6 @@ void stereo_dft_config(
*bits_frame_nominal = ACELP_9k60 / FRAMES_PER_SEC;
if ( hConfig != NULL )
{
-#ifdef DEBUG_MODE_DFT
- hConfig->itd_mode = 1;
- hConfig->gipd_mode = 1;
-#endif
hConfig->res_pred_mode = STEREO_DFT_RESPRED_ESF;
hConfig->band_res = STEREO_DFT_BAND_RES_LOW;
hConfig->res_cod_mode = STEREO_DFT_RES_COD_OFF;
@@ -115,10 +71,6 @@ void stereo_dft_config(
*bits_frame_nominal = ACELP_13k20 / FRAMES_PER_SEC;
if ( hConfig != NULL )
{
-#ifdef DEBUG_MODE_DFT
- hConfig->itd_mode = 1;
- hConfig->gipd_mode = 1;
-#endif
hConfig->res_pred_mode = STEREO_DFT_RESPRED_ESF;
hConfig->band_res = STEREO_DFT_BAND_RES_LOW;
hConfig->res_cod_mode = STEREO_DFT_RES_COD_OFF;
@@ -129,10 +81,6 @@ void stereo_dft_config(
*bits_frame_nominal = ACELP_16k40 / FRAMES_PER_SEC;
if ( hConfig != NULL )
{
-#ifdef DEBUG_MODE_DFT
- hConfig->itd_mode = 1;
- hConfig->gipd_mode = 1;
-#endif
hConfig->res_pred_mode = STEREO_DFT_RESPRED_ESF;
hConfig->res_cod_mode = STEREO_DFT_RES_COD_OFF;
}
@@ -143,10 +91,6 @@ void stereo_dft_config(
if ( hConfig != NULL )
{
hConfig->ada_wb_res_cod_mode = 1;
-#ifdef DEBUG_MODE_DFT
- hConfig->itd_mode = 1;
- hConfig->gipd_mode = 1;
-#endif
hConfig->res_pred_mode = STEREO_DFT_RESPRED_STEFI;
hConfig->res_cod_mode = STEREO_DFT_RES_COD_1kHz;
}
@@ -156,10 +100,6 @@ void stereo_dft_config(
*bits_frame_nominal = ACELP_32k / FRAMES_PER_SEC;
if ( hConfig != NULL )
{
-#ifdef DEBUG_MODE_DFT
- hConfig->itd_mode = 1;
- hConfig->gipd_mode = 1;
-#endif
hConfig->res_pred_mode = STEREO_DFT_RESPRED_STEFI;
hConfig->res_cod_mode = STEREO_DFT_RES_COD_1_6kHz;
}
diff --git a/lib_com/ivas_stereo_eclvq_com.c b/lib_com/ivas_stereo_eclvq_com.c
index 168dd1d1a66a411519e11dbf02617c5568b79490..55d48502f28453067a34dbc6fc0901ed9a05df8e 100644
--- a/lib_com/ivas_stereo_eclvq_com.c
+++ b/lib_com/ivas_stereo_eclvq_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
@@ -70,9 +42,6 @@ float ECSQ_dequantize_gain(
const int16_t index )
{
float global_gain;
-#ifdef DEBUGGING
- assert( ( index >= 0 ) && ( index <= 126 ) );
-#endif
global_gain = powf( 10.0f, (float) index * ECLVQ_INV_GLOBAL_GAIN_FACTOR );
@@ -92,10 +61,6 @@ void ECSQ_dequantize_vector(
float *output )
{
int16_t i;
-#ifdef DEBUGGING
- assert( N > 0 );
- assert( global_gain > 0.0f );
-#endif
for ( i = 0; i < N; ++i )
{
diff --git a/lib_com/ivas_stereo_ica_com.c b/lib_com/ivas_stereo_ica_com.c
index 9902bb30ef60de6adf2cd8407aa17dd932377897..4f3349b8fc43e8fcb8d81c48d108d405f8600da8 100644
--- a/lib_com/ivas_stereo_ica_com.c
+++ b/lib_com/ivas_stereo_ica_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include
@@ -37,9 +9,6 @@
#include "ivas_cnst.h"
#include "prot.h"
#include "ivas_prot.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "wmc_auto.h"
#include "rom_com.h"
#include "ivas_rom_com.h"
diff --git a/lib_com/ivas_stereo_mdct_bands_com.c b/lib_com/ivas_stereo_mdct_bands_com.c
index 51b541ab2cf0ce201daf0b0ab85a05a009d045db..829523b721233958e519f05655321e216d6e8b74 100644
--- a/lib_com/ivas_stereo_mdct_bands_com.c
+++ b/lib_com/ivas_stereo_mdct_bands_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include
@@ -225,9 +197,6 @@ void stereo_mdct_init_igf_start_band(
{
int16_t i, bitRateIndex, igfStartLine;
const int16_t *swb_offset;
-#ifdef DEBUGGING
- stbParams->sfbIgfStart = 0;
-#endif
bitRateIndex = IGF_MapBitRateToIndex( element_brate, bwidth, IVAS_CPE_MDCT, 0 );
swb_offset = &swb_offset_LB_new[bitRateIndex][1];
@@ -244,9 +213,6 @@ void stereo_mdct_init_igf_start_band(
stbParams->nBandsStereoCore = stbParams->sfbIgfStart;
-#ifdef DEBUGGING
- assert( stbParams->sfbIgfStart > 0 );
-#endif
return;
}
diff --git a/lib_com/ivas_stereo_mdct_stereo_com.c b/lib_com/ivas_stereo_mdct_stereo_com.c
index fddd61d3ae551d7477b0104601ba3f0181b8e7ef..ccd7224a5f8d62689fd2d848a1f7aad19a9ce6f9 100644
--- a/lib_com/ivas_stereo_mdct_stereo_com.c
+++ b/lib_com/ivas_stereo_mdct_stereo_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
diff --git a/lib_com/ivas_stereo_psychlpc_com.c b/lib_com/ivas_stereo_psychlpc_com.c
index d60f63580b802df62f5bdca858efda89c81a7cd5..26e90504eb59bd0e46d33a01728ad71897183927 100644
--- a/lib_com/ivas_stereo_psychlpc_com.c
+++ b/lib_com/ivas_stereo_psychlpc_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
diff --git a/lib_com/ivas_stereo_td_bit_alloc.c b/lib_com/ivas_stereo_td_bit_alloc.c
index 7c2c004d6f3a26dc3084ee2d022ad71096cb40f4..0df05517af1907809094120653b37e52eaf9aa02 100644
--- a/lib_com/ivas_stereo_td_bit_alloc.c
+++ b/lib_com/ivas_stereo_td_bit_alloc.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "stat_enc.h"
#include "rom_com.h"
diff --git a/lib_com/ivas_tools.c b/lib_com/ivas_tools.c
index e7ada0a3432364b499f974d3625af3546d294af6..8fc6798952920cb5ef289efb971b5e621196c33c 100644
--- a/lib_com/ivas_tools.c
+++ b/lib_com/ivas_tools.c
@@ -1,41 +1,10 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "ivas_prot.h"
@@ -133,12 +102,6 @@ uint32_t ivas_syn_output(
{
noClipping += mvr2s( synth[n], synth_loc, output_frame );
-#ifdef DEBUG_MODE_LFE
- if ( n == LFE_CHANNEL )
- {
- dbgwrite( synth_loc, sizeof( int16_t ), output_frame, 1, "./lfe_out.raw" );
- }
-#endif
for ( i = 0; i < output_frame; i++ )
{
synth_out[i * n_channels + n] = synth_loc[i];
diff --git a/lib_com/ivas_transient_det.c b/lib_com/ivas_transient_det.c
index 477e2090f218c9a0d521fde8f1a2c1f791098fa1..34111882dffe901aa0902bf171ccd84f32812cce 100644
--- a/lib_com/ivas_transient_det.c
+++ b/lib_com/ivas_transient_det.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "math.h"
#include "wmc_auto.h"
#include "prot.h"
diff --git a/lib_com/lag_wind.c b/lib_com/lag_wind.c
index af1ea8a1e7ca33b3f9f2964377da228ebd565242..2d8462f27b107797eebbe7ce7c216a701b002999 100644
--- a/lib_com/lag_wind.c
+++ b/lib_com/lag_wind.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/lerp.c b/lib_com/lerp.c
index 177b1fdaceed88ce13c6d8ceebafc26a87365925..44bb21dbe14d75a4d44be1f68cd7678b4d218a6e 100644
--- a/lib_com/lerp.c
+++ b/lib_com/lerp.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/limit_t0.c b/lib_com/limit_t0.c
index d24dada8a5dc86312bff384581aa58e0cab25632..85188cbeff7cb723de9fe144205f289215bd472d 100644
--- a/lib_com/limit_t0.c
+++ b/lib_com/limit_t0.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/logqnorm.c b/lib_com/logqnorm.c
index b86a0e41bec0c6f6deaa92670795181127b60348..d9f8184fe800e96b9f52f6b68259b33a6aff2f7e 100644
--- a/lib_com/logqnorm.c
+++ b/lib_com/logqnorm.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/longarith.c b/lib_com/longarith.c
index 2f31a80a4ea6b056450218941c04ecef247c397b..b3ec18f86e3c171b67c47ff69f320c7dd3897009 100644
--- a/lib_com/longarith.c
+++ b/lib_com/longarith.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/low_rate_band_att.c b/lib_com/low_rate_band_att.c
index 1dcfa683193473690ec7a6730ef076c1030ace5c..bbf1387233947a6552c44cfdbe17ec925cf63b0d 100644
--- a/lib_com/low_rate_band_att.c
+++ b/lib_com/low_rate_band_att.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "rom_com.h"
#include "prot.h"
diff --git a/lib_com/lpc_tools.c b/lib_com/lpc_tools.c
index e6880efbbe7cb3e0c5754b4b9ff5a0809a661cd2..ad301bc6b28932fb6fb6d32eb53faac9e11404d4 100644
--- a/lib_com/lpc_tools.c
+++ b/lib_com/lpc_tools.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/lsf_dec_bfi.c b/lib_com/lsf_dec_bfi.c
index 86a0b080e5baf0a107a97d2070b8ca1b0e4d4a68..2abffe5f1590997d1216e3b356b3767f7e388ea6 100644
--- a/lib_com/lsf_dec_bfi.c
+++ b/lib_com/lsf_dec_bfi.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/lsf_msvq_ma.c b/lib_com/lsf_msvq_ma.c
index b805f27d098e99380dfe5975692fb109747dcb50..1b5477443d5c6423303d832156901b5f77b34a38 100644
--- a/lib_com/lsf_msvq_ma.c
+++ b/lib_com/lsf_msvq_ma.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/lsf_tools.c b/lib_com/lsf_tools.c
index affaa063edd0c4964cafb9cf6d3c9e65c5c99614..501351864a3e4e8561579fe04940e3e25f844369 100644
--- a/lib_com/lsf_tools.c
+++ b/lib_com/lsf_tools.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
@@ -185,12 +154,6 @@ void a2isp(
{
xint -= ylow * ( xhigh - xlow ) / ( ymid );
}
-#ifdef DEBUGGING
- else if ( ymid == 0 && ylow != 0 )
- {
- IVAS_ERROR( IVAS_ERR_INTERNAL, "issue in a2lsp_stab()" );
- }
-#endif
isp[nf] = xint; /* new root */
nf++;
@@ -676,12 +639,6 @@ void a2lsp_stab(
{
xint -= ylow * ( xhigh - xlow ) / ( ymid );
}
-#ifdef DEBUGGING
- else if ( ymid == 0 && ylow != 0 )
- {
- IVAS_ERROR( IVAS_ERR_INTERNAL, "issue in a2lsp_stab()" );
- }
-#endif
lsp[nf] = xint; /* new root */
nf++;
ip = 1 - ip; /* flag to other polynomial */
@@ -1181,12 +1138,6 @@ ivas_error lsf_allocate(
levels1[0] = bits_lvq;
}
}
-#ifdef DEBUGGING
- else
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "lsf_allocate(): invalid number of bits in used predictive mode\n" );
- }
-#endif
}
return error;
@@ -1264,12 +1215,6 @@ ivas_error find_pred_mode(
}
}
-#ifdef DEBUGGING
- if ( *predmode == -1 )
- {
- return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "\nfind_pred_mode(): incorrect coder_type specification: %d\n", coder_type );
- }
-#endif
return error;
}
diff --git a/lib_com/lsp_conv_poly.c b/lib_com/lsp_conv_poly.c
index 9bbc585252afe76b3eb9a856421461ae3192bcc2..80d2f10ed6a0998663c075111508999125cb606d 100644
--- a/lib_com/lsp_conv_poly.c
+++ b/lib_com/lsp_conv_poly.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "rom_com.h"
#include "prot.h"
diff --git a/lib_com/mime.h b/lib_com/mime.h
index 6e9e5fc87f48c20b650b2872fcf0401ec05bcbfa..585809a13fad4322cdb1877525448c76a378195d 100644
--- a/lib_com/mime.h
+++ b/lib_com/mime.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/modif_fs.c b/lib_com/modif_fs.c
index c3567d61f44124062c99aebb5fa197f11d946969..75a330ceeb6747306c9ade36b016121f743f924e 100644
--- a/lib_com/modif_fs.c
+++ b/lib_com/modif_fs.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/move.h b/lib_com/move.h
index 6fc39c966018f884c56940eff5111f8caa36ea8b..3f7103b5fbdcb60e32e8921e141b46ee651d7c73 100644
--- a/lib_com/move.h
+++ b/lib_com/move.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/mslvq_com.c b/lib_com/mslvq_com.c
index 7f67bd57509104be0fc1d6a3e6fcbd26375e258b..6d049912bcc612d039bb0aa24ceb8f0bd97625fe 100644
--- a/lib_com/mslvq_com.c
+++ b/lib_com/mslvq_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/nelp.c b/lib_com/nelp.c
index 44e4e4b944cabfc328094ba9df5b9193ef1fa44f..0d40bb0abb5b659f1c2f2dff3b70148db177f84d 100644
--- a/lib_com/nelp.c
+++ b/lib_com/nelp.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/options.h b/lib_com/options.h
index 9e2052b43b8b3a7b1414469911054d74ff74e0d6..a157cd9338811e435545ed0bc2f419a6cecb1fbf 100644
--- a/lib_com/options.h
+++ b/lib_com/options.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -47,178 +19,18 @@
/* ################### Start DEBUGGING switches ########################### */
-#ifndef RELEASE
-/*#define DEBUGGING*/ /* Activate debugging part of the code */
-#endif
/*#define WMOPS*/ /* Activate complexity and memory counters */
/*#define WMOPS_PER_FRAME*/ /* Output per-frame complexity (writes one float value per frame to the file "wmops_analysis") */
/*#define WMOPS_DETAIL*/ /* Output detailed complexity printout for every function. Increases runtime overhead */
/*#define WMOPS_WC_FRAME_ANALYSIS*/ /* Output detailed complexity analysis for the worst-case frame */
/*#define MEM_COUNT_DETAILS*/ /* Output detailed memory analysis for the worst-case frame (writes to the file "mem_analysis.csv") */
-/*#define FLP_EXCEPTION_TRAP*/ /* Enable trap for floating-point exceptions (e.g., denormals, underflow, overflow, ...) */
-
-#ifdef DEBUGGING
-/*#define DBG_BITSTREAM_ANALYSIS*/ /* Write bitstream with annotations to a text file */
-/*#define DEBUG_MODE_INFO*/ /* output most important parameters to the subdirectory "res/" */
-#ifdef DEBUG_MODE_INFO
-/*#define DEBUG_MODE_ACELP*/ /* output most important ACELP core parameters to the subdirectory "res/" */
-/*#define DEBUG_MODE_TCX*/ /* output most important TCX core parameters to the subdirectory "res/" */
-/*#define DEBUG_MODE_DFT*/ /* output most important DFT stereo parameters to the subdirectory "res/" */
-/*#define DEBUG_MODE_TD*/ /* output most important TD stereo parameters to the subdirectory "res/ */
-/*#define DEBUG_MODE_DIRAC*/ /* output most important DIRAC parameters to the subdirectory "res/" */
-/*#define DEBUG_MODE_MDCT*/ /* output most important MDCT parameters to the subdirectory "res/" */
-/*#define DEBUG_MODE_PARAM_MC*/ /* output Parametric MC paramters to the subdirectory "res/" */
-/*#define DEBUG_MODE_PARAM_ISM*/ /* output Parametric ISM paramters to the subdirectory "res/" */
-/*#define DEBUG_MODE_INFO_TWEAK*/ /* enable command line switch to specify subdirectory for debug info output inside "./res/" */
-/*#define DEBUG_MODE_INFO_PLC */ /* define to output PLC related parameters */
-/*#define DEBUG_MODE_INFO_ALLRAD*/ /* define to output generated HOA decoding mtx */
-/*#define DEBUG_MODE_LFE */ /* define to output LFE relevant parameters */
-/*#define DEBUG_MODE_ORIENTATION */ /* define to output combined orientation relevant parameters */
-/*#define DEBUG_MODE_JBM */ /* define to output JBM relevant parameters */
-#endif
-
-#ifdef DEBUG_MODE_MDCT
-#define DEBUG_PLOT_BITS
-#define DEBUG_OSBA_MD_BITS
-#endif
-
-#ifdef DEBUG_MODE_DFT
-/*#define DEBUG_MODE_DFT_BITS */
-#endif
-
-#define ENABLE_BITRATE_VERIFICATION /* Enable bitrate verification - use when playing with bit budget */
-/*#define DEBUG_PLOT*/
-/*#define ALLOW_BYTE_EP*/ /* allow byte fer pattern files and check fer pattern file validity */
-#define WRAP_AS_EIDXOR /* wraps FER file (as in STL_eid-xor.c/softbit.c) */
-
-/*#define DEBUG_FORCE_MDCT_STEREO_MODE*/ /* Force stereo mode decision for MDCT stereo: -stereo 3 1 forces L/R coding and -stereo 3 2 forces full M/S coding */
-/*#define DEBUG_STEREO_DFT_NOCORE*/ /* DFT stereo: by-pass core coder at decoder side*/
-/*#define DEBUG_STEREO_DFT_NOSTEREO*/ /* DFT stereo: by-pass stereo processing at encoder and decoder side*/
-/*#define DEBUG_STEREO_DFT_NOQRES*/
-/*#define DEBUG_STEREO_DFT_OUTRESPRED*/ /* output residual prediction signal instead of L/R*/
-
-/*DirAC Debug switches*/
-/*#define DEBUG_DISABLE_DIRAC_DELAY_COMP */ /* temporarily disable delay compensation on DirAC encoder */
-/*#define DEBUG_BS_READ_WRITE*/
-/*#define DEBUG_MODE_DIRAC_NOCORE*/
-/*#define DEBUG_MODE_QMETADATA*/ /* output q_metadata parameters */
-
-/*MCT Debug switches*/
-/*#define DEBUG_FORCE_MCT_CP*/ /* force MCT Stereo pairs for verification with SPAR */
-#ifdef DEBUG_FORCE_MCT_CP
-/*#define DEBUG_SINGLE_CODE_OMNI*/ /* force 3 TC SBA always code W channel separately */
-#endif
-/*PLC Debug switches*/
-/*#define DEBUG_NO_TONAL_PLC*/
-/*#define DEBUG_NO_TD_TCX_PLC */
-/*#define DEBUG_FORCE_TD_TCX_CONCEALMENT*/
-/*#define DEBUG_PLC_INFO*/
-
-/*#define DEBUG_EFAP_POLY_TOFILE*/ /* Write poly_select values to file in EFAP, used for generating ROM LUTs */
-/*#define TDREND_HRTF_TABLE_METHODS*/ /* Enable HRTF lookup from tables, for testing & evaluation. Supply file in table format to use. Note that a suitable HR filter lookup method should be written if the filters sample point grids are not in the formats. */
-/*#define TDREND_STANDALONE*/ /* Used when renderer is built in standalone form, without IVAS encoding/decoding (see scripts/object_renderer_standalone). This is just here to ensure this is cleaned out by prepare_instrumentation.sh */
-
-/*#define DEBUG_SBA*/ /* debug DIRAC/SPAR in-out */
-#ifdef DEBUG_SBA
-/*#define DEBUG_LBR_SBA*/ /* debug low bitrate SBA (SPAR+DirAC) */
-/*#define DEBUG_SBA_AUDIO_DUMP*/ /* SBA intermediate audio wav file dumping */
-/*#define DEBUG_SBA_MD_DUMP*/ /* SBA metadata and variable file dumping */
-/*#define DEBUG_SPAR_MD_TARGET_TUNING*/ /* SPAR MD target bitrate tuning debug code */
-/*#define DEBUG_SPAR_BYPASS_EVS_CODEC*/ /* bypass EVS coding in float precision, emulating EVS encoder/decoder delay */
-/*#define DEBUG_SPAR_WRITE_OUT_COV*/ /* write covariance per frame into a text file for verification */
-/*#define DEBUG_SPAR_DIRAC_WRITE_OUT_PRED_PARS*//* Log SPAR Prediction coefficients to a text file for verification */
-/*#define DEBUG_AGC*/ /* debug SPAR AGC in-out */
-#endif
-/*#define SPAR_HOA_DBG*/ /* SPAR HOA debug statements */
-/* #define DEBUG_OSBA */
-/*#define DEBUG_BINAURAL_FILTER_DESIGN*/ /* debugging of Crend binaural filter design */
-/*#define DEBUG_AGC_ENCODER_CMD_OPTION*/ /* Ability to force enable or disable AGC behaviour in DIRAC/SPAR via command line option */
-/*#define DEBUG_JBM_CMD_OPTION*/ /* ability for telling the decoder the frontend fetch size and to not delay compensate for bad frames at the beginning */
-/*#define VARIABLE_SPEED_DECODING*/ /* variable speed decoding employing the JBM functioniality; move to DEBUGGING after build for disabled is fixed */
-/*#define DISABLE_LIMITER*/ /* disable the limiter */
-/*#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 */
-
-/*Split Rendering Debug switches*/
-/*#define DBG_WAV_WRITER*/ /* add debugging function dbgwrite_wav() */
-/*#define SPLIT_REND_WITH_HEAD_ROT_DEBUG*/ /* debugging switch for split rendering */
-/*#define SPLIT_POSE_CORRECTION_DEBUG*/ /* debugging switch for split rendering pose correction */
-/*#define SPLIT_MD_CODING_DEBUG*/ /* debugging switch for split rendering metadata coding */
-/*#define DEBUG_WRITE_PREDICTORS*/ /* debugging switch for LCDL predictors*/
-/*#define DEBUG_WRITE_MS_PRED*/ /* debugging switch for LCLD mid-side prediction*/
-
-#endif /* DEBUGGING */
/* #################### End DEBUGGING switches ############################ */
-/* keep as part of options.h */
#define BASOP_NOGLOB /* Disable global symbols in BASOPs, Overflow/Carry in BASOPs disabled, additional BASOPs in case of Overflow */
-/*#define DISABLE_LIMITER */ /* test switch for testing BE between 5ms and 20ms rendering */
-
-/* ################## Start DEVELOPMENT switches ######################### */
-
-
-#define RTP_S4_251135_CR26253_0016_REV1 /* RTP Pack/Unpack API corresponding to CR 26253 */
-#define IVAS_RTPDUMP /* RTPDUMP writing and reading for IVAS payloads */
-#define IVAS_RTPDUMP_ACOUSTIC_ENVIRONMENT /* RTPDUMP acoustic environment */
-#define FIXED_RTP_SEQUENCE_NUM /* Remove random sequence number initialization */
-#define PI_LATENCY /* Pi latency PI frame */
-#define ISM_PI_DATA /* Add reading and packing/unpacking of ISM PI data */
-#define REVERSE_ISM_PI_DATA /* Add reading and packing/unpacking of reverse ISM PI data */
-#define DECODER_FORMAT_SWITCHING /* Re-initialize the decoder when the format/subformat of the incoming stream is changed */
-#define RTP_SR_CODEC_FRAME_SIZE_IN_TOC_BYTE /* CR for split rendering codec framesize signalling in Toc Byte*/
-#define FIX_SPLIT_RENDERING_ON_DECODER_RESTART /* Re-configure split rendering on decoder restart */
-#define RTP_UPDATES_SA4_134 /* Updates to RTP during SA4 134 */
-#define COMPACT_ORIENTATION_PI_DATA
-
-/* ################### Start BE switches ################################# */
-/* only BE switches wrt selection floating point code */
-
-/*#define FIX_I4_OL_PITCH*/ /* fix open-loop pitch used for EVS core switching */
-#define FIX_1119_SPLIT_RENDERING_VOIP /* FhG: Add split rendering support to decoder in VoIP mode */
-#define TMP_1342_WORKAROUND_DEC_FLUSH_BROKEN_IN_SR /* FhG: Temporary workaround for incorrect implementation of decoder flush with split rendering */
-#define FIX_1413_IGF_INIT_PRINTOUT /* FhG: use correct variable for IGF initiliazation */
-#define RENDERER_MD_SYNC_DELAY_TO_INTEGER /* FhG: change data type of metadata sync delay in ext renderer to int16_t for better BASOP portability (and nicer code) */
-#define FIX_1427_OBJ_EDITING_EXT_METADATA /* Eri: Add support for extended metadata in object editing */
-#define FIX_1419_MONO_STEREO_UMX /* FhG: fix for issue 1419 : support upmix to all output formats for mono and stereo */
-#define FIX_1437_LC3PLUS_EXTREND_HIRES /* FhG: fix external renderer split bitstream header writing causing a crash for LC3plus High-res mode */
-
-#define FIX_1318_ROOM_SIZE_CMD_LINE /* Philips/Nokia: Default room sizes support */
-
-/* #################### End BE switches ################################## */
-
-/* #################### Start NON-BE switches ############################ */
-
-/* any switch which is non-be wrt selection floating point code */
-/* all switches in this category should start with "NONBE_" */
-
-#define NONBE_1244_FIX_SWB_BWE_MEMORY /* VA: issue 1244: fix to SWB BWE memory in case of switching from FB coding - pending a review by Huawei */
-#define NONBE_1122_KEEP_EVS_MODE_UNCHANGED /* FhG: Disables fix for issue 1122 in EVS mode to keep BE tests green. This switch should be removed once the 1122 fix is added to EVS via a CR. */
-#define NONBE_1399_1400_FIX_OBJ_EDIT_ISSUES /* Nokia: Fix for issues 1399: obj edit broken with MC/SBA output in VOIP, and 1400: negative energy estimate used for gaining. */
-#define FIX_1411_IGF_CRASH_BW_SWITCHING /* FhG: Fix for issue 1411: fixes crash that can happen for IGF with BW switching and DTX*/
-
-#define NONBE_1412_AVOID_ROUNDING_AZ_ELEV /* FhG: Avoid rounding when passing azimuth and elevation to efap_determine_gains() */
-#define NONBE_MDCT_ST_DTX_FIX_SUBOPT_SPATIAL_CNG /* FhG: Fix MDCT-Stereo comfort noise for certain noise types */
-#define NONBE_FIX_NONBE_BETWEEN_OPTIMIZATION_LEVELS /* FhG: fix non-BE in DFT stereo encoder between optimization levels */
-#define NONBE_FIX_NONBE_BETWEEN_OPTIMIZATION_LEVELS_2 /* FhG: fix even more non-BEnesses */
-#define NONBE_1324_TC_BUFFER_MEMOERY_KEEP /* VA: issue 1324: do not reset TSM memory in JBM bitrate switching */
-#define FIX_1330_JBM_MEMORY_FIX /* VA: basop issue: 2179 fix non-BE difference in FIX_1330_JBM_MEMORY */
-#define NONBE_1380_OMASA_BUILD_DIFF /* Nokia: Fix for issue #1380: Large differences in OMASA output between Debug and Release builds */
-#define NONBE_FIX_1426_STEREO_PANNING_BETWEEN_OPT_LEVEL /* Nokia: Adjustments in remaining stereo panning functions to make them BE between Debug and Release */
-#define FIX_GAIN_EDIT_LIMITS /* Harmonize gain edit limits for all opertation points. For all modes, limit to max +12dB. For parametric modes, limit to min -24dB. */
-#define BE_FIX_1391_COVERAGE_SPAR_DYN__CHANNEL /* Dolby: Fix coverage of SBA SPAR Dynamic active W not getting hit by the tests */
-#define NONBE_FIX_1442_MASA_EXT_REND_ORIENT_IDX /* Nokia: Fix issue 1442 of wrong index to combinedOrientationData */
-
-#define FIX_1430_EVS_STEREO_DMX_CHANNEL_DISAPPEARING /* Orange: Fix for basop issue 2184 - to prevent one channel from becoming inaudible in the mono downmix output */
-#define FIX_1440_AMR_WB_RESET /* VA: issue 1440: Fix missing AMR-WB IO memory reset (applicable to float only) */
-#define FIX_BASOP_ISSUE_1585_CUT_BS_CRASH /* FhG: Fix for BASOP issue 1585 crash of a cut bitstream, also valid for float code*/
-
-#define NONBE_FIX_BASOP_2233_RTPDUMP_DIFFERING_BITSTREAMS /* Nokia: fix basop issue 2233: Fix differing rtpdump streams */
-
-/* ##################### End NON-BE switches ########################### */
-/* ################## End DEVELOPMENT switches ######################### */
/* clang-format on */
diff --git a/lib_com/parameter_bitmaping.c b/lib_com/parameter_bitmaping.c
index 5b9c89862bc6b875390650a55e1fd5c47ff6b79a..acb8e617572e25ab7f33268a142705854762f757 100644
--- a/lib_com/parameter_bitmaping.c
+++ b/lib_com/parameter_bitmaping.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "stat_com.h"
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/phase_dispersion.c b/lib_com/phase_dispersion.c
index c9926de16bc216340151cf796543df2a28a4f80c..489537cc6c9ed037b7ed696737bfd6e1d709b291 100644
--- a/lib_com/phase_dispersion.c
+++ b/lib_com/phase_dispersion.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/ppp.c b/lib_com/ppp.c
index cb63ef78b1d1cd18e9cc8865c9891000a8782a94..1ddf862b421060e349c90099ac43e784465ee6b7 100644
--- a/lib_com/ppp.c
+++ b/lib_com/ppp.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/pred_lt4.c b/lib_com/pred_lt4.c
index abee4b097089e975f34f667956e44ce0467c600b..810907ac7b5aef8bde949095a5e406c89f4b53c5 100644
--- a/lib_com/pred_lt4.c
+++ b/lib_com/pred_lt4.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "rom_com.h"
#include "prot.h"
diff --git a/lib_com/preemph.c b/lib_com/preemph.c
index 80405af568885765489f17c910589a36c864ba52..03b1f7593b7375a11c992677a3aadde303da8443 100644
--- a/lib_com/preemph.c
+++ b/lib_com/preemph.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/prot.h b/lib_com/prot.h
index c624212fc3060e0b874a32170932fbf5c9183f11..6668307a66d25903ee9514620124aa107a07b64b 100644
--- a/lib_com/prot.h
+++ b/lib_com/prot.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -41,9 +13,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "typedef.h"
#include "stat_enc.h"
#include "stat_dec.h"
@@ -161,14 +130,6 @@ int16_t sum_s(
const int16_t lvec /* i : length of input vector */
);
-#ifdef DEBUGGING
-/*! r: sum of all vector elements */
-int32_t sum_l(
- const int32_t *vec, /* i : input vector */
- const int16_t lvec /* i : length of input vector */
-);
-
-#endif
/*! r: sum of all vector elements */
float sum_f(
const float *vec, /* i : input vector */
@@ -222,16 +183,6 @@ void mvs2s(
const int16_t n /* i : vector size */
);
-#ifdef DEBUGGING
-/*! r: number of overload samples */
-uint32_t check_clipping(
- const float x[], /* i : input vector */
- const int16_t n, /* i : vector size */
- float *maxOverload, /* i/o: max overload value */
- float *minOverload /* i/o: max overload value */
-);
-
-#endif
/*! r: number of clipped samples */
uint32_t mvr2s(
const float x[], /* i : input vector */
@@ -492,29 +443,14 @@ ivas_error push_indice(
int16_t nb_bits /* i : number of bits used to quantize the indice */
);
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
-#define push_next_indice( ... ) push_next_indice_( __func__, __VA_ARGS__ )
-#define push_next_bits( ... ) push_next_bits_( __func__, __VA_ARGS__ );
-#endif
-
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
-ivas_error push_next_indice_(
- const char *caller,
-#else
ivas_error push_next_indice(
-#endif
BSTR_ENC_HANDLE hBstr,
uint16_t value, /* i : value of the quantized indice */
int16_t nb_bits /* i : number of bits used to quantize the indice */
);
-#if defined( DEBUGGING ) && defined( DBG_BITSTREAM_ANALYSIS )
-ivas_error push_next_bits_(
- const char *caller,
-#else
ivas_error push_next_bits(
-#endif
BSTR_ENC_HANDLE hBstr, /* i/o: encoder bitstream handle */
const uint16_t bits[], /* i : bit buffer to pack, sequence of single bits */
const int16_t nb_bits /* i : number of bits to pack */
@@ -627,14 +563,6 @@ ivas_error read_indices(
int16_t bfi /* i : bad frame indicator */
);
-#ifdef DEBUGGING
-/*! r: 1 = reading OK, 0 = problem */
-ivas_error preview_indices(
- Decoder_Struct *st_ivas, /* i/o: IVAS decoder structure */
- uint16_t bit_stream[], /* i : bitstream buffer */
- UWord16 num_bits /* i : number of bits in bitstream */
-);
-#endif
void ivas_set_bitstream_pointers(
Decoder_Struct *st_ivas /* i/o: IVAS decoder structure */
@@ -1740,11 +1668,8 @@ void hq_configure(
/*! r: Consumed bits */
int16_t hvq_enc(
- BSTR_ENC_HANDLE hBstr, /* i/o: encoder bitstream handle */
- const int16_t bwidth, /* i : audio bandwidth */
-#ifdef DEBUGGING
- const int16_t idchan, /* i : channel ID */
-#endif
+ BSTR_ENC_HANDLE hBstr, /* i/o: encoder bitstream handle */
+ const int16_t bwidth, /* i : audio bandwidth */
const int32_t core_brate, /* i : core bitrate */
const int16_t hvq_bits, /* i : HVQ bit budget */
const int16_t Npeaks, /* i : Number of peaks */
@@ -2110,9 +2035,6 @@ Word32 encode_magnitude_usq_fx(
ivas_error tcq_core_LR_enc(
BSTR_ENC_HANDLE hBstr, /* i/o: encoder bitstream handle */
-#ifdef DEBUGGING
- const int16_t idchan,
-#endif
int32_t inp_vector[],
const float coefs_norm[],
float coefs_quant[],
@@ -2198,16 +2120,13 @@ void bit_allocation_second_fx(
const Word16 input_frame );
void io_ini_enc(
- const int32_t argc, /* i : command line arguments number */
- char *argv[], /* i : command line arguments */
- FILE **f_input, /* o : input signal file */
- FILE **f_stream, /* o : output bitstream file */
- FILE **f_rate, /* o : bitrate switching profile (0 if N/A) */
- FILE **f_bwidth, /* o : bandwidth switching profile (0 if N/A) */
- FILE **f_metadata, /* o : metadata files (NULL if N/A) */
-#ifdef DEBUGGING
- FILE **f_force, /* o : force switching profile (0 if N/A) */
-#endif
+ const int32_t argc, /* i : command line arguments number */
+ char *argv[], /* i : command line arguments */
+ FILE **f_input, /* o : input signal file */
+ FILE **f_stream, /* o : output bitstream file */
+ FILE **f_rate, /* o : bitrate switching profile (0 if N/A) */
+ FILE **f_bwidth, /* o : bandwidth switching profile (0 if N/A) */
+ FILE **f_metadata, /* o : metadata files (NULL if N/A) */
FILE **f_rf, /* o : channel aware configuration file */
int16_t *quietMode, /* o : limit printouts */
int16_t *noDelayCmp, /* o : turn off delay compensation */
@@ -2238,13 +2157,6 @@ void read_next_bwidth(
int32_t input_Fs /* i : input sampling rate */
);
-#ifdef DEBUGGING
-void read_next_force(
- int16_t *force, /* i/o: force value (0/1, 0 = speech, 1 = music)*/
- FILE *f_force, /* i : force switching profile (0 if N/A) */
- int32_t *force_profile_cnt /* i/o: counter of frames for force switching profile file */
-);
-#endif
ivas_error init_encoder(
Encoder_State *st, /* i/o: state structure */
@@ -2284,16 +2196,14 @@ void amr_wb_enc_init(
);
void pre_proc(
- Encoder_State *st, /* i/o: encoder state structure */
- const int16_t input_frame, /* i : frame length */
- float old_inp_12k8[], /* i/o: buffer of old input signal */
- float old_inp_16k[], /* i/o: buffer of old input signal @ 16kHz */
- float **inp, /* o : ptr. to inp. signal in the current frame*/
- float fr_bands[2 * NB_BANDS], /* i : energy in frequency bands */
- float *ener, /* o : residual energy from Levinson-Durbin */
-#ifndef FIX_I4_OL_PITCH
- int16_t pitch_orig[3], /* o : open-loop pitch values for quantization */
-#endif
+ Encoder_State *st, /* i/o: encoder state structure */
+ const int16_t input_frame, /* i : frame length */
+ float old_inp_12k8[], /* i/o: buffer of old input signal */
+ float old_inp_16k[], /* i/o: buffer of old input signal @ 16kHz */
+ float **inp, /* o : ptr. to inp. signal in the current frame*/
+ float fr_bands[2 * NB_BANDS], /* i : energy in frequency bands */
+ float *ener, /* o : residual energy from Levinson-Durbin */
+ int16_t pitch_orig[3], /* o : open-loop pitch values for quantization */
float A[NB_SUBFR16k * ( M + 1 )], /* i/o: A(z) unquantized for the 4 subframes */
float Aw[NB_SUBFR16k * ( M + 1 )], /* i/o: weighted A(z) unquantized for subframes */
float epsP[M + 1], /* i/o: LP prediction errors */
@@ -6169,11 +6079,8 @@ void reverse_transient_frame_energies(
);
int16_t peak_vq_enc(
- BSTR_ENC_HANDLE hBstr, /* i/o: encoder bitstream handle */
- const int16_t bwidth, /* i : audio bandwidth */
-#ifdef DEBUGGING
- const int16_t idchan, /* i : channel ID */
-#endif
+ BSTR_ENC_HANDLE hBstr, /* i/o: encoder bitstream handle */
+ const int16_t bwidth, /* i : audio bandwidth */
const float *coefs, /* i : Input coefficient vector */
float *coefs_out, /* o : Quantized output vector */
const int32_t core_brate, /* i : Core bitrate */
diff --git a/lib_com/pvq_com.c b/lib_com/pvq_com.c
index ca3f2d6c4478d2b6fb2a724d01b030bd05a27f9a..628d67b0a48ea8c30c356a35d848e65f62d0a9e7 100644
--- a/lib_com/pvq_com.c
+++ b/lib_com/pvq_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/range_com.c b/lib_com/range_com.c
index bd719724c1f6b4ed2be8a388dc5becf043d320df..8ad936e7b538df4bdfc47eed1c9975958f115cb0 100644
--- a/lib_com/range_com.c
+++ b/lib_com/range_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "rom_com.h"
#include "prot.h"
diff --git a/lib_com/re8_ppv.c b/lib_com/re8_ppv.c
index bff83be7f9e367bdf36f2955b07ea2b56e65349c..7119db0773347dcfdfd4486986576ac7b7901cf7 100644
--- a/lib_com/re8_ppv.c
+++ b/lib_com/re8_ppv.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/re8_util.c b/lib_com/re8_util.c
index fd895ba8a98815313298394ed9c28f469cd7cbfe..a29dcc094e8336fd37da410944c1586646674319 100644
--- a/lib_com/re8_util.c
+++ b/lib_com/re8_util.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include /* for ldexp() */
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/realft.c b/lib_com/realft.c
index 186b336722a8d4390ea4af0801981d56aba7042a..178e8b56f0d4a671f57363d211f4855c41c11683 100644
--- a/lib_com/realft.c
+++ b/lib_com/realft.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include "cnst.h"
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/recovernorm.c b/lib_com/recovernorm.c
index 05ea13f1a717663a9c43c60dee4d3ab485accc09..ebdee567c14d00e344b060213c3c2eeab140fbc6 100644
--- a/lib_com/recovernorm.c
+++ b/lib_com/recovernorm.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/reordvct.c b/lib_com/reordvct.c
index 6fb169314ed08d1b7112e42bcc0729a164c7b6c1..24fba60999636ae42383bdb1567c9f8d9f23ba37 100644
--- a/lib_com/reordvct.c
+++ b/lib_com/reordvct.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/residu.c b/lib_com/residu.c
index 96503988ed0d9b2ad33a5fb29bd55a410bcc422e..6df999d3e56ec4e9f97d39fdd4718ca49ab11a13 100644
--- a/lib_com/residu.c
+++ b/lib_com/residu.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/rom_com.c b/lib_com/rom_com.c
index 754e1b21e9c6391c8a58846b0785c65edffbfe3c..cc56faf637201e29c27c0e9f34e1c67494cfc8a6 100644
--- a/lib_com/rom_com.c
+++ b/lib_com/rom_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "rom_com.h"
#include "prot.h"
diff --git a/lib_com/rom_com.h b/lib_com/rom_com.h
index 3a6db136fa0b406eac772d24f1eaf4ee66e9d3d3..3702f4e506e506d66fd02114ec767e8bf67b0c94 100644
--- a/lib_com/rom_com.h
+++ b/lib_com/rom_com.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -39,9 +11,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "stat_enc.h"
#include "stat_dec.h"
#include "stl.h"
diff --git a/lib_com/stab_est.c b/lib_com/stab_est.c
index 5b9ab0c07917f741e58daaba7cd7f4d3956b13de..7120a1df224f95205b0fbfd0a6ac4fd80024b53e 100644
--- a/lib_com/stab_est.c
+++ b/lib_com/stab_est.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/stat_com.h b/lib_com/stat_com.h
index 2eb9b5ee95ff0da883c98dbab81a3e0fea2dba7f..9ff9e729c1010eee4352df1fb03ae7fbcd7184b4 100644
--- a/lib_com/stat_com.h
+++ b/lib_com/stat_com.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -43,9 +15,6 @@
#include "options.h"
#include "typedef.h"
#include "cnst.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
/* Forward declaration of Decoder_State */
struct Decoder_State;
@@ -405,12 +374,8 @@ typedef struct
int16_t flag_noisy_speech;
float likelihood_noisy_speech;
-#ifdef NONBE_MDCT_ST_DTX_FIX_SUBOPT_SPATIAL_CNG
float coherence[MDCT_ST_DTX_NUM_COHERENCE_BANDS]; /* inter-channel coherence of noise */
-#else
- float coherence; /* inter-channel coherence of noise */
-#endif
- int16_t no_side_flag; /* indicates whether the side noise shape should be zeroed-out or not */
+ int16_t no_side_flag; /* indicates whether the side noise shape should be zeroed-out or not */
} FD_CNG_COM, *HANDLE_FD_CNG_COM;
diff --git a/lib_com/stat_noise_uv_mod.c b/lib_com/stat_noise_uv_mod.c
index e6cb199935e259726ce92b5db562468774fc62e0..09c1107cabc3777367f4ac1bc681b81fd1a75aa3 100644
--- a/lib_com/stat_noise_uv_mod.c
+++ b/lib_com/stat_noise_uv_mod.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/stl.h b/lib_com/stl.h
index 5389c3c3a27da2664f2c0b94297376002025733e..4e3bcd6222ae447b58cc8d0739b7fbda59b77022 100644
--- a/lib_com/stl.h
+++ b/lib_com/stl.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/swb_bwe_com.c b/lib_com/swb_bwe_com.c
index 00de3a838c3d9d069bf2c9fa741d4d34bf4178f0..ec83c5fea01e789fe1e1036784ce6658c195779e 100644
--- a/lib_com/swb_bwe_com.c
+++ b/lib_com/swb_bwe_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/swb_bwe_com_hr.c b/lib_com/swb_bwe_com_hr.c
index ddf1cc1341d6ede89ba8fbb24b4392bcc5bfeaf9..70bcca64effa3410d5bd79f61acace3a691e1b6f 100644
--- a/lib_com/swb_bwe_com_hr.c
+++ b/lib_com/swb_bwe_com_hr.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/swb_bwe_com_lr.c b/lib_com/swb_bwe_com_lr.c
index 048e02456e7a37e04e00632f7c58fcab87e39992..c847ce940925ea2d6510ba4e085bd3b863833675 100644
--- a/lib_com/swb_bwe_com_lr.c
+++ b/lib_com/swb_bwe_com_lr.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/swb_tbe_com.c b/lib_com/swb_tbe_com.c
index 2104e5cdee89af298c6c2a8d9df5c9fd39feda0e..1bcfe7272a43a9d7f301a15381db51584db1c0e7 100644
--- a/lib_com/swb_tbe_com.c
+++ b/lib_com/swb_tbe_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/syn_12k8.c b/lib_com/syn_12k8.c
index 7a91626bb776e4e08afe98b1e58ad3c6c96beb5d..52c84da19cf682f1154d2c5cdf0e9aab37a8cdc6 100644
--- a/lib_com/syn_12k8.c
+++ b/lib_com/syn_12k8.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/syn_filt.c b/lib_com/syn_filt.c
index d0d2adb49d5c47ce2c1d3384535c59a26eaaaf59..e1164d97ddfc90cc7a67e4a40d2045dafd47bf0f 100644
--- a/lib_com/syn_filt.c
+++ b/lib_com/syn_filt.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/tcq_position_arith.c b/lib_com/tcq_position_arith.c
index 1c46ea4e8379d7afffa8bb659f5d9fbb6408dab7..ac38f3f3ba6f6c429d1188d314ca325fa6bce7c2 100644
--- a/lib_com/tcq_position_arith.c
+++ b/lib_com/tcq_position_arith.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/tcx_ltp.c b/lib_com/tcx_ltp.c
index f36af601304c28cfb06ceb518b7a21f5be8f71aa..fccb9dd39ff107b8dbbbbafcc0b7c35713ae898a 100644
--- a/lib_com/tcx_ltp.c
+++ b/lib_com/tcx_ltp.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "rom_com.h"
#include "wmc_auto.h"
diff --git a/lib_com/tcx_mdct.c b/lib_com/tcx_mdct.c
index f66b508e68fae0bcb62eaf2e8025e4cca65e1341..7148d80ab0b3b2d4cfcf1b6c9e4414c710328715 100644
--- a/lib_com/tcx_mdct.c
+++ b/lib_com/tcx_mdct.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/tcx_mdct_window.c b/lib_com/tcx_mdct_window.c
index 61163fe8ab138355bcce1a10fbbb99ae8b58a3de..a95240f5b855353882630e91a6f48b95b71d8241 100644
--- a/lib_com/tcx_mdct_window.c
+++ b/lib_com/tcx_mdct_window.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "prot.h"
diff --git a/lib_com/tcx_utils.c b/lib_com/tcx_utils.c
index d37ecf207bdd514e006a0dd87022f875d0109ac0..c2f28ee278f8e2f04827e25619c0a812848b3896 100644
--- a/lib_com/tcx_utils.c
+++ b/lib_com/tcx_utils.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/tec_com.c b/lib_com/tec_com.c
index e343cee5baf7bd782d407c245ef38ec31e2d41e1..e3463c202200f40a64ee27736f53af3d002084ec 100644
--- a/lib_com/tec_com.c
+++ b/lib_com/tec_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/tns_base.c b/lib_com/tns_base.c
index 9f34bdfc3ed70e8f67bc34dab751418f7be3a853..0a426e19a04b30239e46bba91b2bc2d377365578 100644
--- a/lib_com/tns_base.c
+++ b/lib_com/tns_base.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/tools.c b/lib_com/tools.c
index 6dca2331ff73320a615f120e5a1cea687704ab9f..563d55d9b7c1315c699b08f3a0fb82faaf8412ea 100644
--- a/lib_com/tools.c
+++ b/lib_com/tools.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "prot.h"
#include "wmc_auto.h"
@@ -138,26 +107,6 @@ int16_t sum_s(
return tmp;
}
-#ifdef DEBUGGING
-/*! r: sum of all vector elements */
-int32_t sum_l(
- const int32_t *vec, /* i : input vector */
- const int16_t lvec /* i : length of input vector */
-)
-{
- int16_t i;
- int32_t tmpL;
-
- tmpL = 0;
- for ( i = 0; i < lvec; i++ )
- {
- tmpL += vec[i];
- }
-
- return tmpL;
-}
-
-#endif
/*! r: sum of all vector elements */
float sum_f(
const float *vec, /* i : input vector */
@@ -373,45 +322,6 @@ void mvs2s(
return;
}
-#ifdef DEBUGGING
-/*! r: number of overload samples */
-uint32_t check_clipping(
- const float x[], /* i : input vector */
- const int16_t n, /* i : vector size */
- float *maxOverload, /* i/o: max overload value */
- float *minOverload /* i/o: max overload value */
-)
-{
- int16_t i;
- float temp;
- uint32_t noClipping = 0;
-
- for ( i = 0; i < n; i++ )
- {
- temp = x[i];
-
- if ( temp >= ( MAX16B_FLT + 0.5f ) )
- {
- noClipping++;
- if ( temp > *maxOverload )
- {
- *maxOverload = temp;
- }
- }
- else if ( temp <= ( MIN16B_FLT - 0.5f ) )
- {
- noClipping++;
- if ( temp < *minOverload )
- {
- *minOverload = temp;
- }
- }
- }
-
- return noClipping;
-}
-
-#endif
/*! r: number of clipped samples */
uint32_t mvr2s(
const float x[], /* i : input vector */
diff --git a/lib_com/trans_direct.c b/lib_com/trans_direct.c
index ece693492915d911b213e6ef01176be9b2483ac0..64a719835fa94d5072ab48ea12d0578f38cf1a3f 100644
--- a/lib_com/trans_direct.c
+++ b/lib_com/trans_direct.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "rom_com.h"
diff --git a/lib_com/trans_inv.c b/lib_com/trans_inv.c
index 620be7a1786a04740b45f3a00645da1971fe67bd..5c86f748dbeafb544b66ace12576cae0b5e16be2 100644
--- a/lib_com/trans_inv.c
+++ b/lib_com/trans_inv.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/typedef.h b/lib_com/typedef.h
index 9bc5ad1c7ee2d85f388d2ac58c7b5b8ec8ab5389..b230de6f83d73ce2ca46695a89e468051a0f86cf 100644
--- a/lib_com/typedef.h
+++ b/lib_com/typedef.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/vlpc_2st_com.c b/lib_com/vlpc_2st_com.c
index ccbfeda230de7cbfb47cbcfef99dee1725420871..eb024d2a49eee73970023bcb2618c6be9f5caa6d 100644
--- a/lib_com/vlpc_2st_com.c
+++ b/lib_com/vlpc_2st_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/weight.c b/lib_com/weight.c
index 48741d88bc14dc251bbd974c716405bad67d1ca0..83e8f3061175dd9aa9089d80a2687ef2a58bfcf7 100644
--- a/lib_com/weight.c
+++ b/lib_com/weight.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "rom_com.h"
#include "prot.h"
diff --git a/lib_com/weight_a.c b/lib_com/weight_a.c
index 169e98573bd5ca9a007114ef2b44f1d94ae947dd..45f791ae55991ebfddb9874e653941436866d63d 100644
--- a/lib_com/weight_a.c
+++ b/lib_com/weight_a.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#include "wmc_auto.h"
diff --git a/lib_com/wi.c b/lib_com/wi.c
index d5e75d251f42178fc3a84a0bbf9bae0397d27f31..77ec562d7a61c99c2d6f5f5dd847baeb6d46d5c8 100644
--- a/lib_com/wi.c
+++ b/lib_com/wi.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
diff --git a/lib_com/window.c b/lib_com/window.c
index a3fcaf6e142fc9335dd4a19745cb259fc1bc5963..9e95ce1139bfffb950a5173e99c73f8078ec07c5 100644
--- a/lib_com/window.c
+++ b/lib_com/window.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -37,9 +9,6 @@
#include
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "prot.h"
#define WMC_TOOL_SKIP
diff --git a/lib_com/window_ola.c b/lib_com/window_ola.c
index 93a0412e25e1fc84c8f6c66fec42258a12b1765b..c25f9ca23bb72cb576ee1b0ec74ff6cfddc58bff 100644
--- a/lib_com/window_ola.c
+++ b/lib_com/window_ola.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,9 +8,6 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "rom_com.h"
diff --git a/lib_com/wtda.c b/lib_com/wtda.c
index 4d051661a0ea0d6dd203bf181b91f221c41601b4..5cd2ff5cff0e616ee7bc356ed301856d8881f610 100644
--- a/lib_com/wtda.c
+++ b/lib_com/wtda.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
+/*====================================================================================
+ 3GPP TS26.258 Nov 20, 2025. IVAS Codec Version IVAS-FL-3.0
+ ====================================================================================*/
/*====================================================================================
EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
@@ -36,17 +8,11 @@
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include "cnst.h"
#include "prot.h"
#include "rom_com.h"
#include
#include "wmc_auto.h"
-#ifdef DEBUG_PLOT
-#include "deb_out.h"
-#endif
/*--------------------------------------------------------------------------*
* mvr2r_inv()
@@ -290,9 +256,6 @@ void wtda(
{
allsig_r = new_audio + n;
allsig_l = new_audio + n - L;
-#ifdef DEBUG_PLOT
- sendDebout( "tcx_mdct", 2 * L, 1, "mdct_sig", MTV_FLOAT, allsig_l );
-#endif
}
else
{
diff --git a/lib_debug/debug.c b/lib_debug/debug.c
deleted file mode 100644
index 6ea62a4a46cf3d8cdfc5b71081b1df27b597e1a7..0000000000000000000000000000000000000000
--- a/lib_debug/debug.c
+++ /dev/null
@@ -1,986 +0,0 @@
-/******************************************************************************************************
-
- (C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository. All Rights Reserved.
-
- This software is protected by copyright law and by international treaties.
- The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
- Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
- Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
- Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
- contributors to this repository retain full ownership rights in their respective contributions in
- the software. This notice grants no license of any kind, including but not limited to patent
- license, nor is any license granted by implication, estoppel or otherwise.
-
- Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
- contributions.
-
- This software is provided "AS IS", without any express or implied warranties. The software is in the
- development stage. It is intended exclusively for experts who have experience with such software and
- solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
- and fitness for a particular purpose are hereby disclaimed and excluded.
-
- Any dispute, controversy or claim arising under or in relation to providing this software shall be
- submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
- accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
- the United Nations Convention on Contracts on the International Sales of Goods.
-
-*******************************************************************************************************/
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#include
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
-#include
-#include
-#endif
-#endif
-#endif
-#include "cnst.h"
-#include
-#include
-#include
-#ifdef _WIN32
-#include
-#else
-#endif
-#ifdef DBG_WAV_WRITER
-#include "tinywaveout_c.h"
-#endif
-#include "wmc_auto.h"
-
-
-/*-------------------------------------------------------------------*
- * Global variables used for debugging but not under DEBUGGING flag
- *--------------------------------------------------------------------*/
-
-#ifdef DEBUGGING
-uint16_t g_nPrintedLines = 0;
-
-int16_t g_verbose = 0; /* global variable for debugging */
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
-char infoFolder[FILENAME_MAX];
-#endif
-#endif
-#endif
-
-FILE *DJB_delay = NULL; /* per-frame de-jitter buffer delay dump out file */
-
-#ifdef DEBUGGING
-int16_t debug_level = 0;
-#endif
-
-/*-------------------------------------------------------------------*
- * Read/write I/O tool
- *--------------------------------------------------------------------*/
-
-#ifdef DEBUGGING
-#define N_FILEPTR 500
-#define N_DBGFLAG 100
-#define N_DBGVAL 100
-#define N_TYPES 6
-
-static FILE *in_fileptr[N_FILEPTR];
-static FILE *out_fileptr[N_FILEPTR];
-#ifdef DBG_WAV_WRITER
-static WAVEFILEOUT *out_wavfileptr[N_FILEPTR];
-#endif
-static char *in_filename[N_FILEPTR];
-static char *out_filename[N_FILEPTR];
-#ifdef DBG_WAV_WRITER
-static char *out_wavfilename[N_FILEPTR];
-#endif
-static int16_t in_count = 0;
-static int16_t out_count = 0;
-#ifdef DBG_WAV_WRITER
-static int16_t out_wav_count = 0;
-#endif
-
-static int16_t flag_count = 0;
-static char *flag_name[N_DBGFLAG];
-static int16_t val_count = 0;
-static char *val_name[N_DBGVAL];
-static char *val[N_DBGVAL];
-
-static char *type_list[N_TYPES] = { "char", "short", "int", "long", "float", "double" };
-
-static void setvalue(
- const char *value_name, /* i : Value name */
- const char *value /* i : Value as string */
-);
-
-static int16_t make_dirs( const char *const pathname );
-
-/*-------------------------------------------------------------------*
- * dbgwrite()
- *
- * Writes the buffer content to the specified file. If the file is not in the
- * debug file list, it is opened before write.
- *--------------------------------------------------------------------*/
-
-int16_t dbgwrite(
- const void *const buffer, /* i : Write buffer */
- const int16_t size, /* i : Element size */
- const int16_t count, /* i : Number of elements */
- const int16_t repeat, /* i : Number of times the elements are repeated */
-#ifdef DEBUG_MODE_INFO_TWEAK
- const char *filename /* i : Output file name */
-#else
- const char *const filename
-#endif
-)
-{
- int16_t index, i;
- void *tmp_buf;
-
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
- char filename_mod[FILENAME_MAX];
- int16_t textmode = 0;
- int16_t x = *(const int16_t *const) buffer; /* currently the textmode is only defined with "short" as input */
- memset( filename_mod, 0, FILENAME_MAX );
- tweakdbgfolder( filename, filename_mod, &textmode );
- if ( filename_mod[0] != 0 )
- {
- filename = filename_mod;
- }
-#endif
-#endif
-
- index = lookup( filename, (const char *const *) out_filename, out_count );
-
- if ( index == -1 )
- {
- if ( make_dirs( filename ) != 0 )
- {
- fprintf( stderr, "dbgwrite: Could not create directory structure for %s. Exiting..\n", filename );
- exit( -1 );
- }
-
- index = out_count;
- out_fileptr[index] = fopen( filename, "wb" );
- out_filename[index] = malloc( sizeof( char ) * ( strlen( filename ) + 1 ) );
- strcpy( out_filename[index], filename );
- out_count++;
- }
-
- if ( out_fileptr[index] != NULL )
- {
- tmp_buf = calloc( count * repeat, size );
- if ( buffer != NULL )
- {
- for ( i = 0; i < repeat; i++ )
- {
- memcpy( (char *) tmp_buf + i * size * count, buffer, size * count );
- }
- }
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
- if ( 1 == textmode && 2 == size )
- { /* currently the textmode is only defined with "short" as input */
- fprintf( out_fileptr[index], "%d\n", x );
- }
- else
- {
-#endif
-#endif
- fwrite( tmp_buf, size * count * repeat, 1, out_fileptr[index] );
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
- }
-#endif
-#endif
- free( tmp_buf );
- }
- else
- {
- fprintf( stderr, "dbgwrite: Could not write to file: %s. Exiting..\n", filename );
- exit( -1 );
- }
-
- return 0;
-}
-
-
-/*-------------------------------------------------------------------*
- * dbgwrite_mat_repeat()
- *
- * Writes buffer a buffer containing a column-wise ordered matrix
- * to the specified file. If the file is not in the
- * debug file list, it is opened before write.
- *--------------------------------------------------------------------*/
-
-void dbgwrite_mat_repeat( float *buffer, /* i : write buffer */
- int16_t nRow, /* i : matrix size (rows) */
- int16_t mCol, /* i : matrix size (columns) */
- int16_t row_repeat, /* i : number of times rows are repeated */
- int16_t col_repeat, /* i : number of times columns are repeated */
-#ifdef DEBUG_MODE_INFO_TWEAK
- const char *filename /* i : Output file name */
-#else
- const char *const filename
-#endif
-)
-{
- float *copy_buffer = calloc( nRow * row_repeat * mCol * col_repeat, sizeof( float ) );
- int16_t r, c, rr, cc;
- float *cp = ©_buffer[0];
- float *colp;
- for ( c = 0; c < mCol; c++ )
- {
- for ( cc = 0; cc < col_repeat; cc++ )
- {
- colp = buffer + c * nRow;
- for ( r = 0; r < nRow; r++ )
- {
- for ( rr = 0; rr < row_repeat; rr++ )
- {
- *( cp++ ) = *colp;
- }
- colp++;
- }
- }
- }
-
- dbgwrite( copy_buffer, sizeof( float ), nRow * row_repeat * mCol * col_repeat, 1, filename );
- free( copy_buffer );
-}
-
-
-/*-------------------------------------------------------------------*
- * dbgappend()
- *
- * Appends the buffer content to the specified file. If the file is not in the
- * debug file list, it is opened before first write.
- *--------------------------------------------------------------------*/
-
-int16_t dbgappend(
- const void *const buffer, /* i : Append buffer */
- const int16_t size, /* i : Element size */
- const int16_t count, /* i : Number of elements */
- const int16_t repeat, /* i : Number of times the elements are repeated */
-#ifdef DEBUG_MODE_INFO_TWEAK
- const char *filename /* i : Output file name */
-#else
- const char *const filename
-#endif
-)
-{
- int16_t index, i;
-
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
- char filename_mod[FILENAME_MAX];
- int16_t textmode = 0; /* textmode is only implemented in dbgwrite() currently */
- memset( filename_mod, 0, FILENAME_MAX );
- tweakdbgfolder( filename, filename_mod, &textmode );
- if ( filename_mod[0] != 0 )
- {
- filename = filename_mod;
- }
-#endif
-#endif
- index = lookup( filename, (const char *const *) out_filename, out_count );
-
- if ( index == -1 )
- {
- if ( make_dirs( filename ) != 0 )
- {
- fprintf( stderr, "dbgwrite: Could not create directory structure for %s. Exiting..\n", filename );
- exit( -1 );
- }
-
- index = out_count;
- out_fileptr[index] = fopen( filename, "ab" );
- out_filename[index] = malloc( sizeof( char ) * ( strlen( filename ) + 1 ) );
- strcpy( out_filename[index], filename );
- out_count++;
- }
-
- if ( out_fileptr[index] != NULL )
- {
- for ( i = 0; i < repeat; i++ )
- {
- fwrite( buffer, size, count, out_fileptr[index] );
- }
- }
- else
- {
- fprintf( stderr, "dbgappend: Could not write to file: %s. Exiting..\n", filename );
- exit( -1 );
- }
-
- return 0;
-}
-
-/*-------------------------------------------------------------------*
- * dbgread()
- *
- * Reads data from the specified file. If the file is not open, it will be
- * opened.
- *--------------------------------------------------------------------*/
-
-int16_t dbgread(
- void *const buffer, /* o : Read buffer */
- const int16_t size, /* i : Element size */
- const int16_t count, /* i : Number of elements */
-#ifdef DEBUG_MODE_INFO_TWEAK
- const char *filename /* i : Input file name */
-#else
- const char *const filename
-#endif
-)
-{
- int16_t index;
-
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
- char filename_mod[FILENAME_MAX];
- int16_t textmode = 0; /* textmode is only implemented in dbgwrite() currently */
- memset( filename_mod, 0, FILENAME_MAX );
- tweakdbgfolder( filename, filename_mod, &textmode );
- if ( filename_mod[0] != 0 )
- {
- filename = filename_mod;
- }
-#endif
-#endif
-
- index = lookup( filename, (const char *const *) in_filename, in_count );
-
- if ( index == -1 )
- {
- index = in_count;
- in_fileptr[index] = fopen( filename, "rb" );
- in_filename[index] = malloc( sizeof( char ) * ( strlen( filename ) + 1 ) );
- strcpy( in_filename[index], filename );
- in_count++;
- }
-
- if ( in_fileptr[index] != NULL )
- {
- fread( buffer, size, count, in_fileptr[index] );
- }
- else
- {
- fprintf( stderr, "dbgread: Could not read from file: %s. Exiting..\n", filename );
- exit( -1 );
- }
-
- return 0;
-}
-
-/*-------------------------------------------------------------------*
- * dbgclose()
- *
- * Closes opened files and frees allocated memory
- *--------------------------------------------------------------------*/
-
-void dbgclose( void )
-{
- int16_t i;
-
- for ( i = 0; i < in_count; i++ )
- {
- fclose( in_fileptr[i] );
- free( in_filename[i] );
- }
-
- for ( i = 0; i < out_count; i++ )
- {
- fclose( out_fileptr[i] );
- free( out_filename[i] );
- }
-
-#ifdef DBG_WAV_WRITER
- for ( i = 0; i < out_wav_count; i++ )
- {
- CloseWav( out_wavfileptr[i] );
- free( out_wavfilename[i] );
- }
-#endif
- for ( i = 0; i < snr_count; i++ )
- {
- free( snr_name[i] );
- }
-
- for ( i = 0; i < flag_count; i++ )
- {
- free( flag_name[i] );
- }
-
- for ( i = 0; i < val_count; i++ )
- {
- free( val_name[i] );
- free( val[i] );
- }
-
- return;
-}
-
-
-/*-------------------------------------------------------------------*
- * dbgflag()
- *
- * Checks if a debug flag is set. The flag is identified with a string.
- *--------------------------------------------------------------------*/
-
-int16_t dbgflag(
- const char *flagname /* i : Flag name */
-)
-{
- int16_t result;
-
- result = lookup( flagname, (const char *const *) flag_name, flag_count );
-
- return ( result != -1 );
-}
-
-/*-------------------------------------------------------------------*
- * setflag()
- *
- * Sets the flag with the specified string
- *--------------------------------------------------------------------*/
-
-void setflag(
- const char *flagname /* i : Flag name */
-)
-{
- int16_t result;
-
- result = lookup( flagname, (const char *const *) flag_name, flag_count );
-
- if ( result == -1 )
- {
- flag_name[flag_count] = malloc( sizeof( char ) * ( strlen( flagname ) + 1 ) );
- strcpy( flag_name[flag_count], flagname );
- flag_count++;
- }
-
- return;
-}
-
-/*----------------------------------------------------------------------------*
- * dbgargs()
- *
- * N.B. Should be run before existing command line interpretation
- *
- * Command line interpreter for debug arguments. Removes the debug
- * arguments after interpretation so that existing command line interpretation
- * may be run afterwards.
- *
- * Arguments:
- * -D flag_name Sets the debug flag labelled flag_name.
- * The function dbgflag("flag_name") will return 1.
- *
- * -V val_name val Sets the debug value labelled val_name to val.
- * dbgvalue("type","val_name",&value) will retrieve the value
- *
- *-----------------------------------------------------------------------------*/
-
-/*! r: No. debug arguments */
-int16_t dbgargs(
- int32_t *argc, /* i/o: No. input arguments / No. arguments without dbg arguments */
- char *argv[] /* i/o: Input arguments / Input arguments without dbg arguments */
-)
-{
- int16_t i, j, dbgargs;
-
- i = 0;
- dbgargs = 0;
- while ( i < *argc )
- {
- if ( strcmp( argv[i], "-D" ) == 0 )
- {
- j = i;
- dbgargs++;
- i++;
- setflag( argv[i] );
- for ( ; j < *argc - 2; j++ )
- {
- argv[j] = argv[j + 2];
- }
- *argc -= 2;
- i -= 2;
- }
-
- if ( strcmp( argv[i], "-V" ) == 0 )
- {
- j = i;
- dbgargs++;
- i++;
- setvalue( argv[i], argv[i + 1] );
- for ( ; j < *argc - 3; j++ )
- {
- argv[j] = argv[j + 3];
- }
- *argc -= 3;
- i -= 3;
- }
- i++;
- }
-
- return dbgargs;
-}
-
-/*-------------------------------------------------------------------*
- * dbgvalue()
- *
- * Lookup a debug value
- *
- * Allowed typestr values:
- * "char","short","int","long","float","double"
- *
- * If the value is not set, the output value is not assigned
- *
- *-------------------------------------------------------------------*/
-
-/*! r: Returns 1 if value is assigned, otherwise 0 */
-int16_t dbgvalue(
- const char *typestr, /* i : Type as string:"int","char",... */
- const char *value_name, /* i : Value tag name given on command line */
- ... /* o : Output variable, type: pointer to "typestr" */
-)
-{
- int16_t index;
- char *value;
- int16_t assigned;
- char *c;
- int16_t *sh;
- int *i;
- int32_t *l;
- float *f;
- double *d;
- va_list ap;
- va_start( ap, value_name );
-
- index = lookup( value_name, (const char *const *) val_name, val_count );
-
- if ( index != -1 )
- {
- value = val[index];
- index = lookup( typestr, (const char *const *) type_list, N_TYPES );
- switch ( index )
- {
- case 0:
- c = va_arg( ap, char * );
- sscanf( value, "%c", c );
- break;
- case 1:
- sh = va_arg( ap, int16_t * );
- sscanf( value, "%hi", sh );
- break;
- case 2:
- i = va_arg( ap, int * );
- sscanf( value, "%i", i );
- break;
- case 3:
- l = va_arg( ap, int32_t * );
- sscanf( value, "%i", l );
- break;
- case 4:
- f = va_arg( ap, float * );
- sscanf( value, "%f", f );
- break;
- case 5:
- d = va_arg( ap, double * );
- sscanf( value, "%lf", d );
- break;
- default:
- fprintf( stderr, "dbgvalue::Unsupported type string %s. Exiting...\n", typestr );
- exit( -1 );
- }
- assigned = 1;
- }
- else
- {
- assigned = 0;
- }
-
- va_end( ap );
-
- return assigned;
-}
-
-/*-------------------------------------------------------------------*
- * lookup()
- *
- * Returns the index of the given string, or -1 if not found
- *--------------------------------------------------------------------*/
-
-/*! r: Index of string, -1 if not found */
-int16_t lookup(
- const char *const str, /* i : String to lookup */
- const char *const *const list, /* i : List of strings */
- const int16_t n_elem /* i : Number of elements */
-)
-{
- int16_t i, result;
-
- result = -1;
- i = 0;
- while ( i < n_elem && result == -1 )
- {
- if ( strcmp( str, list[i] ) == 0 )
- {
- result = i;
- }
- i++;
- }
-
- return result;
-}
-
-/*-------------------------------------------------------------------*
- * setvalue()
- *
- * Sets the debug name value pair
- *--------------------------------------------------------------------*/
-
-static void setvalue(
- const char *value_name, /* i : Value name */
- const char *value ) /* i : Value as string */
-
-{
- int16_t result;
-
- result = lookup( value_name, (const char *const *) val_name, val_count );
-
- if ( result == -1 )
- {
- val_name[val_count] = malloc( sizeof( char ) * ( strlen( value_name ) + 1 ) );
- strcpy( val_name[val_count], value_name );
- val[val_count] = malloc( sizeof( char ) * ( strlen( value ) + 1 ) );
- strcpy( val[val_count], value );
- val_count++;
- fprintf( stdout, "\nDebug value set: %s = %s\n", value_name, value );
- }
- else
- {
- fprintf( stdout, "\n*** Value %s already set: %s\n", value_name, val[result] );
- }
-
- return;
-}
-
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
-/*-------------------------------------------------------------------*
- * tweakdbgfolder()
- *
- * in: filename
- * out: filename_mod
- *
- * returns modified path to debug files for reading and writing functions.
- * creates