Skip to content
Commits on Source (2)
......@@ -48,7 +48,7 @@
*------------------------------------------------------------------------*/
/* TD renderer default HRIR model */
#ifdef DEBUGGING
/* Generated on 31-Jul-2024 with Matlab version 9.9.0.2037887 (R2020b) Update 8 by tmu on MACI64 */
/* Generated on 09-Sep-2025 with Matlab version 23.2.0.2668659 (R2023b) Update 9 by marcemerit on MACA64 */
#endif
 
const float defaultHRIR_rom_latency_s = 0.000020834f;
This diff is collapsed.
/******************************************************************************************************
(C) 2022-2025 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
contributors to this repository. All Rights Reserved.
This software is protected by copyright law and by international treaties.
The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
contributors to this repository retain full ownership rights in their respective contributions in
the software. This notice grants no license of any kind, including but not limited to patent
license, nor is any license granted by implication, estoppel or otherwise.
Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
contributions.
This software is provided "AS IS", without any express or implied warranties. The software is in the
development stage. It is intended exclusively for experts who have experience with such software and
solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
and fitness for a particular purpose are hereby disclaimed and excluded.
Any dispute, controversy or claim arising under or in relation to providing this software shall be
submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
the United Nations Convention on Contracts on the International Sales of Goods.
*******************************************************************************************************/
#ifndef _IVAS_ROM_TDBINAURALRENDERER_
#define _IVAS_ROM_TDBINAURALRENDERER_
#include <stdint.h>
#include "options.h"
#ifdef DEBUGGING
#include "debug.h"
#endif
#include "cnst.h"
#include "ivas_cnst.h"
/*-------------------------------------------------------------------------
* TD Binaural rendering related ROM tables
*------------------------------------------------------------------------*/
/* TD renderer default HRIR model */
#ifndef FIX_TDREND_HRTF_FILE_FORMAT
extern const Word32 defaultHRIR_rom_latency_s_fx; /* Q31 */
extern const Word16 defaultHRIR_rom_azimDim2[15]; /* Q0 */
extern const Word16 defaultHRIR_rom_azimDim3[15]; /* Q0 */
extern const Word16 defaultHRIR_rom_azim_start_idx[15]; /* Q0 */
extern const Word16 defaultHRIR_rom_azimSegSamples[1]; /* Q0 */
extern const Word16 defaultHRIR_rom_azimShapeIdx[15]; /* Q0 */
extern const Word16 defaultHRIR_rom_azimShapeSampFactor[15]; /* Q0 */
extern const Word32 defaultHRIR_rom_elevKSeq_fx[13]; /* Q22 */
extern const UWord32 defaultHRIR_rom_AlphaL48_fx[470 * 128]; /*Q30*/
extern const UWord32 defaultHRIR_rom_AlphaR48_fx[470 * 128]; /*Q30*/
extern const UWord32 defaultHRIR_rom_AlphaL32_fx[470 * 86]; /*Q30*/
extern const UWord32 defaultHRIR_rom_AlphaR32_fx[470 * 86]; /*Q30*/
extern const UWord32 defaultHRIR_rom_AlphaL16_fx[470 * 43]; /*Q30*/
extern const UWord32 defaultHRIR_rom_AlphaR16_fx[470 * 43]; /*Q30*/
extern const UWord32 defaultHRIR_rom_EL48_fx[HRTF_MODEL_N_SECTIONS * 470]; /*Q28*/
extern const UWord32 defaultHRIR_rom_ER48_fx[HRTF_MODEL_N_SECTIONS * 470]; /*Q28*/
extern const UWord32 defaultHRIR_rom_EL32_fx[HRTF_MODEL_N_SECTIONS * 470]; /*Q28*/
extern const UWord32 defaultHRIR_rom_ER32_fx[HRTF_MODEL_N_SECTIONS * 470]; /*Q28*/
extern const UWord32 defaultHRIR_rom_EL16_fx[HRTF_MODEL_N_SECTIONS * 470]; /*Q28*/
extern const UWord32 defaultHRIR_rom_ER16_fx[HRTF_MODEL_N_SECTIONS * 470]; /*Q28*/
extern const Word32 defaultHRIR_rom_elevBsShape_fx[36]; /*Q30*/
extern const Word32 defaultHRIR_rom_azimBsShape_fx[21]; /*Q30*/
extern const UWord32 defaultHRIR_rom_ITD_W_fx[658]; /*Q25*/
extern const Word32 defaultHRIR_rom_ITD_elevKSeq_fx[16]; /*Q22*/
extern const Word32 defaultHRIR_rom_ITD_elevBsShape_fx[28]; /*Q30*/
extern const Word32 defaultHRIR_rom_ITD_azimKSeq_fx[19]; /*Q22*/
extern const Word32 defaultHRIR_rom_ITD_azimBsShape_fx[84]; /*Q30*/
#else
extern const Word16 defaultHRIR_rom_latency_s_Q_fx;
extern const Word32 defaultHRIR_rom_latency_s_fx;
extern const Word16 defaultHRIR_rom_model_configuration[6];
extern const Word16 defaultHRIR_rom_azimDim3[15];
extern const Word16 defaultHRIR_rom_azim_start_idx[15];
extern const Word16 defaultHRIR_rom_azimSegSamples[1];
extern const Word16 defaultHRIR_rom_azimShapeIdx[15];
extern const Word16 defaultHRIR_rom_azimShapeSampFactor[15];
extern const Word16 defaultHRIR_rom_elevKSeq_Q_fx;
extern const Word16 defaultHRIR_rom_elevKSeq_fx[13];
extern const Word16 defaultHRIR_rom_Alpha48_Q_fx;
extern const Word16 defaultHRIR_rom_AlphaL48_fx[470 * 128]; /*Q30*/
extern const Word16 defaultHRIR_rom_AlphaR48_fx[470 * 128]; /*Q30*/
extern const Word16 defaultHRIR_rom_Alpha32_Q_fx;
extern const Word16 defaultHRIR_rom_AlphaL32_fx[470 * 86]; /*Q30*/
extern const Word16 defaultHRIR_rom_AlphaR32_fx[470 * 86]; /*Q30*/
extern const Word16 defaultHRIR_rom_Alpha16_Q_fx;
extern const Word16 defaultHRIR_rom_AlphaL16_fx[470 * 43]; /*Q30*/
extern const Word16 defaultHRIR_rom_AlphaR16_fx[470 * 43]; /*Q30*/
extern const Word16 defaultHRIR_rom_E48_Q_fx;
extern const Word32 defaultHRIR_rom_EL48_fx[HRTF_MODEL_N_SECTIONS * 470]; /*Q28*/
extern const Word32 defaultHRIR_rom_ER48_fx[HRTF_MODEL_N_SECTIONS * 470]; /*Q28*/
extern const Word16 defaultHRIR_rom_E32_Q_fx;
extern const Word32 defaultHRIR_rom_EL32_fx[HRTF_MODEL_N_SECTIONS * 470]; /*Q28*/
extern const Word32 defaultHRIR_rom_ER32_fx[HRTF_MODEL_N_SECTIONS * 470]; /*Q28*/
extern const Word16 defaultHRIR_rom_E16_Q_fx;
extern const Word32 defaultHRIR_rom_EL16_fx[HRTF_MODEL_N_SECTIONS * 470]; /*Q28*/
extern const Word32 defaultHRIR_rom_ER16_fx[HRTF_MODEL_N_SECTIONS * 470]; /*Q28*/
extern const Word16 defaultHRIR_rom_elevBsShape_Q_fx;
extern const Word16 defaultHRIR_rom_elevBsShape_fx[36]; /*Q30*/
extern const Word16 defaultHRIR_rom_elevBsLen[4];
extern const Word16 defaultHRIR_rom_elevBsStart[4];
extern const Word16 defaultHRIR_rom_elevBsShape_Q_fx;
extern const Word16 defaultHRIR_rom_elevBsShape_fx[36]; /*Q30*/
extern const Word16 defaultHRIR_rom_azimBsShape_Q_fx;
extern const Word16 defaultHRIR_rom_azimBsShape_fx[21]; /*Q30*/
extern const Word16 defaultHRIR_rom_ITD_W_Q_fx;
extern const Word16 defaultHRIR_rom_ITD_W_fx[658];
extern const Word16 defaultHRIR_rom_ITD_azimBsShape_Q_fx;
extern const Word16 defaultHRIR_rom_ITD_azimBsShape_fx[84];
extern const Word16 defaultHRIR_rom_ITD_azimKSeq_Q_fx;
extern const Word16 defaultHRIR_rom_ITD_azimKSeq_fx[19];
extern const Word16 defaultHRIR_rom_ITD_elevBsShape_Q_fx;
extern const Word16 defaultHRIR_rom_ITD_elevBsShape_fx[28];
extern const Word16 defaultHRIR_rom_ITD_elevKSeq_Q_fx;
extern const Word16 defaultHRIR_rom_ITD_elevKSeq_fx[16];
extern const Word16 defaultHRIR_rom_ITD_model_configuration[4];
extern const Word16 defaultHRIR_rom_ITD_elevBsLen[4];
extern const Word16 defaultHRIR_rom_ITD_elevBsStart[4];
extern const Word16 defaultHRIR_rom_ITD_azimBsLen[4];
extern const Word16 defaultHRIR_rom_ITD_azimBsStart[4];
#endif
#endif
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -76,6 +76,9 @@ if(MSVC)
add_compile_options("/fp:precise")
else()
add_compile_options("-fno-fast-math")
add_compile_options("-ffp-model=precise")
add_compile_options("-ffp-contract=off")
add_compile_options("-fno-rounding-math")
endif()
add_library(${PROJECT_NAME}_lib STATIC ${SOURCE_FILES_C} ${SOURCE_FILES_H})
......