Commit 5f1ec82f authored by vaclav's avatar vaclav
Browse files

fix

parent 78395818
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -904,7 +904,11 @@ UWord8 apa_exec_ivas_fx(
    Word16 Q_a_out;
    Word16 Q_a_out_init_old;

#ifdef FIX_APA_EXECS_SCALING
    Q_a_out = add( getScaleFactor32_copy( a_in, l_in ), Q11 - Q16 - Q1 );
#else
    Q_a_out = add( getScaleFactor32_copy( a_in, L_mult0( ps->num_channels, APA_BUF_PER_CHANNEL ) ), Q11 - Q16 - Q1 );
#endif
    Q_a_out_init_old = Q_a_out; /* store the possible scaling of a_in, to be re-used in the next frame */
    move16();
    statsResetThreshold = 1637;
+0 −4
Original line number Diff line number Diff line
@@ -3973,10 +3973,6 @@ ivas_error IVAS_DEC_GetSamplesDecoder(
                return IVAS_ERR_UNKNOWN;
            }

#ifdef FIX_APA_EXECS_SCALING
            set_zero2_fx( hIvasDec->apaExecBuffer_fx, L_mult0( APA_BUF_PER_CHANNEL, (Word16) nTransportChannels ) );
#endif

#ifdef LIB_DEC_REVISION
            ivas_syn_output_f_fx( st_ivas->p_output_fx, hIvasDec->nSamplesFrame, nTransportChannels, hIvasDec->apaExecBuffer_fx );