Loading lib_rend/ivas_dirac_rend_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -2820,7 +2820,7 @@ void protoSignalComputation2_fx( ELSE { /* Add EPSILON in proper Q */ Word32 eps_fx = L_shr( 0x40000000, sub( 80, stereo_type_detect->q_total_hi_power ) ); /* EPSILON in Q(q_total_hi_power) */ Word32 eps_fx = L_max( L_shr( 0x40000000, sub( 80, stereo_type_detect->q_total_hi_power ) ), 1 ); /* EPSILON in Q(q_total_hi_power), min 1 to avoid div by zero */ denom_fx = L_add_sat( stereo_type_detect->total_hi_power_fx, eps_fx ); q_denom = stereo_type_detect->q_total_hi_power; } Loading Loading
lib_rend/ivas_dirac_rend_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -2820,7 +2820,7 @@ void protoSignalComputation2_fx( ELSE { /* Add EPSILON in proper Q */ Word32 eps_fx = L_shr( 0x40000000, sub( 80, stereo_type_detect->q_total_hi_power ) ); /* EPSILON in Q(q_total_hi_power) */ Word32 eps_fx = L_max( L_shr( 0x40000000, sub( 80, stereo_type_detect->q_total_hi_power ) ), 1 ); /* EPSILON in Q(q_total_hi_power), min 1 to avoid div by zero */ denom_fx = L_add_sat( stereo_type_detect->total_hi_power_fx, eps_fx ); q_denom = stereo_type_detect->q_total_hi_power; } Loading