Loading Workspace_msvc/lib_rend.vcxproj +1 −0 Original line number Diff line number Diff line Loading @@ -244,6 +244,7 @@ </ItemGroup> <ItemGroup> <ClInclude Include="..\lib_rend\ivas_lcld_tables.h" /> <ClInclude Include="..\lib_rend\ivas_PerceptualModel.h" /> <ClInclude Include="..\lib_rend\ivas_prot_rend.h" /> <ClInclude Include="..\lib_rend\ivas_rom_binauralRenderer.h" /> <ClInclude Include="..\lib_rend\ivas_rom_binaural_crend_head.h" /> Loading lib_rend/ivas_CQMFDecoder.c +3 −2 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ Nations Convention on Contracts on the International Sales of Goods. #ifdef SPLIT_REND_WITH_HEAD_ROT #include "ivas_NoiseGen.h" #include "ivas_PerceptualModel.h" #include "ivas_lcld_tables.h" #include "ivas_cldfb_codec_bitstream.h" #include "prot.h" Loading lib_rend/ivas_CQMFEncoder.c +5 −4 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ #include "ivas_lcld_tables.h" #include "prot.h" #include "ivas_RMSEnvGrouping.h" #include "ivas_PerceptualModel.h" #include "ivas_cldfb_codec_bitstream.h" #include "ivas_prot_rend.h" #ifdef ENABLE_MS_PRED Loading lib_rend/ivas_PerceptualModel.c +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ *******************************************************************************************************/ #include "options.h" #ifdef SPLIT_REND_WITH_HEAD_ROT #include "ivas_lcld_tables.h" #include "ivas_PerceptualModel.h" #include "prot.h" #include "ivas_prot_rend.h" #include <stdio.h> Loading lib_rend/ivas_PerceptualModel.h 0 → 100644 +75 −0 Original line number Diff line number Diff line /****************************************************************************************************** (C) 2022 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD., Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange, Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other contributors to this repository. All Rights Reserved. This software is protected by copyright law and by international treaties. The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD., Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange, Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other contributors to this repository retain full ownership rights in their respective contributions in the software. This notice grants no license of any kind, including but not limited to patent license, nor is any license granted by implication, estoppel or otherwise. Contributors are required to enter into the IVAS codec Public Collaboration agreement before making contributions. This software is provided "AS IS", without any express or implied warranties. The software is in the development stage. It is intended exclusively for experts who have experience with such software and solely for the purpose of inspection. All implied warranties of non-infringement, merchantability and fitness for a particular purpose are hereby disclaimed and excluded. Any dispute, controversy or claim arising under or in relation to providing this software shall be submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in accordance with the laws of 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_PERCEPTUAL_MODEL_H_ #define _IVAS_PERCEPTUAL_MODEL_H_ #ifdef __cplusplus extern "C" { #endif #include <stdint.h> #define LOG_ADD_TABLE_LENGTH (512) #define PERCEPTUAL_MODEL_SCALE (64) #define PERCEPTUAL_MODEL_SCALE_SHIFT (6) #define PERCEPTUAL_MODEL_ALPHA_SCALE (614) #define PERCEPTUAL_MODEL_ALPHA_INV_SCALE (6827) #define PERCEPTUAL_MODEL_ALPHA_SHIFT (11) #define PERCEPTUAL_MODEL_SLGAIN_SHIFT (8)//(4) #define MAX_BANDS_48 ( 23 ) extern const int32_t c_aiLogAddTable[LOG_ADD_TABLE_LENGTH]; extern const int32_t c_aiBandwidthAdjust48[MAX_BANDS_48]; extern const int32_t c_aiAbsoluteThresh48[MAX_BANDS_48]; extern const int32_t c_aiDefaultTheta48[MAX_BANDS_48]; extern const int32_t c_aaiSpreadFunction48[MAX_BANDS_48 * MAX_BANDS_48]; extern void PerceptualModel(const int32_t iMaxQuantBands, const int32_t *piRMSEnvelope, int32_t *piExcitation, int32_t *piSMR); extern void PerceptualModelStereo(const int32_t iMaxQuantBands, const int32_t *piMSFlags, const int32_t *piRMSEnvelope0, const int32_t *piRMSEnvelope1, int32_t *piExcitation0, int32_t *piExcitation1, int32_t *piSMR0, int32_t *piSMR1); #ifdef __cplusplus } #endif #endif /* _PERCEPTUAL_MODEL_H_ */ Loading
Workspace_msvc/lib_rend.vcxproj +1 −0 Original line number Diff line number Diff line Loading @@ -244,6 +244,7 @@ </ItemGroup> <ItemGroup> <ClInclude Include="..\lib_rend\ivas_lcld_tables.h" /> <ClInclude Include="..\lib_rend\ivas_PerceptualModel.h" /> <ClInclude Include="..\lib_rend\ivas_prot_rend.h" /> <ClInclude Include="..\lib_rend\ivas_rom_binauralRenderer.h" /> <ClInclude Include="..\lib_rend\ivas_rom_binaural_crend_head.h" /> Loading
lib_rend/ivas_CQMFDecoder.c +3 −2 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ Nations Convention on Contracts on the International Sales of Goods. #ifdef SPLIT_REND_WITH_HEAD_ROT #include "ivas_NoiseGen.h" #include "ivas_PerceptualModel.h" #include "ivas_lcld_tables.h" #include "ivas_cldfb_codec_bitstream.h" #include "prot.h" Loading
lib_rend/ivas_CQMFEncoder.c +5 −4 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ #include "ivas_lcld_tables.h" #include "prot.h" #include "ivas_RMSEnvGrouping.h" #include "ivas_PerceptualModel.h" #include "ivas_cldfb_codec_bitstream.h" #include "ivas_prot_rend.h" #ifdef ENABLE_MS_PRED Loading
lib_rend/ivas_PerceptualModel.c +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ *******************************************************************************************************/ #include "options.h" #ifdef SPLIT_REND_WITH_HEAD_ROT #include "ivas_lcld_tables.h" #include "ivas_PerceptualModel.h" #include "prot.h" #include "ivas_prot_rend.h" #include <stdio.h> Loading
lib_rend/ivas_PerceptualModel.h 0 → 100644 +75 −0 Original line number Diff line number Diff line /****************************************************************************************************** (C) 2022 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD., Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange, Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other contributors to this repository. All Rights Reserved. This software is protected by copyright law and by international treaties. The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD., Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange, Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other contributors to this repository retain full ownership rights in their respective contributions in the software. This notice grants no license of any kind, including but not limited to patent license, nor is any license granted by implication, estoppel or otherwise. Contributors are required to enter into the IVAS codec Public Collaboration agreement before making contributions. This software is provided "AS IS", without any express or implied warranties. The software is in the development stage. It is intended exclusively for experts who have experience with such software and solely for the purpose of inspection. All implied warranties of non-infringement, merchantability and fitness for a particular purpose are hereby disclaimed and excluded. Any dispute, controversy or claim arising under or in relation to providing this software shall be submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in accordance with the laws of 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_PERCEPTUAL_MODEL_H_ #define _IVAS_PERCEPTUAL_MODEL_H_ #ifdef __cplusplus extern "C" { #endif #include <stdint.h> #define LOG_ADD_TABLE_LENGTH (512) #define PERCEPTUAL_MODEL_SCALE (64) #define PERCEPTUAL_MODEL_SCALE_SHIFT (6) #define PERCEPTUAL_MODEL_ALPHA_SCALE (614) #define PERCEPTUAL_MODEL_ALPHA_INV_SCALE (6827) #define PERCEPTUAL_MODEL_ALPHA_SHIFT (11) #define PERCEPTUAL_MODEL_SLGAIN_SHIFT (8)//(4) #define MAX_BANDS_48 ( 23 ) extern const int32_t c_aiLogAddTable[LOG_ADD_TABLE_LENGTH]; extern const int32_t c_aiBandwidthAdjust48[MAX_BANDS_48]; extern const int32_t c_aiAbsoluteThresh48[MAX_BANDS_48]; extern const int32_t c_aiDefaultTheta48[MAX_BANDS_48]; extern const int32_t c_aaiSpreadFunction48[MAX_BANDS_48 * MAX_BANDS_48]; extern void PerceptualModel(const int32_t iMaxQuantBands, const int32_t *piRMSEnvelope, int32_t *piExcitation, int32_t *piSMR); extern void PerceptualModelStereo(const int32_t iMaxQuantBands, const int32_t *piMSFlags, const int32_t *piRMSEnvelope0, const int32_t *piRMSEnvelope1, int32_t *piExcitation0, int32_t *piExcitation1, int32_t *piSMR0, int32_t *piSMR1); #ifdef __cplusplus } #endif #endif /* _PERCEPTUAL_MODEL_H_ */