Unified · Split
| @@ -2499,7 +2499,6 @@ static void define_gf_group(VP9_COMP *cpi, int gf_start_show_idx) { · 2498 unmodified lines | |||
| 2499 | double mv_ratio_accumulator = 0.0; | 2499 | double mv_ratio_accumulator = 0.0; |
| 2500 | double zero_motion_accumulator = 1.0; | 2500 | double zero_motion_accumulator = 1.0; |
| 2501 | double loop_decay_rate = 1.00; | 2501 | double loop_decay_rate = 1.00; |
| 2502 | double last_loop_decay_rate = 1.00; | ||
| 2503 | 2502 | ||
| 2504 | double this_frame_mv_in_out = 0.0; | 2503 | double this_frame_mv_in_out = 0.0; |
| 2505 | double mv_in_out_accumulator = 0.0; | 2504 | double mv_in_out_accumulator = 0.0; |
| @@ -2621,7 +2620,7 @@ static void define_gf_group(VP9_COMP *cpi, int gf_start_show_idx) { · 115 unmodified lines | |||
| 2621 | 2620 | ||
| 2622 | // Accumulate the effect of prediction quality decay. | 2621 | // Accumulate the effect of prediction quality decay. |
| 2623 | if (!flash_detected) { | 2622 | if (!flash_detected) { |
| 2624 | last_loop_decay_rate = loop_decay_rate; | 2623 | double last_loop_decay_rate = loop_decay_rate; |
| 2625 | loop_decay_rate = get_prediction_decay_rate(frame_info, next_frame); | 2624 | loop_decay_rate = get_prediction_decay_rate(frame_info, next_frame); |
| 2626 | 2625 | ||
| 2627 | // Break clause to detect very still sections after motion. For example, | 2626 | // Break clause to detect very still sections after motion. For example, |