Loading apps/renderer.c +10 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ #include <stdio.h> #include <string.h> #ifdef EXT_RENDERER #ifndef count_malloc #ifdef RAM_COUNTING_TOOL #define count_malloc( n1 ) MALLOC_FCT_CALL( n1 ) Loading Loading @@ -2274,3 +2275,12 @@ static void convertOutputBuffer( const float *floatBuffer, } } } #else int32_t main( int32_t argc, char **argv ) { (void) argc; (void) argv; fprintf( stderr, "Enable EXT_RENDERER in options.h to use the external renderer.\n" ); return 0; } #endif lib_rend/ivas_lib_rend_internal.h +2 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ #ifndef IVAS_LIB_REND_INTERNALS_H #define IVAS_LIB_REND_INTERNALS_H #ifdef EXT_RENDERER typedef struct { int8_t headRotEnabled; Loading Loading @@ -85,3 +86,4 @@ ivas_error ivas_rend_TDObjRendOpen( int32_t outFs ); #endif #endif lib_rend/lib_rend.c +2 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ #include <stdlib.h> #include <string.h> #ifdef EXT_RENDERER /* Maximum buffer length (per channel) in samples. * Keep this separate from L_FRAME48k in case we want to support different size later */ #define MAX_BUFFER_LENGTH_PER_CHANNEL ( L_FRAME48k ) Loading Loading @@ -4064,3 +4065,4 @@ int32_t IVAS_REND_GetCntFramesLimited( return hIvasRend->hLimiter->cnt_frames_limited; } #endif #endif lib_rend/lib_rend.h +3 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,8 @@ #include "common_api_types.h" #include "ivas_error.h" #ifdef EXT_RENDERER #define RENDERER_MAX_ISM_INPUTS 4 #define RENDERER_MAX_MC_INPUTS 1 #define RENDERER_MAX_SBA_INPUTS 1 Loading Loading @@ -263,3 +265,4 @@ int32_t IVAS_REND_GetCntFramesLimited( /* clang-format on */ #endif /* LIB_REND_H */ #endif Loading
apps/renderer.c +10 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ #include <stdio.h> #include <string.h> #ifdef EXT_RENDERER #ifndef count_malloc #ifdef RAM_COUNTING_TOOL #define count_malloc( n1 ) MALLOC_FCT_CALL( n1 ) Loading Loading @@ -2274,3 +2275,12 @@ static void convertOutputBuffer( const float *floatBuffer, } } } #else int32_t main( int32_t argc, char **argv ) { (void) argc; (void) argv; fprintf( stderr, "Enable EXT_RENDERER in options.h to use the external renderer.\n" ); return 0; } #endif
lib_rend/ivas_lib_rend_internal.h +2 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ #ifndef IVAS_LIB_REND_INTERNALS_H #define IVAS_LIB_REND_INTERNALS_H #ifdef EXT_RENDERER typedef struct { int8_t headRotEnabled; Loading Loading @@ -85,3 +86,4 @@ ivas_error ivas_rend_TDObjRendOpen( int32_t outFs ); #endif #endif
lib_rend/lib_rend.c +2 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ #include <stdlib.h> #include <string.h> #ifdef EXT_RENDERER /* Maximum buffer length (per channel) in samples. * Keep this separate from L_FRAME48k in case we want to support different size later */ #define MAX_BUFFER_LENGTH_PER_CHANNEL ( L_FRAME48k ) Loading Loading @@ -4064,3 +4065,4 @@ int32_t IVAS_REND_GetCntFramesLimited( return hIvasRend->hLimiter->cnt_frames_limited; } #endif #endif
lib_rend/lib_rend.h +3 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,8 @@ #include "common_api_types.h" #include "ivas_error.h" #ifdef EXT_RENDERER #define RENDERER_MAX_ISM_INPUTS 4 #define RENDERER_MAX_MC_INPUTS 1 #define RENDERER_MAX_SBA_INPUTS 1 Loading Loading @@ -263,3 +265,4 @@ int32_t IVAS_REND_GetCntFramesLimited( /* clang-format on */ #endif /* LIB_REND_H */ #endif