Commit b2923a30 authored by vaclav's avatar vaclav
Browse files

port FIX_1044_ISM_REND_MEMORY

parent f34818ef
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -188,6 +188,7 @@
#define NONBE_FIX_968_ISM_BRIR_WITH_HEADROTATION_5MS_FIX      /* FhG : issue #968: differences between 5ms and 20ms rendering for discrete ISM with BRIR and head rotation*/
#define FIX_969_USAN_IGF_ARITH                          /* FhG: issue 969: fix USAN error in igf_sce_dec; same issue as #962 */
#define FIX_959_MASA_LINEAR_REND                        /* VA: issue 959: remove unused calling of ivas_sba_linear_renderer() in MASA rendering */
#define FIX_1044_ISM_REND_MEMORY                        /* VA: issue 1044: Lower the memory of the ISM renderer handle. */

/* #################### End BASOP porting switches ############################ */

+8 −0
Original line number Diff line number Diff line
@@ -805,10 +805,18 @@ typedef struct ivas_lfe_dec_data_structure

typedef struct renderer_struct
{
#ifdef FIX_1044_ISM_REND_MEMORY
    float prev_gains[MAX_NUM_OBJECTS][MAX_OUTPUT_CHANNELS];
#else
    float prev_gains[MAX_CICP_CHANNELS - 1][MAX_OUTPUT_CHANNELS];
#endif
    float *interpolator;
    int16_t interpolator_length;
#ifdef FIX_1044_ISM_REND_MEMORY
    float gains[MAX_NUM_OBJECTS][MAX_OUTPUT_CHANNELS];
#else
    float gains[MAX_CICP_CHANNELS - 1][MAX_OUTPUT_CHANNELS];
#endif

} ISM_RENDERER_DATA, *ISM_RENDERER_HANDLE;