Commit a7f9fcc5 authored by malenov's avatar malenov
Browse files

fix initialization of st->force_dir in ISM and SCE modes

parent 0fbfb763
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1198,7 +1198,6 @@ ivas_error ivas_cpe_enc_fx(
        }
    }


    /*----------------------------------------------------------------*
     * Core Encoder
     *----------------------------------------------------------------*/
+3 −0
Original line number Diff line number Diff line
@@ -370,6 +370,9 @@ void copy_encoder_config_fx(

#ifdef DEBUGGING
    st_fx->force = st_ivas->hEncoderConfig->force;
#ifdef DEBUG_FORCE_DIR
    st_fx->force_dir = st_ivas->hEncoderConfig->force_dir;
#endif
#endif

    st_fx->element_mode = st_ivas->hEncoderConfig->element_mode_init; /* Q0 */
+3 −0
Original line number Diff line number Diff line
@@ -197,6 +197,9 @@ ivas_error ivas_ism_enc_fx(
#ifdef DEBUGGING
        st->force = st_ivas->hEncoderConfig->force;
        st->id_element = sce_id;
#ifdef DEBUG_FORCE_DIR
        st->force_dir = st_ivas->hEncoderConfig->force_dir;
#endif
#endif
        move16();
        move16();
+3 −0
Original line number Diff line number Diff line
@@ -161,6 +161,9 @@ ivas_error ivas_sce_enc_fx(
#ifdef DEBUGGING
    st->force = st_ivas->hEncoderConfig->force;
    st->id_element = sce_id;
#ifdef DEBUG_FORCE_DIR
    st->force_dir = st_ivas->hEncoderConfig->force_dir;
#endif
#endif
    move16();
    move16();