Commit 892759fb authored by Vidhya V P's avatar Vidhya V P
Browse files

Addressing review comments: set 1

parent fb849a1a
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -928,6 +928,7 @@ typedef enum
} SBA_MODE;

#endif

/*----------------------------------------------------------------------------------*
 * DirAC Constants 
 *----------------------------------------------------------------------------------*/
+4 −0
Original line number Diff line number Diff line
@@ -101,6 +101,7 @@ ivas_error ivas_dirac_config(
#ifndef SBA_MODE_CLEAN_UP
    SBA_MODE sba_mode;
#endif

    int16_t *dirac_to_spar_md_bands;


@@ -167,6 +168,7 @@ ivas_error ivas_dirac_config(
        ( (Decoder_Struct *) st_ivas )->hDirAC->hFbMdft = hFbMdft;
        dirac_to_spar_md_bands = ( (Decoder_Struct *) st_ivas )->hDirAC->dirac_to_spar_md_bands;
    }

#ifndef SBA_MODE_CLEAN_UP
    if ( sba_mode == SBA_MODE_SPAR )
#else
@@ -214,6 +216,7 @@ ivas_error ivas_dirac_config(
            hConfig->enc_param_start_band = hQMetaData->q_direction[0].cfg.start_band + spar_dirac_split_band;
        }


#ifndef SBA_MODE_CLEAN_UP
        if ( sba_mode == SBA_MODE_SPAR )
        {
@@ -243,6 +246,7 @@ ivas_error ivas_dirac_config(
        }
#endif
    }

#ifndef SBA_MODE_CLEAN_UP
    if ( sba_mode == SBA_MODE_SPAR )
#else
+1 −0
Original line number Diff line number Diff line
@@ -136,6 +136,7 @@ ivas_error ivas_fb_set_cfg(
    else if ( ivas_format == SBA_FORMAT )
    {
        pFb_cfg->fb_latency = NS2SA( sampling_rate, DELAY_FB_1_NS );

#ifndef SBA_MODE_CLEAN_UP
        if ( sba_mode == SBA_MODE_SPAR )
        {
+3 −0
Original line number Diff line number Diff line
@@ -3413,6 +3413,7 @@ void ivas_dirac_param_est_enc(
   const int16_t nchan_fb_in
 );


#ifndef SBA_MODE_CLEAN_UP
/*----------------------------------------------------------------------------------*
 * SBA format prototypes
@@ -3584,6 +3585,7 @@ void ivas_dirac_enc_close(
    DIRAC_ENC_HANDLE *hDirAC,                                   /* i/o: encoder DirAC handle                    */
    const int32_t input_Fs                                      /* i  : input sampling_rate                     */
);

#ifndef SBA_MODE_CLEAN_UP
void ivas_dirac_enc(
    DIRAC_ENC_HANDLE hDirAC,                                    /* i/o: encoder DirAC handle                    */
@@ -5730,6 +5732,7 @@ void ivas_fb_mixer_pcm_ingest(
    ,
    const int16_t HOA_md_ind[IVAS_SPAR_MAX_CH]
);

#ifndef SBA_MODE_CLEAN_UP
void ivas_dirac_enc_spar_delay_synchro(
    Encoder_Struct *st_ivas,                                    /* i/o: IVAS encoder structure                      */
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@
#endif
#include "wmc_auto.h"


#ifndef SBA_MODE_CLEAN_UP
/*-------------------------------------------------------------------*
 * ivas_sba_mode_select()
Loading