Commit 6aa71cf1 authored by vaclav's avatar vaclav
Browse files

port FIX_1044_ISM_REND_MEMORY

parent 2498b3d5
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -101,6 +101,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 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_969_USAN_IGF_ARITH                          /* FhG: issue 969: fix USAN error in igf_sce_dec; same issue as #962 */
#define FIX_1044_ISM_REND_MEMORY                        /* VA: issue 1044: Lower the memory of the ISM renderer handle. */


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


+10 −2
Original line number Original line Diff line number Diff line
@@ -853,10 +853,18 @@ typedef struct ivas_lfe_dec_data_structure


typedef struct renderer_struct
typedef struct renderer_struct
{
{
#ifdef FIX_1044_ISM_REND_MEMORY
    Word32 prev_gains_fx[MAX_NUM_OBJECTS][MAX_OUTPUT_CHANNELS]; /*Q30*/
#else
    Word32 prev_gains_fx[MAX_CICP_CHANNELS - 1][MAX_OUTPUT_CHANNELS]; /*Q30*/
    Word32 prev_gains_fx[MAX_CICP_CHANNELS - 1][MAX_OUTPUT_CHANNELS]; /*Q30*/
#endif
    Word16 *interpolator_fx; /*Q15*/
    Word16 *interpolator_fx; /*Q15*/
    Word16 interpolator_len;
    Word16 interpolator_len;
#ifdef FIX_1044_ISM_REND_MEMORY
    Word32 gains_fx[MAX_NUM_OBJECTS][MAX_OUTPUT_CHANNELS]; /*Q30*/
#else
    Word32 gains_fx[MAX_CICP_CHANNELS - 1][MAX_OUTPUT_CHANNELS];      /*Q30*/
    Word32 gains_fx[MAX_CICP_CHANNELS - 1][MAX_OUTPUT_CHANNELS];      /*Q30*/
#endif


} ISM_RENDERER_DATA, *ISM_RENDERER_HANDLE;
} ISM_RENDERER_DATA, *ISM_RENDERER_HANDLE;