Commit 78395818 authored by vaclav's avatar vaclav
Browse files

FIX_APA_EXECS_SCALING

parent 92dda2de
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -79,6 +79,8 @@
#define FIX_2092_ASSERT_IN_OMASA_RENDER                      /* FhG, Nokia: Fix LTV crash due to overflow in OMASA EXT output */
#define FIX_2084_FLOATING_POINT_LEFTOVERS                    /* FhG: convert floating-point leftovers in IVAS_ENC_FeedObjectMetadata() */
#define FIX_2141_ASSERT_IN_OMASA_BITRATE_SWITSCHING          /* FhG: Replace L_shl with L_shl_sat to prevent overflow when calculating scale factors for very small numbers in the logarithmic domain */
#define FIX_APA_EXECS_SCALING                                /* VA: fix scaling of JBM APA buffer */

/* ################### End FIXES switches ########################### */

/* #################### Start BASOP porting switches ############################ */
+4 −0
Original line number Diff line number Diff line
@@ -3973,6 +3973,10 @@ 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 );