Loading lib_com/ivas_limiter_fx.c +10 −5 Original line number Diff line number Diff line Loading @@ -356,27 +356,32 @@ void limiter_process_fx( * in a short span of time. */ #ifdef FIX_2089_NONBE_LIMITER_CONSTS IF( EQ_32( L_msu( hLimiter->sampling_rate, output_frame, 25 ), 0 ) ) IF( EQ_32( L_mult0( output_frame, 50 ), hLimiter->sampling_rate ) ) { releaseHeuristic_cnst = RELEASE_CNST_20MS; move32(); releaseHeuristic_cnst_2 = RELEASE_CNST_2_20MS_5MS; releaseHeuristic_cnst_2 = RELEASE_CNST_2_20MS; move32(); } ELSE IF( EQ_32( L_msu( hLimiter->sampling_rate, output_frame, 50 ), 0 ) ) ELSE IF( EQ_32( L_mult0( output_frame, 100 ), hLimiter->sampling_rate ) ) { releaseHeuristic_cnst = RELEASE_CNST_10MS; move32(); releaseHeuristic_cnst_2 = RELEASE_CNST_2_10MS; move32(); } ELSE ELSE IF( EQ_32( L_mult0( output_frame, 200 ), hLimiter->sampling_rate ) ) { releaseHeuristic_cnst = RELEASE_CNST_2_20MS_5MS; releaseHeuristic_cnst = RELEASE_CNST_5MS; move32(); releaseHeuristic_cnst_2 = RELEASE_CNST_2_5MS; move32(); } ELSE { assert( 0 && "Unreachable: unsupported frame size" ); } #else SWITCH( output_frame ) { Loading Loading
lib_com/ivas_limiter_fx.c +10 −5 Original line number Diff line number Diff line Loading @@ -356,27 +356,32 @@ void limiter_process_fx( * in a short span of time. */ #ifdef FIX_2089_NONBE_LIMITER_CONSTS IF( EQ_32( L_msu( hLimiter->sampling_rate, output_frame, 25 ), 0 ) ) IF( EQ_32( L_mult0( output_frame, 50 ), hLimiter->sampling_rate ) ) { releaseHeuristic_cnst = RELEASE_CNST_20MS; move32(); releaseHeuristic_cnst_2 = RELEASE_CNST_2_20MS_5MS; releaseHeuristic_cnst_2 = RELEASE_CNST_2_20MS; move32(); } ELSE IF( EQ_32( L_msu( hLimiter->sampling_rate, output_frame, 50 ), 0 ) ) ELSE IF( EQ_32( L_mult0( output_frame, 100 ), hLimiter->sampling_rate ) ) { releaseHeuristic_cnst = RELEASE_CNST_10MS; move32(); releaseHeuristic_cnst_2 = RELEASE_CNST_2_10MS; move32(); } ELSE ELSE IF( EQ_32( L_mult0( output_frame, 200 ), hLimiter->sampling_rate ) ) { releaseHeuristic_cnst = RELEASE_CNST_2_20MS_5MS; releaseHeuristic_cnst = RELEASE_CNST_5MS; move32(); releaseHeuristic_cnst_2 = RELEASE_CNST_2_5MS; move32(); } ELSE { assert( 0 && "Unreachable: unsupported frame size" ); } #else SWITCH( output_frame ) { Loading