Commit b5f700be authored by vaclav's avatar vaclav
Browse files

REMOVE_CAM_FROM_IVAS

parent 294fc33b
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -112,6 +112,7 @@
#define FIX_1872_REMOVE_UNUSED_PSNOISEGEN_ISAR              /* Dolby: Remove unused psNoiseGen from ISAR */
#define FIX_1478_UNINIT_ON_BFI                          /* VA: Fix issue 1478 where a vector is partly un-initialized during bfi */
#define FIX_1487_ACCESS_OF_UNINIT_VAL_FROM_ARR_ISM_DTX  /* FhG/VA: init nb_bits_metadata to zero */
#define REMOVE_CAM_FROM_IVAS                            /* VA: basop issue 210: remove obsoelte CAM code from IVAS */

/* #################### End BE switches ################################## */

+4 −1
Original line number Diff line number Diff line
@@ -752,13 +752,15 @@ void signalling_enc_fx(
}

/*---------------------------------------------------------------------*
 * signalling_enc_rf()
 * signaling_enc_rf()
 *
 * write channel-aware signalling information into the bitstream
 *---------------------------------------------------------------------*/

void signaling_enc_rf_fx(
    Encoder_State *st /* i  : encoder state structure   */
)
#ifndef REMOVE_CAM_FROM_IVAS
{
    Word16 i;
    Word16 sfr;
@@ -833,6 +835,7 @@ void signaling_enc_rf_fx(
void signalling_enc_rf_fx(
    Encoder_State *st /* i  : encoder state structure   */
)
#endif
{
    Word16 i;
    Word16 sfr;
+5 −2
Original line number Diff line number Diff line
@@ -93,13 +93,14 @@ static void enc_prm_hm_ivas_fx(
    }
}


/*-----------------------------------------------------------------*
 * Function  enc_prm_rf_fx()                                       *
 * ~~~~~~~~~~~~~~~~~~~~~~                                          *
 *                                                                 *
 * encode RF parameters for ACELP and TCX partial copy             *
 *-----------------------------------------------------------------*/

#ifndef REMOVE_CAM_FROM_IVAS
void enc_prm_rf_ivas_fx(
    Encoder_State *st,
    const Word16 rf_frame_type, /* Q0 */
@@ -271,6 +272,8 @@ void enc_prm_rf_ivas_fx(
    /* write RF frame type last in the bitstream */
    push_next_indice( hBstr, rf_frame_type, 3 );
}
#endif

void enc_prm_rf_fx(
    Encoder_State *st,
    const Word16 rf_frame_type, /* Q0 */
+8 −0
Original line number Diff line number Diff line
@@ -531,7 +531,15 @@ ivas_error evs_enc_fx(
     * Channel-aware mode - write signaling information into the bitstream
     *---------------------------------------------------------------------*/

#ifdef REMOVE_CAM_FROM_IVAS
    signaling_enc_rf_fx( st );

    /*---------------------------------------------------------------------*
     * Updates
     *---------------------------------------------------------------------*/
#else
    signalling_enc_rf_fx( st );
#endif

    updt_enc_common_fx( st, Etot, Q_new );

+2 −1
Original line number Diff line number Diff line
@@ -827,12 +827,13 @@ ivas_error ivas_core_enc_fx(
        st->q_inp = q_inp[1];
        move16();

#ifndef REMOVE_CAM_FROM_IVAS
        /*---------------------------------------------------------------------*
         * Channel-aware mode - write signaling information into the bitstream
         *---------------------------------------------------------------------*/

        signaling_enc_rf_fx( st );

#endif
        /*---------------------------------------------------------------------*
         * Common updates
         *---------------------------------------------------------------------*/
Loading