From dc11428561aaff2da47c9d86be32911ae003c890 Mon Sep 17 00:00:00 2001 From: Archit Tamarapu Date: Wed, 31 May 2023 13:26:48 +0200 Subject: [PATCH 1/2] [cleanup] remove some function prototypes which no longer have definitions and update comments to reflect the updated function names --- .gitignore | 4 ---- lib_rend/ivas_crend.c | 4 ++-- lib_rend/ivas_prot_rend.h | 18 ------------------ 3 files changed, 2 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index 52512506d7..b2a82f06bb 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ IVAS_cod IVAS_dec IVAS_rend -IVAS_crend_unit_test obj/ *.a *.o @@ -17,7 +16,6 @@ build*/**/* IVAS_cod.exe IVAS_dec.exe IVAS_rend.exe -IVAS_crend_unit_test.exe *.user .vs/ Debug_*/ @@ -26,8 +24,6 @@ Release_*/ *.pdb # Unittests -scripts/ivas_pytests/tests/unit_tests/crend/IVAS_crend_unit_test -scripts/ivas_pytests/tests/unit_tests/crend/IVAS_crend_unit_test.exe scripts/ivas_pytests/tests/unit_tests/crend/Debug_*/ scripts/ivas_pytests/tests/unit_tests/crend/Release_*/ diff --git a/lib_rend/ivas_crend.c b/lib_rend/ivas_crend.c index 76af4a17c8..77d8097a5f 100644 --- a/lib_rend/ivas_crend.c +++ b/lib_rend/ivas_crend.c @@ -1202,7 +1202,7 @@ ivas_error ivas_rend_openCrend( /*------------------------------------------------------------------------- - * ivas_crend_close() + * ivas_rend_closeCrend() * * Deallocate Crend renderer handle *------------------------------------------------------------------------*/ @@ -1284,7 +1284,7 @@ void ivas_rend_closeCrend( /*-----------------------------------------------------------------------------------------* - * Function ivas_crend_convolver() + * Function ivas_rend_crendConvolver() * * Convolver block *-----------------------------------------------------------------------------------------*/ diff --git a/lib_rend/ivas_prot_rend.h b/lib_rend/ivas_prot_rend.h index d87324cca3..ac9e765abe 100644 --- a/lib_rend/ivas_prot_rend.h +++ b/lib_rend/ivas_prot_rend.h @@ -563,24 +563,6 @@ ivas_error ivas_rend_crendProcessSubframe( ); #endif - -ivas_error ivas_crend_init_from_rom( - Decoder_Struct *st_ivas /* i/o: IVAS decoder structure */ -); - -ivas_error ivas_crend_open( - Decoder_Struct *st_ivas /* i/o: IVAS decoder structure */ -); - -ivas_error ivas_crend_close( - Decoder_Struct *st_ivas /* i/o: IVAS decoder structure */ -); - -ivas_error ivas_crend_process( - Decoder_Struct *st_ivas, /* i/o: IVAS decoder structure */ - float output[][L_FRAME48k] /* i/o: input/output audio channels */ -); - /*----------------------------------------------------------------------------------* * Reverberator *----------------------------------------------------------------------------------*/ -- GitLab From 6265f1126ed6ba5899b6f72bc246d462ef42d9ce Mon Sep 17 00:00:00 2001 From: Archit Tamarapu Date: Wed, 31 May 2023 13:26:48 +0200 Subject: [PATCH 2/2] [cleanup] remove some function prototypes which no longer have definitions and update comments to reflect the updated function names --- .gitignore | 8 -------- lib_rend/ivas_crend.c | 4 ++-- lib_rend/ivas_prot_rend.h | 18 ------------------ 3 files changed, 2 insertions(+), 28 deletions(-) diff --git a/.gitignore b/.gitignore index 52512506d7..a2f6a6b95f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ IVAS_cod IVAS_dec IVAS_rend -IVAS_crend_unit_test obj/ *.a *.o @@ -17,7 +16,6 @@ build*/**/* IVAS_cod.exe IVAS_dec.exe IVAS_rend.exe -IVAS_crend_unit_test.exe *.user .vs/ Debug_*/ @@ -25,12 +23,6 @@ Release_*/ *.obj *.pdb -# Unittests -scripts/ivas_pytests/tests/unit_tests/crend/IVAS_crend_unit_test -scripts/ivas_pytests/tests/unit_tests/crend/IVAS_crend_unit_test.exe -scripts/ivas_pytests/tests/unit_tests/crend/Debug_*/ -scripts/ivas_pytests/tests/unit_tests/crend/Release_*/ - # Standalone TD object renderer scripts/td_object_renderer/object_renderer_standalone/renderer_standalone scripts/td_object_renderer/object_renderer_standalone/renderer_standalone.exe diff --git a/lib_rend/ivas_crend.c b/lib_rend/ivas_crend.c index 76af4a17c8..77d8097a5f 100644 --- a/lib_rend/ivas_crend.c +++ b/lib_rend/ivas_crend.c @@ -1202,7 +1202,7 @@ ivas_error ivas_rend_openCrend( /*------------------------------------------------------------------------- - * ivas_crend_close() + * ivas_rend_closeCrend() * * Deallocate Crend renderer handle *------------------------------------------------------------------------*/ @@ -1284,7 +1284,7 @@ void ivas_rend_closeCrend( /*-----------------------------------------------------------------------------------------* - * Function ivas_crend_convolver() + * Function ivas_rend_crendConvolver() * * Convolver block *-----------------------------------------------------------------------------------------*/ diff --git a/lib_rend/ivas_prot_rend.h b/lib_rend/ivas_prot_rend.h index d87324cca3..ac9e765abe 100644 --- a/lib_rend/ivas_prot_rend.h +++ b/lib_rend/ivas_prot_rend.h @@ -563,24 +563,6 @@ ivas_error ivas_rend_crendProcessSubframe( ); #endif - -ivas_error ivas_crend_init_from_rom( - Decoder_Struct *st_ivas /* i/o: IVAS decoder structure */ -); - -ivas_error ivas_crend_open( - Decoder_Struct *st_ivas /* i/o: IVAS decoder structure */ -); - -ivas_error ivas_crend_close( - Decoder_Struct *st_ivas /* i/o: IVAS decoder structure */ -); - -ivas_error ivas_crend_process( - Decoder_Struct *st_ivas, /* i/o: IVAS decoder structure */ - float output[][L_FRAME48k] /* i/o: input/output audio channels */ -); - /*----------------------------------------------------------------------------------* * Reverberator *----------------------------------------------------------------------------------*/ -- GitLab