History

Localize last_loop_decay_rate

angiebird committed 7 years ago

Commit 9d377ff1 parent 1ef50d61 file · +1 −2Browse files

Unified · Split

vp9/encoder/vp9_firstpass.c+1−2
@@ -2499,7 +2499,6 @@ static void define_gf_group(VP9_COMP *cpi, int gf_start_show_idx) { · 2498 unmodified lines
24992499 double mv_ratio_accumulator = 0.0;
25002500 double zero_motion_accumulator = 1.0;
25012501 double loop_decay_rate = 1.00;
2502− double last_loop_decay_rate = 1.00;
25032502
25042503 double this_frame_mv_in_out = 0.0;
25052504 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
26212620
26222621 // Accumulate the effect of prediction quality decay.
26232622 if (!flash_detected) {
2624− last_loop_decay_rate = loop_decay_rate;
2623+ double last_loop_decay_rate = loop_decay_rate;
26252624 loop_decay_rate = get_prediction_decay_rate(frame_info, next_frame);
26262625
26272626 // Break clause to detect very still sections after motion. For example,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t