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 ac1fda37471067bd220d940241ae010a92c8f9a4..4f6897a40f607713c4e7bffc2a0b8bdc735058a0 100644
--- a/Workspace_msvc/lib_util.vcxproj
+++ b/Workspace_msvc/lib_util.vcxproj
@@ -132,7 +132,6 @@
-
@@ -171,7 +170,6 @@
-
diff --git a/apps/ambi_converter.c b/apps/ambi_converter.c
index 28e9a8cea1cddb46c0f0704368b5f50d1d89d603..dc2d9d9fb28727aa05d0e849e4eacb02c152d045 100644
--- a/apps/ambi_converter.c
+++ b/apps/ambi_converter.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#include
#include
#include
diff --git a/apps/decoder.c b/apps/decoder.c
index e226ba245714bf5d5e5fef165efbb09972ecf0a1..2fefc9393ad7668cf57bd43acc977db9f0bff4e3 100644
--- a/apps/decoder.c
+++ b/apps/decoder.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#include "lib_dec.h"
#include
@@ -48,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
@@ -68,16 +30,11 @@
* 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
#define RANDOM_INITSEED_DEC ( 0xFADE )
@@ -135,16 +92,6 @@ typedef struct
bool applyPiData;
char *piOutputFilename;
bool rtpOutSR;
-#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];
@@ -175,25 +122,10 @@ typedef struct
static bool parseCmdlIVAS_dec( int16_t argc, char **argv, DecArguments *arg );
static void usage_dec( void );
-#ifdef FIX_FLOAT_1539_G192_FORMAT_SWITCH
static ivas_error decodeG192( DecArguments arg, BS_READER_HANDLE hBsReader, IVAS_DEC_HRTF_BINARY_WRAPPER *hHrtfBinary, RotFileReader *headRotReader, RotFileReader *externalOrientationFileReader, RotFileReader *refRotReader, Vector3PairFileReader *referenceVectorReader, ObjectEditFileReader *objectEditFileReader, ISAR_SPLIT_REND_BITS_DATA *splitRendBits, IVAS_DEC_HANDLE *phIvasDec, int16_t *pcmBuf );
-#else
-static ivas_error decodeG192( DecArguments arg, BS_READER_HANDLE hBsReader, IVAS_DEC_HRTF_BINARY_WRAPPER *hHrtfBinary, RotFileReader *headRotReader, RotFileReader *externalOrientationFileReader, RotFileReader *refRotReader, Vector3PairFileReader *referenceVectorReader, ObjectEditFileReader *objectEditFileReader, ISAR_SPLIT_REND_BITS_DATA *splitRendBits, IVAS_DEC_HANDLE hIvasDec, int16_t *pcmBuf );
-#endif
-#ifdef FIX_FMSW_DEC
static ivas_error decodeVoIP( DecArguments arg, BS_READER_HANDLE hBsReader, IVAS_DEC_HRTF_BINARY_WRAPPER *hHrtf, RotFileReader *headRotReader, RotFileReader *externalOrientationFileReader, RotFileReader *refRotReader, Vector3PairFileReader *referenceVectorReader, ObjectEditFileReader *objectEditFileReader, ISAR_SPLIT_REND_BITS_DATA *splitRendBits, IVAS_DEC_HANDLE *phIvasDec, int16_t *pcmBuf );
-#else
-static ivas_error decodeVoIP( DecArguments arg, BS_READER_HANDLE hBsReader, IVAS_DEC_HRTF_BINARY_WRAPPER *hHrtf, RotFileReader *headRotReader, RotFileReader *externalOrientationFileReader, RotFileReader *refRotReader, Vector3PairFileReader *referenceVectorReader, ObjectEditFileReader *objectEditFileReader, ISAR_SPLIT_REND_BITS_DATA *splitRendBits, IVAS_RENDER_CONFIG_DATA *renderConfig, IVAS_DEC_HANDLE *phIvasDec, int16_t *pcmBuf );
-#endif
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 );
-#ifndef FIX_FMSW_DEC
-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
/*------------------------------------------------------------------------------------------*
@@ -229,24 +161,11 @@ int main(
IVAS_ROOM_ACOUSTICS_CONFIG_DATA **pAE = NULL;
uint32_t aeCount = 0;
IVAS_RENDER_CONFIG_DATA renderConfig = { 0 };
-#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
splitRendBits.bits_buf = splitRendBitsBuf;
@@ -498,86 +417,6 @@ 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
/*-----------------------------------------------------------------*
* Print config information
*-----------------------------------------------------------------*/
@@ -587,7 +426,6 @@ int main(
fprintf( stderr, "\nIVAS_DEC_PrintConfig failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
goto cleanup;
}
-#endif
/*-------------------------------------------------------------------*
* Load renderer configuration from file
@@ -621,13 +459,11 @@ int main(
goto cleanup;
}
-#ifdef FIX_2500_RENDCONF_REFACTOR
if ( RenderConfigReader_checkValues( renderConfigReader ) != IVAS_ERR_OK )
{
fprintf( stderr, "Invalid renderer configuration parameters\n\n" );
goto cleanup;
}
-#endif
aeCount = RenderConfigReader_getAcousticEnvironmentCount( renderConfigReader );
if ( aeCount > 0 )
@@ -708,27 +544,11 @@ int main(
if ( arg.outputConfig == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
{
-#ifdef FIX_2500_RENDCONF_REFACTOR
if ( ( error = IVAS_DEC_GetAcousticEnvironment( hIvasDec, aeID, &renderConfig.roomAcoustics ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "Failed to get acoustic environment with ID: %d\n\n", aeID );
goto cleanup;
}
-#else
- if ( ( error = IVAS_DEC_GetAcousticEnvironment( hIvasDec, aeID, &renderConfig.roomAcoustics ) ) == IVAS_ERR_OK )
- {
- if ( RenderConfigReader_checkValues( &renderConfig ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "Invalid reverberation configuration parameters\n\n" );
- goto cleanup;
- }
- }
- else
- {
- fprintf( stderr, "Failed to get acoustic environment with ID: %d\n\n", aeID );
- goto cleanup;
- }
-#endif
}
/* ISAR frame size is set from command line, not renderer config file.
@@ -801,19 +621,11 @@ int main(
if ( arg.voipMode )
{
-#ifdef FIX_FMSW_DEC
error = decodeVoIP( arg, hBsReader, &hHrtfBinary, headRotReader, externalOrientationFileReader, refRotReader, referenceVectorReader, objectEditFileReader, &splitRendBits, &hIvasDec, pcmBuf );
-#else
- error = decodeVoIP( arg, hBsReader, &hHrtfBinary, headRotReader, externalOrientationFileReader, refRotReader, referenceVectorReader, objectEditFileReader, &splitRendBits, &renderConfig, &hIvasDec, pcmBuf );
-#endif
}
else
{
-#ifdef FIX_FLOAT_1539_G192_FORMAT_SWITCH
error = decodeG192( arg, hBsReader, &hHrtfBinary, headRotReader, externalOrientationFileReader, refRotReader, referenceVectorReader, objectEditFileReader, &splitRendBits, &hIvasDec, pcmBuf );
-#else
- error = decodeG192( arg, hBsReader, &hHrtfBinary, headRotReader, externalOrientationFileReader, refRotReader, referenceVectorReader, objectEditFileReader, &splitRendBits, hIvasDec, pcmBuf );
-#endif
}
if ( error == IVAS_ERR_OK || error == IVAS_ERR_END_OF_FILE )
@@ -833,16 +645,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
@@ -872,10 +674,6 @@ cleanup:
free( arg.aeSequence.pValidity );
}
-#ifdef DEBUG_SBA_AUDIO_DUMP
- IVAS_DEC_GetSbaDebugParams( hIvasDec, &numOutChannels, &numTransportChannels, &pca_ingest_channels );
-
-#endif
IVAS_DEC_Close( &hIvasDec );
CustomLsReader_close( &hLsCustomReader );
@@ -901,12 +699,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;
}
@@ -1019,13 +811,6 @@ 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;
@@ -1072,13 +857,6 @@ static bool parseCmdlIVAS_dec(
arg->non_diegetic_pan_gain = 0.f;
arg->tsmEnabled = false;
arg->render_num_subframes = IVAS_RENDER_NUM_SUBFR_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;
@@ -1204,64 +982,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 )
{
arg->inputFormat = IVAS_DEC_INPUT_FORMAT_MIME;
@@ -1802,12 +1522,6 @@ static void usage_dec( void )
#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" );
@@ -1834,14 +1548,6 @@ static void usage_dec( void )
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" );
@@ -1856,30 +1562,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
/*---------------------------------------------------------------------*
* resetHeadRotation()
@@ -2260,11 +1947,7 @@ static ivas_error decodeG192(
Vector3PairFileReader *referenceVectorReader,
ObjectEditFileReader *objectEditFileReader,
ISAR_SPLIT_REND_BITS_DATA *splitRendBits,
-#ifdef FIX_FLOAT_1539_G192_FORMAT_SWITCH
IVAS_DEC_HANDLE *phIvasDec,
-#else
- IVAS_DEC_HANDLE hIvasDec,
-#endif
int16_t *pcmBuf )
{
@@ -2272,12 +1955,7 @@ 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 FIX_FLOAT_1539_G192_FORMAT_SWITCH
IVAS_DEC_HANDLE hIvasDec = *phIvasDec;
-#endif
-#ifdef DEBUGGING
- int16_t fec_seed = 12558; /* FEC_SEED */
-#endif
AudioFileWriter *afWriter = NULL;
MasaFileWriter *masaWriter = NULL;
bool decodedGoodFrame = false;
@@ -2293,33 +1971,14 @@ 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_QUATERNION Quaternions[IVAS_MAX_PARAM_SPATIAL_SUBFRAMES] = { { -3, 0, 0, 0 }, { -3, 0, 0, 0 }, { -3, 0, 0, 0 }, { -3, 0, 0, 0 } };
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 FIX_FLOAT_1539_G192_FORMAT_SWITCH
bool restartNeeded;
-#endif
-#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 );
@@ -2361,13 +2020,11 @@ static ivas_error decodeG192(
goto cleanup;
}
-#ifdef FIX_2500_RENDCONF_REFACTOR
if ( RenderConfigReader_checkValues( renderConfigReader ) != IVAS_ERR_OK )
{
fprintf( stderr, "Invalid renderer configuration parameters\n\n" );
goto cleanup;
}
-#endif
}
for ( i = 0; i < IVAS_MAX_NUM_OBJECTS; ++i )
@@ -2408,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
@@ -2567,27 +2188,11 @@ static ivas_error decodeG192(
arg.aeSequence.selected = 0;
}
arg.aeSequence.frameCounter = 0;
-#ifdef FIX_2500_RENDCONF_REFACTOR
if ( ( error = RenderConfigReader_getAcousticEnvironment( renderConfigReader, arg.aeSequence.pID[arg.aeSequence.selected], &renderConfig.roomAcoustics ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "Failed to get acoustic environment with ID %d\n\n", arg.aeSequence.pID[arg.aeSequence.selected] );
goto cleanup;
}
-#else
- if ( ( error = RenderConfigReader_getAcousticEnvironment( renderConfigReader, arg.aeSequence.pID[arg.aeSequence.selected], &renderConfig.roomAcoustics ) ) == IVAS_ERR_OK )
- {
- if ( RenderConfigReader_checkValues( &renderConfig ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "Invalid acoustic environment configuratoin parameters\n\n" );
- goto cleanup;
- }
- }
- else
- {
- fprintf( stderr, "Failed to get acoustic environment with ID %d\n\n", arg.aeSequence.pID[arg.aeSequence.selected] );
- goto cleanup;
- }
-#endif
if ( ( error = IVAS_DEC_FeedRenderConfig( hIvasDec, renderConfig ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "\nIVAS_DEC_FeedRenderConfig failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
@@ -2595,26 +2200,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 )
@@ -2625,21 +2210,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 )
{
@@ -2655,7 +2225,6 @@ static ivas_error decodeG192(
return error;
}
-#ifdef FIX_FLOAT_1539_G192_FORMAT_SWITCH
if ( ( error = IVAS_DEC_isRestartNeeded( hIvasDec, &restartNeeded ) ) != IVAS_ERR_OK )
{
return error;
@@ -2663,36 +2232,12 @@ static ivas_error decodeG192(
if ( restartNeeded )
{
-#ifdef FIX_FMSW_DEC
if ( ( error = IVAS_DEC_Restart( hIvasDec, IVAS_DEC_MODE_IVAS ) ) != IVAS_ERR_OK ) /* note: only switching within IVAS formats is supported in G.192 */
{
fprintf( stderr, "\nIVAS_DEC_Restart restart failed: %s\n", IVAS_DEC_GetErrorMessage( error ) );
goto cleanup;
}
-#else
- IVAS_DEC_BS_FORMAT tempFormat;
- if ( ( error = IVAS_DEC_GetFormat( hIvasDec, &tempFormat ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nError in IVAS_DEC_GetFormat, code: %d\n", error );
- goto cleanup;
- }
- IVAS_DEC_MODE codecMode = ( tempFormat == IVAS_DEC_BS_MONO ) ? IVAS_DEC_MODE_EVS : IVAS_DEC_MODE_IVAS;
- error = restartDecoder(
- &hIvasDec,
- codecMode,
- &arg,
- NULL, /* ToDo : Provide rendererConfig */
- NULL /* ToDo : Provide LS Custom Data */
- );
- if ( error != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nFailed to restart decoder\n" );
- goto cleanup;
- }
- *phIvasDec = hIvasDec; /* Update for main()' s free */
-#endif
}
-#endif
/* Placeholder for memory reallocation */
/* ... */
@@ -2780,12 +2325,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 );
@@ -3058,12 +2597,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
}
}
@@ -3127,11 +2660,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] );
@@ -3145,93 +2673,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;
- IVAS_RTP ivasRtp = { 0 };
- uint8_t au[( IVAS_MAX_BITS_PER_FRAME + 7 ) >> 3];
- int16_t auSizeBits;
- uint8_t *auPtr = NULL;
- bool qBit;
- uint32_t nextPacketRcvTime_ms = 0;
- uint16_t rtpSequenceNumber;
- uint32_t rtpTimeStamp;
-
- switch ( arg.inputFormat )
- {
- case IVAS_DEC_INPUT_FORMAT_RTPDUMP:
- case IVAS_DEC_INPUT_FORMAT_RTPDUMP_HF:
- if ( ( error = IVAS_RTP_READER_Init( &ivasRtp, arg.inputBitstreamFilename, arg.piOutputFilename, arg.outputConfig == IVAS_AUDIO_CONFIG_EXTERNAL, arg.outputWavFilename ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "error in IVAS_RTP_READER_Init(): %d\n", error );
- goto cleanup;
- }
- 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 */
-
- error = IVAS_RTP_ReadNextFrame( &ivasRtp, auPtr, &auSizeBits, &rtpTimeStamp, &rtpSequenceNumber, &nextPacketRcvTime_ms, NULL, &qBit );
-
- /* EVS RTP payload format has timescale 16000, JBM uses 1000 internally */
- rtpTimeStamp = rtpTimeStamp / 16;
- }
- if ( error != IVAS_ERR_OK )
- {
- 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:
-
- IVAS_RTP_Term( &ivasRtp );
-
- if ( previewFailed && error == IVAS_ERR_OK )
- {
- return IVAS_ERR_UNKNOWN;
- }
-
- return IVAS_ERR_OK;
-}
-#endif
#ifdef SUPPORT_JBM_TRACEFILE
/*---------------------------------------------------------------------*
@@ -3265,9 +2706,6 @@ static ivas_error decodeVoIP(
Vector3PairFileReader *referenceVectorReader,
ObjectEditFileReader *objectEditFileReader,
ISAR_SPLIT_REND_BITS_DATA *splitRendBits,
-#ifndef FIX_FMSW_DEC
- IVAS_RENDER_CONFIG_DATA *renderConfig,
-#endif
IVAS_DEC_HANDLE *phIvasDec,
int16_t *pcmBuf )
{
@@ -3426,14 +2864,12 @@ static ivas_error decodeVoIP(
/* EVS RTP payload format has timescale 16000, JBM uses 1000 internally */
rtpTimeStamp = rtpTimeStamp / 16;
-#ifdef FIX_FMSW_DEC_2
arg.decMode = ( ivasRtp.codecId == IVAS_RTP_EVS ) ? IVAS_DEC_MODE_EVS : IVAS_DEC_MODE_IVAS;
if ( ( error = IVAS_DEC_Restart( hIvasDec, arg.decMode ) ) != IVAS_ERR_OK ) /* note: when the RTP bitstream starts with EVS, do the restart */
{
fprintf( stderr, "\nIVAS_DEC_Restart restart failed: %s\n", IVAS_DEC_GetErrorMessage( error ) );
goto cleanup;
}
-#endif
}
if ( error != IVAS_ERR_OK )
{
@@ -3467,29 +2903,12 @@ static ivas_error decodeVoIP(
/* restart decoder in case of format switching */
if ( ivasRtp.restartNeeded )
{
-#ifdef FIX_FMSW_DEC
arg.decMode = ( ivasRtp.codecId == IVAS_RTP_EVS ) ? IVAS_DEC_MODE_EVS : IVAS_DEC_MODE_IVAS;
if ( ( error = IVAS_DEC_Restart( hIvasDec, arg.decMode ) ) != IVAS_ERR_OK ) /* note: switching between EVS and IVAS is supported in RTP */
{
fprintf( stderr, "\nIVAS_DEC_Restart restart failed: %s\n", IVAS_DEC_GetErrorMessage( error ) );
goto cleanup;
}
-#else
- IVAS_DEC_MODE newDecModeInPacket = ( ivasRtp.codecId == IVAS_RTP_EVS ) ? IVAS_DEC_MODE_EVS : IVAS_DEC_MODE_IVAS;
- if ( ( error = restartDecoder(
- &hIvasDec,
- newDecModeInPacket,
- &arg,
- renderConfig,
- NULL /* ToDo : Provide LS Custom Data */
- ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nFailed to restart decoder from %d to %d\n", arg.decMode, newDecModeInPacket );
- goto cleanup;
- }
-
- *phIvasDec = hIvasDec; /* Update for main()' s free */
-#endif
ivasRtp.restartNeeded = false;
bitstreamReadDone = false;
parametersAvailableForEditing = false;
@@ -3721,34 +3140,11 @@ static ivas_error decodeVoIP(
if ( restartNeeded )
{
-#ifdef FIX_FMSW_DEC
if ( ( error = IVAS_DEC_Restart( hIvasDec, IVAS_DEC_MODE_IVAS ) ) != IVAS_ERR_OK ) /* note: only switching within IVAS formats is supported in non-RTP VoIP */
{
fprintf( stderr, "\nIVAS_DEC_Restart restart failed: %s\n", IVAS_DEC_GetErrorMessage( error ) );
goto cleanup;
}
-#else
- IVAS_DEC_BS_FORMAT tempBsFormat;
- if ( ( error = IVAS_DEC_GetFormat( hIvasDec, &tempBsFormat ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nError in IVAS_DEC_GetFormat, code: %d\n", error );
- goto cleanup;
- }
-
- IVAS_DEC_MODE newDecModeInPacket = ( tempBsFormat == IVAS_DEC_BS_MONO ) ? IVAS_DEC_MODE_EVS : IVAS_DEC_MODE_IVAS;
- if ( ( error = restartDecoder(
- &hIvasDec,
- newDecModeInPacket,
- &arg,
- NULL, /* ToDo : Provide rendererConfig */
- NULL /* ToDo : Provide LS Custom Data */
- ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nFailed to restart decoder\n" );
- goto cleanup;
- }
- *phIvasDec = hIvasDec; /* Update for main()' s free */
-#endif
bitstreamReadDone = false;
parametersAvailableForEditing = false;
}
@@ -4436,110 +3832,4 @@ static ivas_error load_hrtf_from_file(
return IVAS_ERR_OK;
}
-#ifndef FIX_FMSW_DEC
-/*---------------------------------------------------------------------*
- * restartDecoder()
- *
- * Restart decoder in case of IVAS 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 )
-{
- ivas_error error = IVAS_ERR_OK;
- IVAS_DEC_HANDLE hIvasDec;
-
- if ( phIvasDec == NULL )
- {
- return IVAS_ERR_UNEXPECTED_NULL_POINTER;
- }
-
- if ( NULL != *phIvasDec )
- {
- IVAS_DEC_Close( phIvasDec );
- }
-
- if ( ( error = IVAS_DEC_Open( phIvasDec, decMode ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "Open failed: %s\n", IVAS_DEC_GetErrorMessage( error ) );
- goto cleanup;
- }
-
- arg->decMode = decMode;
-
- hIvasDec = *phIvasDec;
-
- uint16_t aeID = arg->aeSequence.count > 0 ? arg->aeSequence.pID[0] : IVAS_DEFAULT_AEID;
-
- IVAS_AUDIO_CONFIG outputConfig = ( decMode == IVAS_DEC_MODE_IVAS ) ? arg->outputConfig : IVAS_AUDIO_CONFIG_MONO;
-
- if ( ( error = IVAS_DEC_Configure( hIvasDec, arg->output_Fs, outputConfig, arg->render_num_subframes, 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 )
- {
- fprintf( stderr, "\nConfigure failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
- goto cleanup;
- }
-
- 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_GetRenderNumSubfr( hIvasDec, &arg->render_num_subframes ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nIVAS_DEC_GetRenderNumSubfr failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
- goto cleanup;
- }
-
- if ( arg->voipMode )
- {
- if ( ( error = IVAS_DEC_EnableVoIP( hIvasDec, 60, arg->inputFormat ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nCould not enable VOIP: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
- goto cleanup;
- }
- }
-
- /* 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->render_num_subframes * 5;
- }
-
- if ( arg->renderConfigEnabled && renderConfig != NULL )
- {
- if ( ( error = IVAS_DEC_FeedRenderConfig( hIvasDec, *renderConfig ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nIVAS_DEC_FeedRenderConfig failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
- goto cleanup;
- }
- }
-
- if ( arg->customLsOutputEnabled && hLsCustomData != NULL )
- {
- if ( ( error = IVAS_DEC_FeedCustomLsData( hIvasDec, *hLsCustomData ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nIVAS_DEC_FeedCustomLsData failed: %s\n", IVAS_DEC_GetErrorMessage( error ) );
- goto cleanup;
- }
- }
-
- return IVAS_ERR_OK;
-
-cleanup:
- IVAS_DEC_Close( phIvasDec );
- return error;
-}
-
-#endif
#undef WMC_TOOL_SKIP
diff --git a/apps/encoder.c b/apps/encoder.c
index 7e03d18bcd14a7a0fd4b8e810ee266c6c25227dd..52ddf2a4677638f3144b468b599cdb21ac89cf3f 100644
--- a/apps/encoder.c
+++ b/apps/encoder.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#include "lib_enc.h"
#include
@@ -41,13 +13,7 @@
#include "rotation_file_reader.h"
#include "ivas_rtp_file.h"
#include "requests_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
@@ -55,7 +21,7 @@
* Local constants, enums
*------------------------------------------------------------------------------------------*/
-#if !defined( DEBUGGING ) && !defined( WMOPS )
+#if !defined( WMOPS )
static
#endif
int32_t frame = 0; /* Counter of frames */
@@ -70,10 +36,6 @@ typedef union _EncInputFormatConfig
/* MONO details */
bool stereoToMonoDownmix;
-#ifdef DEBUGGING
- /* STEREO details */
- IVAS_ENC_STEREO_MODE stereoMode;
-#endif
/* ISM details */
struct EncIsmConfig
@@ -138,19 +100,6 @@ 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;
bool rtpdumpOutput;
@@ -170,10 +119,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
/*------------------------------------------------------------------------------------------*
@@ -203,25 +148,11 @@ int main(
int16_t *pcmBuf = NULL;
RotFileReader *sceneOrientationFileReader = NULL;
RotFileReader *deviceOrientationFileReader = NULL;
-#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
uint8_t au[IVAS_MAX_BITS_PER_FRAME / 8];
IVAS_RTP ivasRtp = { 0 };
@@ -367,7 +298,6 @@ int main(
}
}
-#ifdef FIX_FMSW_DEC
/*------------------------------------------------------------------------------------------*
* Open remote requests file for rtp packing (E-bytes)
*------------------------------------------------------------------------------------------*/
@@ -387,7 +317,6 @@ int main(
goto cleanup;
}
}
-#endif
/*------------------------------------------------------------------------------------------*
* Handle Channel-aware mode
@@ -432,11 +361,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;
@@ -451,15 +376,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;
@@ -593,20 +510,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
@@ -682,21 +585,6 @@ int main(
}
}
-#ifndef FIX_FMSW_DEC
-#ifdef FIX_1527_CMR_BITRATE_IDX
- /*------------------------------------------------------------------------------------------*
- * Open remote requests file for rtp packing (E-bytes)
- *------------------------------------------------------------------------------------------*/
- if ( arg.requestsFileName != NULL )
- {
- if ( ( error = RequestsFileReader_open( arg.requestsFileName, &requestsFileReader ) ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nError: Can't open requests file %s \n\n", arg.requestsFileName );
- goto cleanup;
- }
- }
-#endif
-#endif
/*------------------------------------------------------------------------------------------*
* Run the encoder
*------------------------------------------------------------------------------------------*/
@@ -704,12 +592,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 )
{
@@ -805,26 +687,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 )
{
@@ -964,15 +826,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
*------------------------------------------------------------------------------------------*/
@@ -1041,21 +894,6 @@ cleanup:
#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;
@@ -1111,19 +949,6 @@ static bool parseCmdlIVAS_enc(
arg->rtpdumpOutput = false;
arg->sceneOrientationTrajFileName = NULL;
arg->deviceOrientationTrajFileName = NULL;
-#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;
/*-----------------------------------------------------------------*
@@ -1237,91 +1062,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
@@ -1424,78 +1164,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 )
{
@@ -2192,23 +1860,6 @@ 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" );
fprintf( stdout, "-rtpdump : RTPDump output, hf_only=1 by default. The encoder will packetize the \n" );
@@ -2311,90 +1962,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 c3790facbc5ed9d918ff09698f0fa115c595987f..6286aceeb6349806bafe57bcb6c4750b656b9515 100644
--- a/apps/isar_post_rend.c
+++ b/apps/isar_post_rend.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#include "lib_isar_post_rend.h"
#include
@@ -42,9 +14,6 @@
#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"
#include "ivas_rtp_file.h"
@@ -60,7 +29,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;
@@ -1460,17 +1429,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
@@ -1500,9 +1458,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 de60458259c9bf8e4c6bb296f5bc6a56cd85f0be..a3edfc985b1bdc74e8159036cfcb9a84728868fc 100644
--- a/apps/renderer.c
+++ b/apps/renderer.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#include "lib_rend.h"
#include
@@ -49,13 +21,7 @@
#include "aeid_file_reader.h"
#include "split_render_file_read_write.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
@@ -73,7 +39,7 @@
#define OMASA_TDREND_MATCHING_GAIN_DB ( -2.0f )
-#if !defined( DEBUGGING ) && !defined( WMOPS )
+#if !defined( WMOPS )
static
#endif
int32_t frame = 0;
@@ -661,9 +627,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;
@@ -753,9 +716,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 )
{
@@ -1100,7 +1060,6 @@ int main(
fprintf( stderr, "\nError in Renderer Config Init: %s\n", ivas_error_to_string( error ) );
goto cleanup;
}
-#ifdef FIX_1452_DEFAULT_REVERB
if ( args.outConfig.audioConfig == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
{
@@ -1146,7 +1105,6 @@ int main(
goto cleanup;
}
}
-#endif
if ( args.renderConfigFilePath[0] != '\0' )
{
@@ -1173,13 +1131,11 @@ int main(
goto cleanup;
}
-#ifdef FIX_2500_RENDCONF_REFACTOR
if ( RenderConfigReader_checkValues( renderConfigReader ) != IVAS_ERR_OK )
{
fprintf( stderr, "Invalid renderer configuration parameters\n\n" );
goto cleanup;
}
-#endif
if ( ( error = RenderConfigReader_getDirectivity( renderConfigReader, args.directivityPatternId, renderConfig.directivity ) ) != IVAS_ERR_OK )
{
@@ -1196,27 +1152,11 @@ int main(
if ( args.outConfig.audioConfig == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
{
aeID = args.aeSequence.count > 0 ? args.aeSequence.pID[0] : IVAS_DEFAULT_AEID;
-#ifdef FIX_2500_RENDCONF_REFACTOR
if ( ( error = RenderConfigReader_getAcousticEnvironment( renderConfigReader, aeID, &renderConfig.roomAcoustics ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "\nFailed to get acoustic environment with ID: %d\n\n", aeID );
goto cleanup;
}
-#else
- if ( ( error = RenderConfigReader_getAcousticEnvironment( renderConfigReader, aeID, &renderConfig.roomAcoustics ) ) == IVAS_ERR_OK )
- {
- if ( RenderConfigReader_checkValues( &renderConfig ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nInvalid room acoustics configuration parameters\n\n" );
- goto cleanup;
- }
- }
- else
- {
- fprintf( stderr, "\nFailed to get acoustic environment with ID: %d\n\n", aeID );
- goto cleanup;
- }
-#endif
}
/* ISAR frame size is set from command line, not renderer config file.
@@ -1623,27 +1563,11 @@ int main(
args.aeSequence.selected = 0;
}
args.aeSequence.frameCounter = 0;
-#ifdef FIX_2500_RENDCONF_REFACTOR
if ( ( error = RenderConfigReader_getAcousticEnvironment( renderConfigReader, args.aeSequence.pID[args.aeSequence.selected], &renderConfig.roomAcoustics ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "\nFailed to get acoustic environment with ID %d\n\n", args.aeSequence.pID[args.aeSequence.selected] );
goto cleanup;
}
-#else
- if ( ( error = RenderConfigReader_getAcousticEnvironment( renderConfigReader, args.aeSequence.pID[args.aeSequence.selected], &renderConfig.roomAcoustics ) ) == IVAS_ERR_OK )
- {
- if ( RenderConfigReader_checkValues( &renderConfig ) != IVAS_ERR_OK )
- {
- fprintf( stderr, "\nInvalid acoustic environment configuration parameters\n\n" );
- goto cleanup;
- }
- }
- else
- {
- fprintf( stderr, "\nFailed to get acoustic environment with ID %d\n\n", args.aeSequence.pID[args.aeSequence.selected] );
- goto cleanup;
- }
-#endif
if ( ( error = IVAS_REND_FeedRenderConfig( hIvasRend, renderConfig ) ) != IVAS_ERR_OK )
{
fprintf( stderr, "\nIVAS_REND_FeedRenderConfig failed: %s\n\n", ivas_error_to_string( error ) );
@@ -2106,17 +2030,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
@@ -2169,9 +2082,6 @@ cleanup:
IsmPositionProvider_close( positionProvider );
RenderConfigReader_close( &renderConfigReader );
-#ifdef DEBUGGING
- dbgclose();
-#endif
#ifdef WMOPS
print_wmops();
print_mem( NULL );
@@ -3102,11 +3012,7 @@ static void IsmPositionProvider_getNextFrame(
objectMetadataBuffer->positions[objIdx].non_diegetic_flag = 0;
}
-#ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW
/* Wrap azimuth to lie within [0, 360) range */
-#else
- /* Wrap azimuth to lie within (-180, 180] range */
-#endif
while ( objectMetadataBuffer->positions[objIdx].azimuth < 0.0f )
{
objectMetadataBuffer->positions[objIdx].azimuth += 360.0f;
@@ -3116,13 +3022,11 @@ static void IsmPositionProvider_getNextFrame(
objectMetadataBuffer->positions[objIdx].azimuth -= 360.0f;
}
-#ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW
if ( objectMetadataBuffer->positions[objIdx].non_diegetic_flag && objectMetadataBuffer->positions[objIdx].azimuth >= 180.0f )
{
/* Wrap azimuth to lie within [-180, 180) range for non-diegetic panning */
objectMetadataBuffer->positions[objIdx].azimuth -= 360.0f;
}
-#endif
/* Clamp elevation to lie within [-90, 90] range (can't be wrapped easily) */
diff --git a/lib_com/ACcontextMapping.c b/lib_com/ACcontextMapping.c
index 108290902e9e0867e2ea1fe5986adc0df998008d..4798d668c7f911110b5c8702b232753874ca2448 100644
--- a/lib_com/ACcontextMapping.c
+++ b/lib_com/ACcontextMapping.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 47add837a6f15f4bfdc3b73714235c46c0a29d77..606f232de4389df70cdbb8ea729cfa4e2bee2f8c 100644
--- a/lib_com/ari.c
+++ b/lib_com/ari.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 f55a909f89132626092a05a8891134918cc0c4d1..f276734b4909b932d9825ce24710d0d1eac5f63d 100644
--- a/lib_com/ari_hm.c
+++ b/lib_com/ari_hm.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 42f59df23f0e6464c210af698fb9559e48a8bed9..40578f3a8cc311b5300274a429df808ac1381e4c 100644
--- a/lib_com/arith_coder.c
+++ b/lib_com/arith_coder.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 ba05f4f034c9c469b4614fb43fac0edf1f5495a5..21bffa6fc553acc201f6897ae8645159931e6c7e 100644
--- a/lib_com/basop32.c
+++ b/lib_com/basop32.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/* v.2.3 - 30.Nov.2009
=============================================================================
diff --git a/lib_com/basop32.h b/lib_com/basop32.h
index 8ad044f440a442ff9dd0be1d33407414120fa8c0..f9cc65fc4430a5b35921ee87a4ee6365b76d4b28 100644
--- a/lib_com/basop32.h
+++ b/lib_com/basop32.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*
===========================================================================
diff --git a/lib_com/basop_com_lpc.c b/lib_com/basop_com_lpc.c
index 0f4f32f791329e3974c60424d1959a25be54dded..c6b7c74c8d31165a063725998f5078d285a4b608 100644
--- a/lib_com/basop_com_lpc.c
+++ b/lib_com/basop_com_lpc.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 942b87b18d84cc845d34c4558b62ed76b62aa232..5fd5cb682b40ccb285cd25e50419ad48ab723155 100644
--- a/lib_com/basop_lsf_tools.c
+++ b/lib_com/basop_lsf_tools.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 fb0de02b086c188c81c08e2650b8ea38dffbf63f..b11db0f9819cd0da7c0ba5932db3df5f3d631b45 100644
--- a/lib_com/basop_mpy.c
+++ b/lib_com/basop_mpy.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 93926f3547b5df3c5a40fc1702aa9c55bb32bf78..69ceac6a5bfb9dae2046cce3e08ad14ed277cb13 100644
--- a/lib_com/basop_mpy.h
+++ b/lib_com/basop_mpy.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 be71af44aa2f11c9200db9a200cd67d9a644d8d8..aea1f69f635396e6493d04e52f2e2a11ea99a7b4 100644
--- a/lib_com/basop_proto_func.h
+++ b/lib_com/basop_proto_func.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 9ce800755faac1f13b391c580c33b1a82aa69da0..298f04a7d022d982dc64ce2201c6e514c6d580c8 100644
--- a/lib_com/basop_settings.h
+++ b/lib_com/basop_settings.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 3d3d7624865e856a075f42775752bc96b5d21922..97944e6309cfb1d686dbfcbc3fb8e405c54eac14 100644
--- a/lib_com/basop_tcx_utils.c
+++ b/lib_com/basop_tcx_utils.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 260679d0caca9df881f0389ffda6fcbfab762aa8..a8fe5fb25f2ea7537a083be802f95e7d883feabe 100644
--- a/lib_com/basop_util.c
+++ b/lib_com/basop_util.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 868b323feae840943e2dc290e81beddbc47c76e9..6c5d584717228f8f201cd7df3536b5baa58da5f1 100644
--- a/lib_com/basop_util.h
+++ b/lib_com/basop_util.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 17b7de9a23a8cc8a786136434de338c0cee8cab2..42646ff04f47a0fb616014afd6edf35ec73d926b 100644
--- a/lib_com/bitalloc.c
+++ b/lib_com/bitalloc.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 0420a1b44481ec0a937cc6b1e770ec7e7779324f..f0828b60a7b16be6c9bc1c65ff559cc355a59f06 100644
--- a/lib_com/bitallocsum.c
+++ b/lib_com/bitallocsum.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 8aca45ed64d09b92b7d96168814a6ecd76dffa08..8caaac4d14bb0ea5a435eb00256a86d6669eb4c0 100644
--- a/lib_com/bits_alloc.c
+++ b/lib_com/bits_alloc.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 4ba88b58304f2705d630bfb7137de43757156136..90f7ab32495a0a12104bd0ab6a804267a49219ea 100644
--- a/lib_com/bitstream.c
+++ b/lib_com/bitstream.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 );
diff --git a/lib_com/calc_st_com.c b/lib_com/calc_st_com.c
index 8440eb8079bf1c173ab7659deb2da0b7d4997940..50513bd306cc27bdb9040d62b6b1812181817352 100644
--- a/lib_com/calc_st_com.c
+++ b/lib_com/calc_st_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 86774c15c1f85e16636ecb331d09a8f977b028e0..b0a4191ba7d0d5d8437a9a87cd36d51e52e279b9 100644
--- a/lib_com/cb_shape.c
+++ b/lib_com/cb_shape.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 2263018b6fefff9e3c237c06e148cc8bacecf74e..33c5ea16c0405951129abeb01bc97ad84697a673 100644
--- a/lib_com/cldfb.c
+++ b/lib_com/cldfb.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 f526f508733d9eb61317857437fac4852e68800f..1fcbbe97dbb6c089bdc04fb8a4581a5dd92af1e7 100644
--- a/lib_com/cng_exc.c
+++ b/lib_com/cng_exc.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 eca0a458283477789f24e1f5fd5a68de0ba89782..dec16dcfac2686429b9cdae7427a81c74f098de0 100644
--- a/lib_com/cnst.h
+++ b/lib_com/cnst.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 a730e9c1373cc54f546d861e54b7ac31aca92400..347b0ccc6dc7024326a100bf21e78305590ad62e 100644
--- a/lib_com/codec_tcx_common.c
+++ b/lib_com/codec_tcx_common.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 cbf7af9984d4838b24d737c0ba17d7a9e43ad5bc..04e343ff7bd44795d8eb4ce285ff4c81a4989d35 100644
--- a/lib_com/common_api_types.h
+++ b/lib_com/common_api_types.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#ifndef COMMON_API_TYPES_H
#define COMMON_API_TYPES_H
@@ -61,9 +33,7 @@
#define IVAS_REVERB_PREDELAY_MAX 20 /* Max input delay for reverb module */
#define IVAS_ER_LIST_HEIGHT 1.6f
#define IVAS_DEFAULT_AEID 65535
-#ifdef FIX_BASOP_2023_TDREND_DISTATT_PRECISION
-#define IVAS_LISTENER_POSITION_MAX 327.67f
-#endif
+#define IVAS_LISTENER_POSITION_MAX 327.67f
/* JBM constants for adaptive-playout */
diff --git a/lib_com/core_com_config.c b/lib_com/core_com_config.c
index 1c038039e3f044351bbfdd7abc9b6feac0a804b0..dd0f1c0167475a56b077ee20d2ffcc4d55166ce5 100644
--- a/lib_com/core_com_config.c
+++ b/lib_com/core_com_config.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 b8396f7725b59284456586fb03347c74d3a4bf11..8559a9349eae13f37e655e2a60c6b33e6a415c91 100644
--- a/lib_com/deemph.c
+++ b/lib_com/deemph.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 12eb110e0768c324f66f59533efe26555e40b0e3..74580c811d028d2f342525e91440370e58d2c044 100644
--- a/lib_com/delay_comp.c
+++ b/lib_com/delay_comp.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 533f98831cadc8b6c4125a495a76ecd6181063ce..d3912318bcc85075e1e9495f8fc721ad58f41a3a 100644
--- a/lib_com/disclaimer.c
+++ b/lib_com/disclaimer.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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
@@ -48,7 +17,7 @@ int16_t print_disclaimer( FILE *fPtr )
fprintf( fPtr, "\n==================================================================================================\n" );
fprintf( fPtr, "\n" );
- fprintf( fPtr, " 3GPP TS26.258 IVAS Codec Version IVAS-FL-3.1 (floating-point C-Code)\n" );
+ fprintf( fPtr, " 3GPP TS26.258 IVAS Codec Version IVAS-FL-3.1RC02 (floating-point C-Code)\n" );
fprintf( fPtr, "\n" );
fprintf( fPtr, " Based on EVS Codec (Floating Point) 3GPP TS26.443 Nov 04, 2021,\n" );
fprintf( fPtr, " Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0\n" );
diff --git a/lib_com/dlpc_bfi.c b/lib_com/dlpc_bfi.c
index ceea53eb28a56b2168cc97ca1818048bb10c71d6..65b5824e5a2c1ae1451a63e4d91d6b19b413faf4 100644
--- a/lib_com/dlpc_bfi.c
+++ b/lib_com/dlpc_bfi.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 6d0db1d6196eca66653412760c88fe0c1abcf031..d7c919d2a8b21b13a38929f132bdf08fb63520c5 100644
--- a/lib_com/edct.c
+++ b/lib_com/edct.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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;
diff --git a/lib_com/enh1632.c b/lib_com/enh1632.c
index 23ac96c7c51ecbad42857a091641f1070b2e77b0..b35c54d3a55b5d06cd9dfd17b1996f2f6ada60bf 100644
--- a/lib_com/enh1632.c
+++ b/lib_com/enh1632.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*
===========================================================================
diff --git a/lib_com/enh1632.h b/lib_com/enh1632.h
index 351c78adb86c5bef3043b9ec5bf7e7b59cd7df75..a9f61c4b662ae6063e7600f6f22bd9f9a397d6d6 100644
--- a/lib_com/enh1632.h
+++ b/lib_com/enh1632.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*
===========================================================================
diff --git a/lib_com/enh40.c b/lib_com/enh40.c
index bfa773472f14957244c6547b5d0fc026027f98d0..d017958551cf253997794e67bf07e53bada2d567 100644
--- a/lib_com/enh40.c
+++ b/lib_com/enh40.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*
===========================================================================
diff --git a/lib_com/enh40.h b/lib_com/enh40.h
index c91f249de195074c964c82c2f7edc285dbc49bc4..3a3d74f7f52ddb859485d19f57dbd6d45dfa2cbb 100644
--- a/lib_com/enh40.h
+++ b/lib_com/enh40.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*
===========================================================================
diff --git a/lib_com/enhancer.c b/lib_com/enhancer.c
index 7bd737e5e7eb721783861d5c60b487284a11325c..d9d90cfe3831e674392e1b749da36e415ace5bb1 100644
--- a/lib_com/enhancer.c
+++ b/lib_com/enhancer.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 11e730e2c4ad29a7e0021882a8d608a0585bf7f6..328cd9822307c84b0c4fa24a74630bc97a1c0f38 100644
--- a/lib_com/enr_1_az.c
+++ b/lib_com/enr_1_az.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 9f60b11909cfc4904d91098e89af317e70455879..554774b3d1e870e936cccb8b4a070645c9e4ebb6 100644
--- a/lib_com/env_adj.c
+++ b/lib_com/env_adj.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 cafe309360d23b80d4a98ae0c3675bea1210c082..893a9ff3311f94d87207da7e0679a35182d586b4 100644
--- a/lib_com/env_stab.c
+++ b/lib_com/env_stab.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 f51765c2f2f6b02629ef3f00113b8978c79c7389..c524c6952087572e0237415eef6d97737a0f63d9 100644
--- a/lib_com/env_stab_trans.c
+++ b/lib_com/env_stab_trans.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 2fb67cc670c744f371d75b0796413fd89587d565..3405992952068cc7b089ce0875dd322a85fd0c30 100644
--- a/lib_com/est_tilt.c
+++ b/lib_com/est_tilt.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 dd2d6e7413777af7224a8118d0e7489780222834..555567943dc658dc8ba230f52aa9fca190ff58a0 100644
--- a/lib_com/fd_cng_com.c
+++ b/lib_com/fd_cng_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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"
@@ -118,9 +87,7 @@ void initFdCngCom(
hFdCngCom->stopBand = 0;
hFdCngCom->startBand = 0;
hFdCngCom->stopFFTbin = 0;
-#ifdef FIX_1559
hFdCngCom->nFFTpart = 0;
-#endif
hFdCngCom->frameSize = 0;
hFdCngCom->fftlen = 0;
hFdCngCom->seed = 0;
diff --git a/lib_com/fft.c b/lib_com/fft.c
index 6c246523a883211a2f3b6be0c14d18667b62b7c8..d6c7d9c34c62e984e4853e7acca3cd6acf6fc75f 100644
--- a/lib_com/fft.c
+++ b/lib_com/fft.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 8b5886e128b4b2939f6fc7b53e53aa4d4354c815..bcda65d9f60da729faed871fe07597d9ae3a9963 100644
--- a/lib_com/fft_cldfb.c
+++ b/lib_com/fft_cldfb.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 f30021da991fa5d742bf054d146731d56ef88123..70cd4b2cca2ce3ca5db9ebbaf3e72add2ae4697b 100644
--- a/lib_com/fft_rel.c
+++ b/lib_com/fft_rel.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 e83dd7d2812c2a595ead7a2fb6b8626c7567b587..83447f8ba7c40eb04e6c4e4fd4aebce17c5880dd 100644
--- a/lib_com/fill_spectrum.c
+++ b/lib_com/fill_spectrum.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 fa1e0ea0a215dc964ebf3350df88f0def33d7e87..86f6fa58e469d09a3985ce135c26821286e40bc1 100644
--- a/lib_com/findpulse.c
+++ b/lib_com/findpulse.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 0173aafa0f34408b4cfe4ea14cbd35285c5f6c4a..ebd2294dc43a63107a5c42a7ac2c80ea09a10e30 100644
--- a/lib_com/fine_gain_bits.c
+++ b/lib_com/fine_gain_bits.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 b3577e0f5f917aed483bd68bdbf8621c9520aa36..dd71581a4378204d7545fc84a861e9f01bd430c2 100644
--- a/lib_com/frame_ener.c
+++ b/lib_com/frame_ener.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 cddd1bbffc2d5d20a9beaaba0065a38818617ebb..69818da69d3f186fa92f0c1a1fb857b1f1ca9494 100644
--- a/lib_com/get_gain.c
+++ b/lib_com/get_gain.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 9ec211d1f42280eb189bbae20364d65aeca34629..5c578c33fe2de563b61a9d1baf3ef47afb72cc42 100644
--- a/lib_com/gs_bitallocation.c
+++ b/lib_com/gs_bitallocation.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 d3a3cad8f94f429207e8ffd320a4722b96d20265..565e4f86b54113457693609c8ed00f0b01b752af 100644
--- a/lib_com/gs_gains.c
+++ b/lib_com/gs_gains.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 81d6e82a351f0c1a7c218b60f4be4eda4d09af07..bb25ee2f6a5187563c368343cb7b270389ce3610 100644
--- a/lib_com/gs_inact_switching.c
+++ b/lib_com/gs_inact_switching.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 d67f8307610b7de08558e29c9504ccff3d6dfdee..4b49232d78df6f1cc15e8baadde294a208078e46 100644
--- a/lib_com/gs_noisefill.c
+++ b/lib_com/gs_noisefill.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 ede5dc540daae376e455f11c0aa122afb936a6de..d2675e188910e5c737603036ea92148a1a7fe1d6 100644
--- a/lib_com/gs_preech.c
+++ b/lib_com/gs_preech.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 9f742153e8c6dbe2e2bb00f5e3b547bc2892b67c..852d61c467cf52cf06089019f802208f1e36b2cf 100644
--- a/lib_com/guided_plc_util.c
+++ b/lib_com/guided_plc_util.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 e994c29b336640d9a8fa867278334e52a32e3640..a61854ac72f6786f1685ef243f35d5a8ef540ae4 100644
--- a/lib_com/hp50.c
+++ b/lib_com/hp50.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 453a0b8d56f1c2a2ca481ba783673ef1d37338c3..147c50ccee8b60b0c7785746cfdf68219ac7b13e 100644
--- a/lib_com/hq2_bit_alloc.c
+++ b/lib_com/hq2_bit_alloc.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 4fed5a81979c838b691b677e3b753e4e76fe2fe7..1d5b5de8c7238810afcf3a75d850ae529f7de867 100644
--- a/lib_com/hq2_core_com.c
+++ b/lib_com/hq2_core_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 ec1552568826a6493a4886dff5261b1848acd0af..0c459b0dfdc7d66234646445c984d5cfb85c243a 100644
--- a/lib_com/hq2_noise_inject.c
+++ b/lib_com/hq2_noise_inject.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 ceffe60aa75664dc16cf39ca210608d0a1cdb93e..7e88a9a63444dc78157dce0e308d0b06e4ea721a 100644
--- a/lib_com/hq_bit_allocation.c
+++ b/lib_com/hq_bit_allocation.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 f44cf3a157877efdcac6ad8febf0e97e375fa809..71aefda7c9177fda36a580dfda9a868fa4085372 100644
--- a/lib_com/hq_conf.c
+++ b/lib_com/hq_conf.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 3e4bbb4cb8d4c0e63c87d04dede92888c9ce6d9c..8498d5a247040c0da4b4264adab923f1bfa47faa 100644
--- a/lib_com/hq_tools.c
+++ b/lib_com/hq_tools.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 4369ed6f337d7c832db6c35cf239a37b9866d6b7..5edd05adb9f88e810b747b40d148594eb98bd292 100644
--- a/lib_com/hvq_pvq_bitalloc.c
+++ b/lib_com/hvq_pvq_bitalloc.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 5c71072563342baf08cc82d5db1ed985693389aa..9c7115a48693fd6ca5d4f90b386d868c6a542318 100644
--- a/lib_com/ifft_rel.c
+++ b/lib_com/ifft_rel.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 43a50b03f06d32a585faf3e94f3b34536927fd93..82c0ca28da89633a8fcd273a7698dfb0be99fa81 100644
--- a/lib_com/igf_base.c
+++ b/lib_com/igf_base.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 c3d1f3234e3dd3e2231708846f31c3029fe6e90d..e659e1a7df6ed6e26b9150064377004d0f3b9160 100644
--- a/lib_com/index_pvq_opt.c
+++ b/lib_com/index_pvq_opt.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 4e9e553f9be380df194f9fe87881941f05c29336..0b29eeaa01b6805d969c69f2f2c64e534b7d6b98 100644
--- a/lib_com/int_lsp.c
+++ b/lib_com/int_lsp.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 ca28cee72b57ae22cc9e4550fbbd1c9b3245a88a..53a55467290ff1dad8ee37d88f261b148ee33d22 100644
--- a/lib_com/interleave_spectrum.c
+++ b/lib_com/interleave_spectrum.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 9206642af99243b0dd35482498d978143393c7ee..5148380c71ecb44dd66f86370918e0bcb6f4bd15 100644
--- a/lib_com/interpol.c
+++ b/lib_com/interpol.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 f321f081911cee96c78b839d24ca6760b39e029d..de2e9089ee90e68d66569004cdfe83c5c77d19ae 100644
--- a/lib_com/isf_dec_amr_wb.c
+++ b/lib_com/isf_dec_amr_wb.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 12b098869d45928bfd04c3f6dc58f441f4827251..65c7d3c1382b83d28bff624443a26d9b5b595978 100644
--- a/lib_com/ivas_agc_com.c
+++ b/lib_com/ivas_agc_com.c
@@ -1,43 +1,12 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 b1f93880db12b7fb8b270852406020e02ea3c0e3..8905cd49fe238af44fcd20ecb06d766fbe0210d1 100644
--- a/lib_com/ivas_arith.c
+++ b/lib_com/ivas_arith.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 2c6f26c560dbb9a4fcd60b77fa84dc96e54d1203..4a6ca0d10ffeae77341971886ab6aeb1fdf7879c 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-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 c02b1833d5ad68f9940fd1eb09d8c08a15f08656..047a7c77af6b163ff20a34f6cfd5a5e6223a70e0 100644
--- a/lib_com/ivas_cnst.h
+++ b/lib_com/ivas_cnst.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#ifndef IVAS_CNST_H
#define IVAS_CNST_H
@@ -467,9 +439,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 )
@@ -814,10 +783,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 */
@@ -1216,12 +1181,8 @@ typedef enum
{
MASA_STEREO_NOT_DEFINED,
MASA_STEREO_SPACED_MICS,
-#ifdef FIX_FLOAT_1578_OMASA_REND_SPIKES
MASA_STEREO_DOWNMIX,
MASA_DUAL_MONO
-#else
- MASA_STEREO_DOWNMIX
-#endif
} MASA_TRANSPORT_SIGNAL_TYPE;
typedef enum
@@ -1581,7 +1542,6 @@ typedef enum
#define IVAS_REVERB_DEFAULT_M_N_BANDS 31
#define IVAS_REVERB_DEFAULT_S_N_BANDS 60
-#ifdef FIX_1452_DEFAULT_REVERB
#define IVAS_REVERB_DEFAULT_S_ACOUSTIC_PRE_DELAY 0.015f
#define IVAS_REVERB_DEFAULT_S_INPUT_PRE_DELAY 0.02f
@@ -1590,7 +1550,6 @@ typedef enum
#define IVAS_REVERB_DEFAULT_L_ACOUSTIC_PRE_DELAY 0.01625f
#define IVAS_REVERB_DEFAULT_L_INPUT_PRE_DELAY 0.1f
-#endif
#define LR_IAC_LENGTH_NR_FC ( RV_LENGTH_NR_FC )
#define LR_IAC_LENGTH_NR_FC_16KHZ ( RV_LENGTH_NR_FC_16KHZ )
diff --git a/lib_com/ivas_cov_smooth.c b/lib_com/ivas_cov_smooth.c
index b9e365ea2d54d2cfb7618f4c668afd20fb1f2c1a..38e80dcd3e94ec449d6092c2ee4220cb4e8d7186 100644
--- a/lib_com/ivas_cov_smooth.c
+++ b/lib_com/ivas_cov_smooth.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 4afb386615b37b920e4a113dea3886338448729d..b7c61bb978b081f5c888e47e7999d672a8f7cd99 100644
--- a/lib_com/ivas_dirac_com.c
+++ b/lib_com/ivas_dirac_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#include
#include
diff --git a/lib_com/ivas_entropy_coder_common.c b/lib_com/ivas_entropy_coder_common.c
index 46e8e15f41ad6631d780a499f45b82ce20b8b498..18a14fc681ce74b704e0302f16f8babc24aadbcb 100644
--- a/lib_com/ivas_entropy_coder_common.c
+++ b/lib_com/ivas_entropy_coder_common.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 2a226b367e4378839207e73462dea66c9c167cab..c403cc3aa7995b898fc5a7bd7ecb717c8c1fa931 100644
--- a/lib_com/ivas_error.h
+++ b/lib_com/ivas_error.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 3156c6484ea308c152d4b642e2acfadfd8b6b6cb..f3438b9c4d400531f8c40bfa57af1b17832aa371 100644
--- a/lib_com/ivas_error_utils.h
+++ b/lib_com/ivas_error_utils.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 1e9fe1eb3ca19425a335e4c3db3ace58d20a34d2..58eeceb99904e5b4bad262604eada448fbe7645d 100644
--- a/lib_com/ivas_fb_mixer.c
+++ b/lib_com/ivas_fb_mixer.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 5e0cd69b7dd9da9f56c19439ac28950ebd4063a4..f56c339bc06fcb4b6e8cef032e0e29c516ee9c2b 100644
--- a/lib_com/ivas_filters.c
+++ b/lib_com/ivas_filters.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 87a30271c5a07dcd4fe82229fd13717ced0f1c61..84315c631c4873bb0d08c97f2e02ed7a0dd5bd97 100644
--- a/lib_com/ivas_ism_com.c
+++ b/lib_com/ivas_ism_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 9eed13979101a4d600b270740439050658747e57..fbe1076a076de6a10ad04ff9c7145929479305a1 100644
--- a/lib_com/ivas_lfe_com.c
+++ b/lib_com/ivas_lfe_com.c
@@ -1,41 +1,10 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 d38f66cf15efc3141c3406315a7e9e1052049edc..4babc382a0e0ed546e1d59d5ee7a93c9b9765c6f 100644
--- a/lib_com/ivas_limiter.c
+++ b/lib_com/ivas_limiter.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#include
#include "options.h"
@@ -133,9 +105,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 )
{
@@ -295,12 +264,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 1529a8f7296c6a90e71a30449dc405861e400699..ca67e33b7a88e7a3087007da7e3622d6901d1177 100644
--- a/lib_com/ivas_masa_com.c
+++ b/lib_com/ivas_masa_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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"
/*---------------------------------------------------------------
@@ -299,9 +268,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 b84efcf34e07478cfcea7b1a0c92eb76a0b51737..9e79294f4f29b0ba672dace10963f8891752b423 100644
--- a/lib_com/ivas_mc_com.c
+++ b/lib_com/ivas_mc_com.c
@@ -1,41 +1,10 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 a5cd27f84626b3a05c50df45de91f3f65bfb6932..ff75b4b0628817d0f7482705662f0bc18f4918f1 100644
--- a/lib_com/ivas_mc_param_com.c
+++ b/lib_com/ivas_mc_param_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 565e8b3340ee583b2d4ce5f24615063562b42aca..72df90dcd5ee181f5a4cef38eb566f3cd493fc08 100644
--- a/lib_com/ivas_mcmasa_com.c
+++ b/lib_com/ivas_mcmasa_com.c
@@ -1,41 +1,10 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 6afe3c58b4d53e580cce0850ab9d76840914a584..38a3207a53c7f3d729c9ba6eca541a61fb27a472 100644
--- a/lib_com/ivas_mct_com.c
+++ b/lib_com/ivas_mct_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#include
#include "options.h"
diff --git a/lib_com/ivas_mdct_core_com.c b/lib_com/ivas_mdct_core_com.c
index c23736ae7a9c2309fab6808f7c23468794a87ca0..7d737f69822cc1e35ddc1ac8ab4119f77f30d4e3 100644
--- a/lib_com/ivas_mdct_core_com.c
+++ b/lib_com/ivas_mdct_core_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#include
#include "options.h"
diff --git a/lib_com/ivas_mdct_imdct.c b/lib_com/ivas_mdct_imdct.c
index 1d1a6938a7f72908c99b03ccff1a03d27d07d0b3..58274c2027907634264804ffab08fa81c9d44f74 100644
--- a/lib_com/ivas_mdct_imdct.c
+++ b/lib_com/ivas_mdct_imdct.c
@@ -1,43 +1,12 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 43a34195de7b5d40c9e782fc6d5f6ba45f70ea16..63b624a4cfc0fa829604b61e5360198cbbdc9af7 100644
--- a/lib_com/ivas_mdft_imdft.c
+++ b/lib_com/ivas_mdft_imdft.c
@@ -1,42 +1,11 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 e8ebe8709605c33339db5e35159957e6ed5a6d24..99aee3fc788344a13d063baa7a8e1ced1f4ec2e2 100644
--- a/lib_com/ivas_omasa_com.c
+++ b/lib_com/ivas_omasa_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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
diff --git a/lib_com/ivas_osba_com.c b/lib_com/ivas_osba_com.c
index d3cef9c0d07814d276d53506df3d631309bc482f..fbf49fb5fc65fec4f881d546e20114d8ac77cd1c 100644
--- a/lib_com/ivas_osba_com.c
+++ b/lib_com/ivas_osba_com.c
@@ -1,43 +1,12 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 2b6312d5752db3a46fea56b70d68bb9c4c6442ed..9ed9181c06970e820d8e70d5a0ec4001ce7df6a0 100644
--- a/lib_com/ivas_pca_tools.c
+++ b/lib_com/ivas_pca_tools.c
@@ -1,42 +1,11 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 4a8dc7610e4eaca5d567ca659fe0ec79bc2767c4..b104213d83326eda64710b53fb718b8607b9da7c 100755
--- a/lib_com/ivas_prot.h
+++ b/lib_com/ivas_prot.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#ifndef IVAS_PROT_H
#define IVAS_PROT_H
@@ -434,11 +406,7 @@ void destroy_core_dec(
);
void ivas_destroy_dec(
-#ifdef FIX_FMSW_DEC
Decoder_Struct **st_ivas /* i/o: IVAS decoder structure */
-#else
- Decoder_Struct *st_ivas /* i/o: IVAS decoder structure */
-#endif
);
void ivas_initialize_handles_dec(
@@ -722,15 +690,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(
const int32_t ivas_total_brate /* i : IVAS total bitrate */
@@ -1683,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 */
@@ -4149,9 +4105,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 */
);
@@ -5152,9 +5105,6 @@ void ivas_binRenderer(
const MULTI_BIN_REND_POSE_DATA *pMultiBinPoseData, /* i : 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 */
@@ -5642,10 +5592,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 b30743b540fe57f1dbe3f8b6b3ff8e9490b7529d..bfba027852ae16c19ad094d8a72bcbca68561056 100644
--- a/lib_com/ivas_qmetadata_com.c
+++ b/lib_com/ivas_qmetadata_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 54a445217a43493c248c434719b59dc59e73a781..70cab00eeac13c6c5392413ba0fd34e46fc8ec91 100644
--- a/lib_com/ivas_qspherical_com.c
+++ b/lib_com/ivas_qspherical_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 abc49babe777506f465f3bdb293faeb2516a1f0d..008119d3004441bdf77f585d3f5b1ff3f21d4808 100644
--- a/lib_com/ivas_rom_com.c
+++ b/lib_com/ivas_rom_com.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#include
#include "options.h"
-#ifdef DEBUGGING
-#include "debug.h"
-#endif
#include
#include "cnst.h"
#include "ivas_cnst.h"
diff --git a/lib_com/ivas_rom_com.h b/lib_com/ivas_rom_com.h
index 1ef6acf701dc7ac556eb12b5fc0a432c9fbc7980..1f8dcc2d0d2bf6c98b451e54496433faa7ddd9d7 100644
--- a/lib_com/ivas_rom_com.h
+++ b/lib_com/ivas_rom_com.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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
/*----------------------------------------------------------------------------------*
diff --git a/lib_com/ivas_rotation_com.c b/lib_com/ivas_rotation_com.c
index 9ce3c3b246a72f80c373a2d3f57571c25652cc22..034dafbb53f83d1118ca98f4a74b575cdfebba3c 100644
--- a/lib_com/ivas_rotation_com.c
+++ b/lib_com/ivas_rotation_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 21f0d3078869fc06ec10632ee306ac2abd6a8ff4..49eb93db70b55db9ff32eaf82fccda594fec2cdc 100644
--- a/lib_com/ivas_sba_config.c
+++ b/lib_com/ivas_sba_config.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 ba41722329deb149f3be42b07ca9fa156e57eb74..4a5904338ce0b3cef40319c595262ec826d179b0 100644
--- a/lib_com/ivas_sns_com.c
+++ b/lib_com/ivas_sns_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 6ac4eeb27a2e59777060b3257ea8406065d5e754..609c9ebb3c6dd1a96b26ff3ecef08f31eb5f0876 100644
--- a/lib_com/ivas_spar_com.c
+++ b/lib_com/ivas_spar_com.c
@@ -1,41 +1,10 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 58360673d85fb0c729743e461b4f464cd3ef42d4..240e43ca065c5d6178eccd9aac91437a106a77cd 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-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 7baef33fad5f3dc36bbe4bf0d7ee6786132da351..801c00f28cd12bcc8b0d442881c7b4483d901633 100644
--- a/lib_com/ivas_stat_com.h
+++ b/lib_com/ivas_stat_com.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 b61dba8c2c917092ad010d758aac7daf6597f319..070bb93c224fb8284e4d8a9bb5631a67bf68c827 100644
--- a/lib_com/ivas_stereo_dft_com.c
+++ b/lib_com/ivas_stereo_dft_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 5cc6bc1f2b67430a1be182d8ae2ca1b77ca4d3ee..ae1559235b386484bed3b7655f8361150e62289c 100644
--- a/lib_com/ivas_stereo_eclvq_com.c
+++ b/lib_com/ivas_stereo_eclvq_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 a9f2a66196c330bedee4892fab11b63bb88c8d78..488519324e9bb8c3ebb83c26c07ca1a7a4efbb23 100644
--- a/lib_com/ivas_stereo_ica_com.c
+++ b/lib_com/ivas_stereo_ica_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 1018cfe8aa1de6ee44f2a2027cefbbaed3f6685d..f02f4e277fbba08ef8b2b4392de3cf8b55abb70e 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-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 72a8750de6714e5da6c4a9bb0e8c6961b72c37a2..e5adc84ae77420deef3f05536d2d55b60f87d8c4 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-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#include
#include "options.h"
diff --git a/lib_com/ivas_stereo_psychlpc_com.c b/lib_com/ivas_stereo_psychlpc_com.c
index f1c84690e6fcb7b311d060310fe636443e6dd144..0123c53207ff50d61f7e2a64b63709b185da7373 100644
--- a/lib_com/ivas_stereo_psychlpc_com.c
+++ b/lib_com/ivas_stereo_psychlpc_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 f8ccd51d1bfa9b61e950343831d421ef8433b147..481daee40a12688df11ec6ac655510b02c59fdb7 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-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 c5f195804a36b1a5346c7b8599ce6089892bfea2..a4c61ce95f027f3d0081da8b439fae70b95992ab 100644
--- a/lib_com/ivas_tools.c
+++ b/lib_com/ivas_tools.c
@@ -1,41 +1,10 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 596503177f43c887f9cd120507f45d9fc81ada0a..8887522f1d1cf1e724231cb5fe49cf2cfc222bd8 100644
--- a/lib_com/ivas_transient_det.c
+++ b/lib_com/ivas_transient_det.c
@@ -1,40 +1,9 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
#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 89388f855853ea4a4d934a1ea01a2795fd0bd34d..aa0bfd7564e01cc9846ddbc885c465484c8d2a7d 100644
--- a/lib_com/lag_wind.c
+++ b/lib_com/lag_wind.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 356e589cddd9ee884375746060f044a31fc81e21..9c1c6ab0ee8649536db349ad64e539e50bc48df0 100644
--- a/lib_com/lerp.c
+++ b/lib_com/lerp.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 d7bd5a3cffbc7dfc2a1f72e749d75d5d0d8c30f2..446bea790f40260bd58e56eb14108b1ca8529f16 100644
--- a/lib_com/limit_t0.c
+++ b/lib_com/limit_t0.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 70151088e3551691eec091a9ec8db9de4e8f5ccd..3934d4be37eb6c0694eb068f217e0bfe400bc41b 100644
--- a/lib_com/logqnorm.c
+++ b/lib_com/logqnorm.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 be9a41b62dbf248612ad61c90e0669665b69c5f1..9713fdf7ae68c92a7638845cc22f5b54070c1eb6 100644
--- a/lib_com/longarith.c
+++ b/lib_com/longarith.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 01d6abe5b194d200b67d213888ebc8f91a878b32..fadff1ce8d43dc98ee7b54d72dca67be46d7a7b9 100644
--- a/lib_com/low_rate_band_att.c
+++ b/lib_com/low_rate_band_att.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 60ed00024a8ecd42507b61ef32947384a7d3fcbc..457996942e8e6469c0b8f84c44fdf1aee0a4a7ca 100644
--- a/lib_com/lpc_tools.c
+++ b/lib_com/lpc_tools.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 ea1ce65bd2c15b643219f2a66a4c37955550ea07..3df97cfe5d6b3fb3ef88875707b836effe597c52 100644
--- a/lib_com/lsf_dec_bfi.c
+++ b/lib_com/lsf_dec_bfi.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 150ccb3c41d0d2ebbd46586ebce6c708929b62a4..758a45af8e9c82e3a82959cbb6ffbbc5d24b2430 100644
--- a/lib_com/lsf_msvq_ma.c
+++ b/lib_com/lsf_msvq_ma.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 365613325bd7ae40f4b94d356d51794962931e2e..e8a542e81d202e4540102d7d6c2beb54569a237a 100644
--- a/lib_com/lsf_tools.c
+++ b/lib_com/lsf_tools.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 36091aa8ba707fe582d2d671363172056c18afc5..010e841615705481f8ee5dce27eece790443f98d 100644
--- a/lib_com/lsp_conv_poly.c
+++ b/lib_com/lsp_conv_poly.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 7c39cfac8b72f25d14cfad37e22eee47f4226105..497fe2837ab6861e19413672bab35c893167c234 100644
--- a/lib_com/mime.h
+++ b/lib_com/mime.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 f29abc07027810255bdc5ddde437a3796eeedcad..ba22f3552d42225d8016935a2c20b1b85b5f6719 100644
--- a/lib_com/modif_fs.c
+++ b/lib_com/modif_fs.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 bf994f7fdcd18aff84d6aa3b3bf47e5e516f2875..363df9b63d538920932df27ace4671936c4f0e71 100644
--- a/lib_com/move.h
+++ b/lib_com/move.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 f45e951889997b78ee7588be3454179c06b34c1f..345ebc96a0a2912251396528494207e057a94be8 100644
--- a/lib_com/mslvq_com.c
+++ b/lib_com/mslvq_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 3effb13335f2fd59f287bfb6540e21b868e1130f..fa7ecbcbd98bb8ec5d4d82f2b4e8a6ff91791b5a 100644
--- a/lib_com/nelp.c
+++ b/lib_com/nelp.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 a24b82b9a94438b09210f048b4b81085683bae0b..d5708aa889796140ba5e5557f3f55b5b251b6220 100644
--- a/lib_com/options.h
+++ b/lib_com/options.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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,145 +19,17 @@
/* ################### 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_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 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 MAINTENANCE switches ######################### */
-
-/* ################### Start BE switches ################################# */
-/* only BE switches wrt wrt. TS 26.258 V3.0 */
-
-/*#define FIX_I4_OL_PITCH*/ /* fix open-loop pitch used for EVS core switching */
-#define TMP_1342_WORKAROUND_DEC_FLUSH_BROKEN_IN_SR /* FhG: Temporary workaround for incorrect implementation of decoder flush with split rendering */
-#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 FIX_FLOAT_1539_G192_FORMAT_SWITCH /* Nokia: reintroduce format switching for g192 bitstreams */
-#define FIX_2095_REMOVE_UNUSED_ISAR_TABLES /* Dolby: remove unused ISAR */
-#define FIX_FLOAT_1582_STEREO_DFT_QUANTIZE_ITD /* FhG: float issue 1582: Remove unncessary statement from stereo_dft_quantize_itd() */
-#define FIX_1585_ASAN_FORMAT_SW_ALT /* VA,FhG: float issues 1585,1593: alternative fix memory leaks with format switching */
-#define FIX_2570_BUF_OVFL /* Orange: basop issue 2570: global-buffer-overflow in lib_rend/ivas_objectRenderer_sources_fx.c */
-
-/* #################### End BE switches ################################## */
-
-/* #################### Start NON-BE switches ############################ */
-/* any switch which is non-be wrt. TS 26.258 V3.0 */
-
-#define FIX_1521_SBA_LOUDNESS_STEREO /* FhG: issue 1521: Fix loudness for SBA to stereo rendering */
-#define FIX_2500_RENDCONF_REFACTOR /* Eri: Basop issue #2500: Renderer configuration range check before conversion to fixed point. Harmonize between BASOP/float */
-#define FIX_BASOP_2023_TDREND_DISTATT_PRECISION /* Eri: Basop issue 2023: Distance attenuation scaling, synch with BASOP updates and adding clamping of distance att input and listener position */
-#define FIX_1576_LCLD_CRASH_DIFFERENT_CODEC_ISAR_FRAME_SIZE /* Dolby: float issue 1576: fix for crash in LCLD mode when codec frame size is less than isar frame size */
-#define FIX_1452_DEFAULT_REVERB /* Nokia/Philips/FhG: Fix default room presets and their usage in renderer */
-#define FIX_1559 /* Eri/FhG: fix for Issue 1559 in FD CNG with bitrate/bw switching */
-#define FIX_FMSW_DEC /* float issue 1542: fix JBM issue in format switching */
-#define FIX_FMSW_DEC_2 /* float issue 1575: fix crash for format switching when bitsream starts with EVS */
-#define FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW /* Orange: float issue 1548: Harmonize non diegetic panning law in ISM and renderers */
-#define FIX_FLOAT_1578_OMASA_REND_SPIKES /* Nokia: Float issue 1578: Fix spikes and collapsed perception in OMASA/MASA rendering to FOA/HOA */
-
-/* ##################### End NON-BE switches ########################### */
-/* ################## End MAINTENANCE switches ######################### */
/* clang-format on */
diff --git a/lib_com/parameter_bitmaping.c b/lib_com/parameter_bitmaping.c
index fc17c8646e85f9e5016c3beb60cdef39c0a40615..fbfbebc3282cc043e77f279b39eff8e65e472bd3 100644
--- a/lib_com/parameter_bitmaping.c
+++ b/lib_com/parameter_bitmaping.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 5e766af3e7ae47eeffc2c8a2a6891435da9698dc..e589e00775a028dcf6a15f87d414aebcc3e50711 100644
--- a/lib_com/phase_dispersion.c
+++ b/lib_com/phase_dispersion.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 97b2546f0ed39aad9f20b12ecc274fb7299e0980..13ca135208bce27a200d8ce60bebd4ca6a13387c 100644
--- a/lib_com/ppp.c
+++ b/lib_com/ppp.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 756bd6f9a2e45ab113b051a90a14fcfae9c043ff..873f1421809160d1978f16f0c50df893b88f9180 100644
--- a/lib_com/pred_lt4.c
+++ b/lib_com/pred_lt4.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 7ab2977cc5e18e92cc4638a402570649679b38c6..a1132867d932c02558a1b0b292f9dc110180eab7 100644
--- a/lib_com/preemph.c
+++ b/lib_com/preemph.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 309fc560c0dc2ada8d61befa0268206286b6af18..9fff6fade9d17f0f9642b2a7935df8b685a89956 100644
--- a/lib_com/prot.h
+++ b/lib_com/prot.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 */
@@ -6168,11 +6078,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 3acfe6c3ae57b044752ad5a0cfd899539e68906b..181d7bf2a5cd1ef082971c0ca11b880418d4acdb 100644
--- a/lib_com/pvq_com.c
+++ b/lib_com/pvq_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 ca3cf23c677187ceecc222a48a7b2d0a1bf40dc7..4c5567ee3159164d2d0018d28bf51f620eb5a4fc 100644
--- a/lib_com/range_com.c
+++ b/lib_com/range_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 bcda23cb55c43186e3849d023b1646b1329e1efc..5c717822c9f929532f901f3247c8bc361faad7ab 100644
--- a/lib_com/re8_ppv.c
+++ b/lib_com/re8_ppv.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 09fc172f486a6a7016fe8a54a187d9ccac107620..14cc86e926b1a3c12fa4dacc01d48385bc9ad797 100644
--- a/lib_com/re8_util.c
+++ b/lib_com/re8_util.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 ad1616ab14c72995839ed8864e78e578ab4e88a2..76da5ebf0b03923721fc1fff9bf222fe646c210b 100644
--- a/lib_com/realft.c
+++ b/lib_com/realft.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 1806fdbe40e16a16357fc66d8bfb4331922b8130..f637dc4e771969fc12690838fc4394f6eddc2f9f 100644
--- a/lib_com/recovernorm.c
+++ b/lib_com/recovernorm.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 602c0f059b57148fa52759c2cb0b1978ebe4eec8..ce7065922edd78ad89223e8fe1593d1b52fdad58 100644
--- a/lib_com/reordvct.c
+++ b/lib_com/reordvct.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 6c865d4d96fdf5d6c69005615a2a11281e16fbef..70ee4891e3e529a0fd987dacf918f1a24f1a1027 100644
--- a/lib_com/residu.c
+++ b/lib_com/residu.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 0bf52b318a0bf459e32c314d45ec8575e2697315..d6aac3995af5fae57ed078e390cb65d7d4d1d071 100644
--- a/lib_com/rom_com.c
+++ b/lib_com/rom_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 08f8878de7a9bb9dddf593ef40ab8b7539340c41..6466981f83d4908240b4fc42c9deac78e07eae6e 100644
--- a/lib_com/rom_com.h
+++ b/lib_com/rom_com.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 58fcf4116e9655a943ad804bea68d5c6f8c34611..b902812f20975bdd9fdbfacdaeb64484f05a7c52 100644
--- a/lib_com/stab_est.c
+++ b/lib_com/stab_est.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 d40e88a041324d5c5ee9be9803379ab330261e5e..a6f5a2a7d52482b592f770c07c5f453d6d5d1b7d 100644
--- a/lib_com/stat_com.h
+++ b/lib_com/stat_com.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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;
diff --git a/lib_com/stat_noise_uv_mod.c b/lib_com/stat_noise_uv_mod.c
index 4039582b75923aa98c8426e62249527948422a99..cd7bacbc7a15d4ad886755fbd156b8f94b8216df 100644
--- a/lib_com/stat_noise_uv_mod.c
+++ b/lib_com/stat_noise_uv_mod.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 aac31708f4769ec2b8637135cd6d29e73397dc87..b2a067f64fbf7956ddd70ca50ea46c02cbb0de4a 100644
--- a/lib_com/stl.h
+++ b/lib_com/stl.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 75b1cd9626f64decd53350d638f97ad12823c2d8..495d4284a3421057a7bc985d30ed28e1738bf9ad 100644
--- a/lib_com/swb_bwe_com.c
+++ b/lib_com/swb_bwe_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 ab1f334cbfe07d17e7c8606b4fc0a5558897aeed..fb559bb1467a171eeaae219fa88efdde8273d15f 100644
--- a/lib_com/swb_bwe_com_hr.c
+++ b/lib_com/swb_bwe_com_hr.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 344fd46896b31289bacbcaa6e251dade5db57da9..10597ae150939a09300094cc2e67bf09ea2b7ba4 100644
--- a/lib_com/swb_bwe_com_lr.c
+++ b/lib_com/swb_bwe_com_lr.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 180cc0d0c1ee7f187d6f5892b350e7b01a328d9a..02a327d10ffe33a0a9c403f4f752264b0c18d49f 100644
--- a/lib_com/swb_tbe_com.c
+++ b/lib_com/swb_tbe_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 6c2854ca51937a13116cc5103eb7766fed7ed117..0f6941cd9bd72b3b6cd22cabc9587ecca43e7e6c 100644
--- a/lib_com/syn_12k8.c
+++ b/lib_com/syn_12k8.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 c1b3af175ecb082837d1c5cae294a4256da608d5..dd841cb0d61420ad7c262d7781f1ea64315428bc 100644
--- a/lib_com/syn_filt.c
+++ b/lib_com/syn_filt.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 30dc7f9ab34ce0911776e9da6cde1636257c086a..cbd8a8715174a7b72cee9d5985f3b7106ff1fbd8 100644
--- a/lib_com/tcq_position_arith.c
+++ b/lib_com/tcq_position_arith.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 a9aec927b56a01c25aad2ebdddc164ff7db66ecb..3e8d82dc71b43fbce408668900314bfd2ec7517e 100644
--- a/lib_com/tcx_ltp.c
+++ b/lib_com/tcx_ltp.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 23eac256e556a5749776acfdc89c68377751f420..488b7968280cd5e10d3617dbd66f51ec62037a2e 100644
--- a/lib_com/tcx_mdct.c
+++ b/lib_com/tcx_mdct.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 d4f4893b4c23527c5871eb9e5d31d3505e5385a1..311aa0aedfb848fb5afcc8dedc860541fde91cc9 100644
--- a/lib_com/tcx_mdct_window.c
+++ b/lib_com/tcx_mdct_window.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 a9a75bd049a04260112a83e93f68ee1f258c833b..8c7bbe31b76d3b9c4e11243140cf9ad0450bc155 100644
--- a/lib_com/tcx_utils.c
+++ b/lib_com/tcx_utils.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 1c547527dc21b0ec5c4e697582d27dc69b2716cb..1fe1123455cd4cb472f6962579f3b21e7da1f5e6 100644
--- a/lib_com/tec_com.c
+++ b/lib_com/tec_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 4f6ca9edfd8288c301464d35a84171c7c7f3cf32..4086bc4da2fab0f4f2908d0cdd7ff691e266d1d6 100644
--- a/lib_com/tns_base.c
+++ b/lib_com/tns_base.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 be8b2edbe2de624452a259224d7583280c894dbc..e4da169b78f430ae0e3ddb83d36bee34095fc650 100644
--- a/lib_com/tools.c
+++ b/lib_com/tools.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 bd11e11b426f470ef87b00fb37717986d5df38a9..34f0a0bee988d907514be62f7a1004d3d4728177 100644
--- a/lib_com/trans_direct.c
+++ b/lib_com/trans_direct.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 aed4eece4991d3a190da3b671f033c5b00fc6227..048ab4cc36b82fc67c6389a1b24e27910e4191c2 100644
--- a/lib_com/trans_inv.c
+++ b/lib_com/trans_inv.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 4c92c455afa60b6e6ee9eeeec4b60663f6ce7209..ab95a86f87b87a7b902d3e4c9574b66f4ca487d9 100644
--- a/lib_com/typedef.h
+++ b/lib_com/typedef.h
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 c14e7cb68e9ac0262e3d532c927d56372f4a9c83..9a1e0e2782d30e662ae021b9f9fe8a6c7d41e8cd 100644
--- a/lib_com/vlpc_2st_com.c
+++ b/lib_com/vlpc_2st_com.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 1b10b05bbeb15e3cfe321cae24f97d8a3fdd3b53..cf681fb929d251194143d9ad2c8224d631087ff4 100644
--- a/lib_com/weight.c
+++ b/lib_com/weight.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 9b03701376d1de5d208e98bb9eec509074922764..c2b6de159474b8905605e1f1a1d161b213c08351 100644
--- a/lib_com/weight_a.c
+++ b/lib_com/weight_a.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 3dbe99bd93a5595623b1a93d7b3fe327b7e35ccd..85426eff4c1cf11fb2a1ed95b464cbc43a383a14 100644
--- a/lib_com/wi.c
+++ b/lib_com/wi.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 73faed4274181ba42819fd4f89d797c470bcb521..e2507743e822c3f13d7a7025ec527dcf93b5cda8 100644
--- a/lib_com/window.c
+++ b/lib_com/window.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 136dc4d1fe26f88d8a6a3b424e72168df66dc326..8fd48630f22077ba498335993aae7d88b3946b93 100644
--- a/lib_com/window_ola.c
+++ b/lib_com/window_ola.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 7a32fd085203bf1f97b5d65fca0904b41fa478af..6cc0016fa6315a47dd05707747e9039577feb649 100644
--- a/lib_com/wtda.c
+++ b/lib_com/wtda.c
@@ -1,34 +1,6 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 May 08, 2026. IVAS Codec Version IVAS-FL-3.1RC02
+ ====================================================================================*/
/*====================================================================================
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 511452cdde060628d3203d684f62b9d94c9ee3eb..0000000000000000000000000000000000000000
--- a/lib_debug/debug.c
+++ /dev/null
@@ -1,981 +0,0 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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 in "./res" if given on command line
- * with switch -info .
- *
- *--------------------------------------------------------------------*/
-
-int16_t tweakdbgfolder( const char *filename, char *filename_mod, int16_t *textmode )
-{
- int16_t i, j;
- char *p_infoFolder = infoFolder;
- char *p_filename_mod = filename_mod;
- int16_t n_prefix = 0;
- char *suffix;
-
- /* if debug folder name given on command line, write debug info to sub folder */
- if ( infoFolder[0] != 0 )
- {
- if ( filename[0] == '.' )
- {
- n_prefix = 5;
- }
- else if ( filename[0] == 'r' )
- {
- n_prefix = 3;
- }
- else
- {
- fprintf( stderr, "tweakdbgfolder: Unexpected debug folder. Exiting..\n" );
- exit( -1 );
- }
- for ( i = 0; i <= n_prefix; i++ )
- {
- p_filename_mod[i] = filename[i];
- }
- j = i;
- while ( *p_infoFolder != 0 )
- {
- p_filename_mod[i] = *p_infoFolder;
- i++;
- p_infoFolder++;
- }
- p_filename_mod[i] = '/';
- i++;
-
- while ( filename[j] != 0 )
- {
- p_filename_mod[i] = filename[j];
- i++;
- j++;
- }
- /* detect textmode, only working with given debug folder name, otherwise no counter available for length of filename */
- suffix = &p_filename_mod[i - 4];
- if ( strncmp( suffix, ".txt", 4 ) == 0 )
- {
- *textmode = 1;
- }
- else
- {
- *textmode = 0;
- }
- }
-
-
- return 0;
-}
-#endif
-#endif
-
-
-#ifdef DEBUG_MODE_INFO
-/*-------------------------------------------------------------------*
- * fname()
- *
- * returns file name (string) that identifies - parameter/signal to be outputted
- - channel ID (0 or 1)
- - element ID (0, 1, etc.)
- *--------------------------------------------------------------------*/
-
-char debug_dir[6] = "res/";
-
-char tmp_fname[FILENAME_MAX];
-
-char *fname(
- char *dir,
- char *file,
- const int16_t n,
- const int16_t id,
- const int16_t enc_dec )
-{
- char idd[6];
-
- assert( id >= 0 && id < 100 );
- snprintf( idd, sizeof( idd ), ".id%d", id );
-
- strcpy( tmp_fname, dir );
- strcat( tmp_fname, file );
-
- if ( enc_dec == DEC )
- strcat( tmp_fname, ".dec" );
- if ( id > 0 )
- strcat( tmp_fname, idd );
- if ( n > 0 )
- strcat( tmp_fname, ".ch2" );
-
- return tmp_fname;
-}
-#endif
-
-
-/*-------------------------------------------------------------------*
- * make_dirs()
- *
- * extract path(s) form the pathname and create them if not existing
- *--------------------------------------------------------------------*/
-
-int16_t make_dirs( const char *const pathname )
-{
- const char *p;
- char *temp;
- char sep = 0;
-#ifdef _WIN32
- struct _stat s = { 0 };
-#else
- struct stat s = { 0 };
-#endif
- /* find path separator */
- if ( strchr( pathname, '\\' ) != NULL )
- {
- sep = '\\';
- }
- else if ( strchr( pathname, '/' ) != NULL )
- {
- sep = '/';
- }
-
- if ( sep != 0 )
- {
- temp = calloc( strlen( pathname ) + 1, sizeof( char ) );
- p = pathname;
- while ( ( p = strchr( p, sep ) ) != NULL )
- {
- /* skip consecutive separators and '.', '..' symbols */
- if ( p != pathname && ( *( p - 1 ) == sep || *( p - 1 ) == '.' ) )
- {
- p++;
- continue;
- }
-
- /* put the path up to this point into a temp dir */
- memcpy( temp, pathname, p - pathname );
- temp[p - pathname] = '\0';
- p++;
-
- /* check if path exists and create it with mkdir() if not */
-#ifdef _WIN32
- if ( _stat( temp, &s ) == -1 )
- {
- if ( _mkdir( temp ) != 0 )
- {
- if ( errno != 0 )
- {
- return 1;
- }
- }
- }
-#else
- if ( stat( temp, &s ) == -1 )
- {
- if ( mkdir( temp, 0755 ) != 0 )
- {
- if ( errno != 0 )
- {
- return 1;
- }
- }
- }
-#endif
- }
-
- free( temp );
- }
-
- return 0;
-}
-
-#ifdef DBG_WAV_WRITER
-int16_t dbgwrite_wav(
- const float *buffer[], /* i : Write buffer */
- const int16_t count_per_ch, /* i : Number of elements */
- const char *const filename,
- int32_t fs,
- int16_t num_chs )
-{
- int16_t index, i;
- int16_t *tmp_buf;
-
- index = lookup( filename, (const char *const *) out_wavfilename, out_wav_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_wav_count;
- out_wavfileptr[index] = CreateWav( (const char *) filename, fs, num_chs, 16 /* const uint32_t writeWaveExt */ );
- out_wavfilename[index] = malloc( sizeof( char ) * ( strlen( filename ) + 1 ) );
- strcpy( out_wavfilename[index], filename );
- out_wav_count++;
- }
-
- if ( out_wavfileptr[index] != NULL )
- {
- int16_t j, k;
- float tmp;
- tmp_buf = (int16_t *) calloc( count_per_ch * num_chs, sizeof( int16_t ) );
- k = 0;
- for ( j = 0; j < count_per_ch; j++ )
- {
- for ( i = 0; i < num_chs; i++, k++ )
- {
- tmp = roundf( buffer[i][j] );
- tmp_buf[k] = ( tmp > MAX16B_FLT ) ? MAX16B : ( tmp < MIN16B_FLT ) ? MIN16B
- : (short) tmp;
- }
- }
- WriteWavShort( out_wavfileptr[index], tmp_buf, count_per_ch * num_chs );
- free( tmp_buf );
- }
- else
- {
- fprintf( stderr, "dbgwrite_wav: Could not write to file: %s. Exiting..\n", filename );
- exit( -1 );
- }
-
- return 0;
-}
-
-
-int16_t dbgwrite_txt(
- const float *buffer, /* i : Write buffer */
- const int16_t count, /* i : Number of elements */
- const char *const filename,
- const char *const msg_opt )
-{
- int16_t index, i;
-
- 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, "w" );
- out_filename[index] = malloc( sizeof( char ) * ( strlen( filename ) + 1 ) );
- strcpy( out_filename[index], filename );
- out_count++;
- }
-
- if ( out_fileptr[index] != NULL )
- {
- if ( buffer != NULL )
- {
- if ( msg_opt == NULL )
- {
- for ( i = 0; i < count; i++ )
- {
- fprintf( out_fileptr[index], "%f\n", buffer[i] );
- }
- }
- else
- {
- for ( i = 0; i < count; i++ )
- {
- fprintf( out_fileptr[index], "%s %f\n", msg_opt, buffer[i] );
- }
- }
- }
- }
- else
- {
- fprintf( stderr, "dbgwrite_txt: Could not write to file: %s. Exiting..\n", filename );
- exit( -1 );
- }
-
- return 0;
-}
-#endif
-#endif /* DEBUGGING */
diff --git a/lib_debug/debug.h b/lib_debug/debug.h
deleted file mode 100644
index 09f3798851ee63d02ab3342fae7b11d977c01acd..0000000000000000000000000000000000000000
--- a/lib_debug/debug.h
+++ /dev/null
@@ -1,257 +0,0 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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.
-
-*******************************************************************************************************/
-
-#ifndef DEBUG_H
-#define DEBUG_H
-
-#include "options.h"
-#include
-#include
-#ifdef DEBUG_SBA
-#include "sba_debug.h"
-#endif
-
-/*------------------------------------------------------------------------------------------*
- * Global variables used for debugging
- *------------------------------------------------------------------------------------------*/
-
-#ifdef DEBUGGING
-extern int32_t frame;
-#endif
-
-#ifdef DEBUGGING
-extern uint16_t g_nPrintedLines;
-extern int16_t g_verbose;
-#endif
-
-#ifdef DEBUGGING
-extern int16_t debug_level;
-#define DEBUG_LINE( level ) if ( ( level ) <= debug_level )
-#else
-#define DEBUG_LINE( level ) if ( 0 )
-#endif
-
-#ifdef DEBUG_MODE_INFO
-extern char tmp_fname[];
-extern char debug_dir[6];
-char *fname( char *dir, char *file, const int16_t n, const int16_t id, const int16_t enc_dec );
-#endif
-
-/*------------------------------------------------------------------------------------------*
- * Read/write I/O tool
- *------------------------------------------------------------------------------------------*/
-
-#ifdef DEBUGGING
-
-int16_t lookup(
- const char *const str,
- const char *const *const list,
- const int16_t n_elem );
-
-#ifdef DEBUG_MODE_INFO
-#ifdef DEBUG_MODE_INFO_TWEAK
-int16_t tweakdbgfolder(
- const char *filename,
- char *filename_mod,
- int16_t *textmode );
-#endif
-#endif
-
-int16_t dbgwrite(
- const void *const buffer,
- const int16_t size,
- const int16_t count,
- const int16_t repeat,
-#ifdef DEBUG_MODE_INFO_TWEAK
- const char *filename
-#else
- const char *const filename
-#endif
-);
-
-#ifdef DBG_WAV_WRITER
-int16_t dbgwrite_wav(
- const float *buffer[], /* i : Write buffer */
- const int16_t count_per_ch, /* i : Number of elements */
- const char *const filename,
- int32_t fs,
- int16_t num_chs );
-int16_t dbgwrite_txt(
- const float *buffer, /* i : Write buffer */
- const int16_t count, /* i : Number of elements */
- const char *const filename,
- const char *const msg_opt );
-#endif
-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
-);
-
-int16_t dbgappend(
- const void *const buffer,
- const int16_t size,
- const int16_t count,
- const int16_t repeat,
-#ifdef DEBUG_MODE_INFO_TWEAK
- const char *filename
-#else
- const char *const filename
-#endif
-);
-
-int16_t dbgread(
- void *const buffer,
- const int16_t size,
- const int16_t count,
-#ifdef DEBUG_MODE_INFO_TWEAK
- const char *filename
-#else
- const char *const filename
-#endif
-);
-
-void dbgclose( void );
-
-int16_t dbgflag(
- const char *flagname );
-
-void setflag(
- const char *flagname );
-
-int16_t dbgargs(
- int32_t *argc,
- char *argv[] );
-
-int16_t dbgvalue(
- const char *typestr,
- const char *value_name,
- ... );
-
-extern FILE *DJB_delay;
-
-extern FILE *FEC_pattern;
-
-#endif /* DEBUGGING */
-
-/*------------------------------------------------------------------------------------------*
- * SNR measurement tool
- *------------------------------------------------------------------------------------------*/
-
-#ifdef DEBUGGING
-
-extern int16_t snr_count;
-extern char *snr_name[];
-
-void snr(
- const float *const signal,
- const float *const noise,
- const int16_t length,
- const char *const name );
-
-void snr_diff(
- const float *const clean,
- const float *const degraded,
- const int16_t length,
- const int16_t delay,
- const char *const name );
-
-void snr_celp(
- const int16_t L_frame,
- const int16_t L_subfr,
- const float gamma,
- const float tilt_fac,
- const int16_t vad_flag,
- const int16_t coder_type,
- const float *input,
- const float *output,
- const float *A,
- const int16_t idchan,
- const char *name );
-
-void print_snr( void );
-
-#else
-
-#define print_snr( void )
-
-#endif
-
-/*------------------------------------------------------------------------------------------*
- * SD analysis tool
- *------------------------------------------------------------------------------------------*/
-
-#ifdef DEBUGGING
-
-/*! r: SD in a given frequency range */
-float sd_range(
- const float lsf[], /* i : vector of unquantized LSF values */
- const float lsf_q[], /* i : vector of quantized LSF values */
- const int16_t order, /* i : dimension of the vectors */
- const int32_t fs, /* i : sampling frequency */
- const float min_freq, /* i : minimum frequency of interest */
- const float max_freq, /* i : maximum frequency of interest */
- const char *const name, /* i : string for SD entry in the global table */
- const int16_t Opt_AMR_WB /* i : flag indicating AMR-WB IO mode */
-);
-
-/*! r: SD respecting critical bands */
-float sd_crit(
- const float lsf[], /* i : vector of unquantized LSF values */
- const float lsf_q[], /* i : vector of quantized LSF values */
- const int16_t order, /* i : dimension of the vectors */
- const int32_t fs, /* i : sampling frequency */
- const float min_freq, /* i : minimal frequency */
- const float max_freq, /* i : maximal frequency */
- int16_t *min_band, /* o : minimal critical band */
- int16_t *max_band, /* o : maximal critical band */
- float sd_bands[], /* i/o: SD in critical bands */
- const char *const name, /* i : string for SD entry in the global table */
- const int16_t Opt_AMR_WB /* i : flag indicating AMR-WB IO mode */
-);
-
-void print_sd( void );
-
-#else
-
-#define print_sd( void )
-
-#endif
-
-#endif /* DEBUG_H */
diff --git a/lib_debug/flp_debug.h b/lib_debug/flp_debug.h
deleted file mode 100644
index 30e0488134c120aa78c3b0addfe044fc5e41109f..0000000000000000000000000000000000000000
--- a/lib_debug/flp_debug.h
+++ /dev/null
@@ -1,263 +0,0 @@
-/******************************************************************************************************
-
- (C) 2022-2026 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
-
-#if defined( _MSC_VER )
-// MSVC, x87
-#include