Searched refs:lagframe_idx (Results 1 – 1 of 1) sorted by relevance
2777 const int lagframe_idx = tot_frames - frame + 1; in adjust_gf_boost_lag_one_pass_vbr() local2779 for (i = 1; i < lagframe_idx; ++i) { in adjust_gf_boost_lag_one_pass_vbr()2785 (rc->avg_source_sad[lagframe_idx] > in adjust_gf_boost_lag_one_pass_vbr()2787 rc->avg_source_sad[lagframe_idx] > in adjust_gf_boost_lag_one_pass_vbr()2790 high_source_sad_lagindex = lagframe_idx; in adjust_gf_boost_lag_one_pass_vbr()2794 if (!found2 && lagframe_idx > 1 && lagframe_idx < tot_frames && in adjust_gf_boost_lag_one_pass_vbr()2795 rc->avg_source_sad[lagframe_idx - 1] > (sad_thresh1 >> 2)) { in adjust_gf_boost_lag_one_pass_vbr()2797 for (i = lagframe_idx; i < tot_frames; ++i) { in adjust_gf_boost_lag_one_pass_vbr()2801 (rc->avg_source_sad[lagframe_idx - 1] >> 1))) { in adjust_gf_boost_lag_one_pass_vbr()2806 if (found2) steady_sad_lagindex = lagframe_idx; in adjust_gf_boost_lag_one_pass_vbr()[all …]