Commit 02752ab7 authored by Vidhya V P's avatar Vidhya V P
Browse files

Changes to make renderer pytest bit-exact

parent 1134a718
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -141,10 +141,10 @@

#define DISABLE_ADAP_RES_COD_TMP                        /* temporary fix for IVAS-403, disables adaptive residual coding */
/*#define FIX_I4_OL_PITCH*/                             /* fix open-loop pitch used for EVS core switching */
#define FIX_BIT_EXACT                                   /* fix for bit-inexactness in splitrendering renderer pytest*/

#define USE_HRIR_128_METH5_IRC_53_Q10_SYML_ITRP1_48000  /* Dolby (Orange, FhG) : Contribution 36 - SBA HRIR update */
#define UPDATE_SBA_FILTER                               /* Dolby (Orange, FhG) : Contribution 36 - SBA HRIR update */

#define VARIABLE_SPEED_DECODING                         /* variable speed decoding employing the JBM functioniality; move to DEBUGGING after build for disabled is fixed */
/*#define FIX_XXX_JBM_FIFO_BUFFER  */                   /* FhG: prevent wraparound of a length identifier in cause of large frames and many channels*/

@@ -180,7 +180,7 @@
#define ISM_FB            // 1ISM 24.4 kbps: change SWB to FB coding
#define ISM_25k6_HZ_CORE  // 1ISM 48 kbps: change ACELP/TCX 16 kHz core to TCX only 25.6 kHz core

#define FIX_SPLIT_REND_MERGE 
#define FIX_SPLIT_REND_MERGE                            /* Resolving the compilation warnings after splitrenderer main updation */

#define SPLIT_REND_WITH_HEAD_ROT
#ifdef SPLIT_REND_WITH_HEAD_ROT
+376 −2

File changed.

Preview size limit exceeded, changes collapsed.

+10 −0
Original line number Diff line number Diff line
@@ -957,7 +957,17 @@ void rotateFrame_shd_cldfb(
    const int16_t numTimeSlots,                                                   /* i  : number of time slots to process                         */
    const int16_t shd_rot_max_order                                               /* i  : split-order rotation method                             */
);
#ifdef FIX_BIT_EXACT
void rotateFrame_sd_cldfb_2(
    HEAD_TRACK_DATA_HANDLE hHeadTrackData,                                        /* i  : head track handle                                      */
    float Cldfb_RealBuffer[][MAX_PARAM_SPATIAL_SUBFRAMES][CLDFB_NO_CHANNELS_MAX], /* i/o: unrotated HOA3 signal buffer in cldfb domain real part */
    float Cldfb_ImagBuffer[][MAX_PARAM_SPATIAL_SUBFRAMES][CLDFB_NO_CHANNELS_MAX], /* i/o: unrotated HOA3 signal buffer in cldfb domain imag part */
    const IVAS_OUTPUT_SETUP_HANDLE hOutputSetup,                                  /* i  : output format setup number of channels                 */
    const EFAP_HANDLE hEFAPdata,                                                  /* i  : EFAP structure                                         */
    const int16_t nb_band                                                         /* i  : number of CLDFB bands to process                       */
);

#endif
void rotateFrame_sd_cldfb(
#ifdef EXTERNAL_ORIENTATIONS
    float Rmat[3][3],                                                             /* i  : real-space rotation matrix                               */
+1 −3
Original line number Diff line number Diff line
@@ -1609,9 +1609,8 @@ ivas_error ivas_reverb_process(
    return IVAS_ERR_OK;
}


/*-------------------------------------------------------------------------
 * ivas_binaural_reverb_processFrame()
 * ivas_binaural_reverb_processSubFrame()
 *
 * Compute the reverberation - room effect
 *------------------------------------------------------------------------*/
@@ -1770,7 +1769,6 @@ void ivas_binaural_reverb_processSubframe(
    return;
}


/*-------------------------------------------------------------------------
 * ivas_binaural_reverb_open()
 *
+0 −1
Original line number Diff line number Diff line
@@ -57,7 +57,6 @@
#ifdef USE_HRIR_128_METH5_IRC_53_Q10_SYML_ITRP1_48000
/********************** CRendBin_Combined_HRIR **********************/
#ifdef UPDATE_SBA_FILTER
Loading