Commit 48651688 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix encapsulation

parent 39ad4a8f
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -966,6 +966,7 @@ void computeDiffuseness_fixed(
        }
    }
    min_q_shift2 = sub( min_q_shift2, find_guarded_bits_fx( DIRAC_NO_COL_AVG_DIFF ) );

#ifdef FIX_867
    set16_fx( q_ene, Q31 - find_guarded_bits_fx( DIRAC_NO_COL_AVG_DIFF ), num_freq_bands );
#else
+0 −1
Original line number Diff line number Diff line
@@ -84,7 +84,6 @@
#define SIMPLIFY_CODE_BE   // Simplify synthesis loop
#define CR_2109_to_2112_cd0_ce0  /* This is related to the CRs include in the 26.444 package of 21-12. Concerns lead_deindexing and  */
#define FIX_QMETADATA_PENALTY /* Nokia: transform penalty calculation in qmetadata into integer operations */

#define FIX_1013_CRASH_HQ_CORE_DEC /* Ittiam: Saturation added on the lines of EVS */
#define NONE_BE_FIX_BASOP_1044_OSBA_PRERENDER_MIX_GAINS /* DLB: adjust prerendering and mixing gain in OSBA encoder. This is fix to float codes*/
#define NONBE_1233_HQ_CLASSIFIER_DIV_BY_ZERO            /* Eri: issue 1233: Address possible division by zero in hf_spectrum_sparseness() */
+4 −0
Original line number Diff line number Diff line
@@ -2754,7 +2754,11 @@ void ivas_dirac_dec_output_synthesis_process_subframe_psd_ls_fx(
            g1 = alpha[l]; // Q31
            move32();
            g2 = L_sub( ONE_IN_Q31, g1 );                                                          // Q31
#ifdef FIX_867
            *p_power_smooth_prev = L_add( 3*EPSILON_FX, Mpy_32_32( g2, ( *p_power_smooth_prev ) ) ); //(Q31, q_proto_power_smooth) -> q_proto_power_smooth
#else
            *p_power_smooth_prev = L_add( EPSILON_FX, Mpy_32_32( g2, ( *p_power_smooth_prev ) ) ); //(Q31, q_proto_power_smooth) -> q_proto_power_smooth
#endif
            move32();
            *( p_power_smooth_prev ) = L_add( *( p_power_smooth_prev ), Mpy_32_32( g1, ( *p_power_smooth ) ) ); //(Q31, q_proto_power_smooth) -> q_proto_power_smooth
            move32();