Searched refs:local_next_frame (Results 1 – 2 of 2) sorted by relevance
2466 FIRSTPASS_STATS local_next_frame; in test_candidate_kf() local2473 memcpy(&local_next_frame, next_frame, sizeof(*next_frame)); in test_candidate_kf()2480 next_iiratio = (IIKFACTOR1 * local_next_frame.intra_error / in test_candidate_kf()2481 DOUBLE_DIVIDE_CHECK(local_next_frame.coded_error)); in test_candidate_kf()2486 if (local_next_frame.pcnt_inter > 0.85) { in test_candidate_kf()2487 decay_accumulator = decay_accumulator * local_next_frame.pcnt_inter; in test_candidate_kf()2490 decay_accumulator * ((0.85 + local_next_frame.pcnt_inter) / 2.0); in test_candidate_kf()2497 if ((local_next_frame.pcnt_inter < 0.05) || (next_iiratio < 1.5) || in test_candidate_kf()2498 (((local_next_frame.pcnt_inter - local_next_frame.pcnt_neutral) < in test_candidate_kf()2502 (local_next_frame.intra_error < 200)) { in test_candidate_kf()[all …]
2690 FIRSTPASS_STATS local_next_frame = *next_frame; in test_candidate_kf() local2697 double next_iiratio = (II_FACTOR * local_next_frame.intra_error / in test_candidate_kf()2698 DOUBLE_DIVIDE_CHECK(local_next_frame.coded_error)); in test_candidate_kf()2703 if (local_next_frame.pcnt_inter > 0.85) in test_candidate_kf()2704 decay_accumulator *= local_next_frame.pcnt_inter; in test_candidate_kf()2706 decay_accumulator *= (0.85 + local_next_frame.pcnt_inter) / 2.0; in test_candidate_kf()2712 if ((local_next_frame.pcnt_inter < 0.05) || (next_iiratio < 1.5) || in test_candidate_kf()2713 (((local_next_frame.pcnt_inter - local_next_frame.pcnt_neutral) < in test_candidate_kf()2717 (local_next_frame.intra_error < V_LOW_INTRA)) { in test_candidate_kf()2724 if (EOF == input_stats(twopass, &local_next_frame)) break; in test_candidate_kf()