Commit d77a366c authored by vaclav's avatar vaclav
Browse files

formatting

parent 45c07704
Loading
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -220,7 +220,6 @@ ivas_error evs_dec(
        }
    }


    if ( st->codec_mode == MODE1 )
    {
        /*------------------------------------------------------------------*
@@ -252,7 +251,6 @@ ivas_error evs_dec(
            return error;
        }


        /*---------------------------------------------------------------------*
         * ACELP core decoding
         * HQ core decoding
+0 −5
Original line number Diff line number Diff line
@@ -186,7 +186,6 @@ ivas_error init_decoder(

    st->old_bfi_cnt = 0;


    /*-----------------------------------------------------------------*
     * parameters for AC mode (GSC)
     *-----------------------------------------------------------------*/
@@ -247,7 +246,6 @@ ivas_error init_decoder(
        st->hPFstat = NULL;
    }


    /*-----------------------------------------------------------------*
     * HF (6-7kHz) (zero) BWE parameters
     *-----------------------------------------------------------------*/
@@ -356,7 +354,6 @@ ivas_error init_decoder(
        st->hHQ_nbfec = NULL;
    }


    /*-----------------------------------------------------------------*
     * TBE parameters
     *-----------------------------------------------------------------*/
@@ -719,9 +716,7 @@ ivas_error init_decoder(
    }

    st->cngTDLevel = 0.f;

    st->lp_noise = -20.0f;

    st->force_lpd_reset = 0;

    /*-----------------------------------------------------------------*
+1 −4
Original line number Diff line number Diff line
@@ -1064,7 +1064,6 @@ typedef struct Decoder_State

    AMRWB_IO_DEC_HANDLE hAmrwb_IO;


    /*----------------------------------------------------------------------------------*
     * SC-VBR parameters
     *----------------------------------------------------------------------------------*/
@@ -1159,7 +1158,6 @@ typedef struct Decoder_State

    FD_BWE_DEC_HANDLE hBWE_FD;


    /*----------------------------------------------------------------------------------*
     * LD music post-filter
     *----------------------------------------------------------------------------------*/
@@ -1177,7 +1175,6 @@ typedef struct Decoder_State

    TCX_DEC_HANDLE hTcxDec;


    /*----------------------------------------------------------------------------------*
     * Mode 2
     *----------------------------------------------------------------------------------*/
@@ -1336,7 +1333,7 @@ typedef struct Decoder_State
    TEC_DEC_HANDLE hTECDec;

    /*----------------------------------------------------------------------------------*
     * Stereo/IVAS parameters
     * IVAS parameters
     *----------------------------------------------------------------------------------*/

    int16_t tdm_LRTD_flag;  /* LRTD stereo mode flag */
+1 −0
Original line number Diff line number Diff line
@@ -873,6 +873,7 @@ ivas_error init_encoder(
    /*-----------------------------------------------------------------*
     * Transient detector
     *-----------------------------------------------------------------*/

    if ( ( st->hTranDet = (TRAN_DET_HANDLE) malloc( sizeof( TRAN_DET_DATA ) ) ) == NULL )
    {
        return ( IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for Transient Detection\n" ) );
+3 −5
Original line number Diff line number Diff line
@@ -1108,6 +1108,8 @@ typedef struct tcx_enc_structure
    int16_t tns_ms_flag[2];

} TCX_ENC_DATA, *TCX_ENC_HANDLE;


/*----------------------------------------------------------------------------------*
 *
 * Main Core encoder structure
@@ -1272,7 +1274,6 @@ typedef struct enc_core_structure

    int16_t tdm_pc; /* pitch stability - used in TD stereo */


    /*----------------------------------------------------------------------------------*
     * General signal buffers
     *----------------------------------------------------------------------------------*/
@@ -1358,7 +1359,6 @@ typedef struct enc_core_structure

    SC_VBR_ENC_HANDLE hSC_VBR;


    /*----------------------------------------------------------------------------------*
     * HQ core parameters
     *----------------------------------------------------------------------------------*/
@@ -1450,7 +1450,6 @@ typedef struct enc_core_structure
    float *wspeech_enc;
    float *synth;


    int16_t enableTcxLpc; /* global toggle for the TCX LPC quantizer */
    int16_t envWeighted;  /* are is{p,f}_old_q[] weighted or not? */

@@ -1537,9 +1536,8 @@ typedef struct enc_core_structure
    int16_t tfa_flag;
    float tfa_enr[N_TEC_TFA_SUBFR];


    /*---------------------------------------------------------------*
     * Stereo/IVAS parameters
     * IVAS parameters
     *---------------------------------------------------------------*/

    int16_t tdm_LRTD_flag; /* LRTD stereo mode flag */