Searched refs:avg_source_sad (Results 1 – 3 of 3) sorted by relevance
404 for (i = 0; i < MAX_LAG_BUFFERS; ++i) rc->avg_source_sad[i] = 0; in vp9_rc_init()2778 uint64_t reference_sad = rc->avg_source_sad[0]; in adjust_gf_boost_lag_one_pass_vbr()2780 if (rc->avg_source_sad[i] > 0) in adjust_gf_boost_lag_one_pass_vbr()2781 reference_sad = (3 * reference_sad + rc->avg_source_sad[i]) >> 2; 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()2795 rc->avg_source_sad[lagframe_idx - 1] > (sad_thresh1 >> 2)) { in adjust_gf_boost_lag_one_pass_vbr()2798 if (!(rc->avg_source_sad[i] > 0 && in adjust_gf_boost_lag_one_pass_vbr()2799 rc->avg_source_sad[i] < (sad_thresh1 >> 2) && in adjust_gf_boost_lag_one_pass_vbr()2800 rc->avg_source_sad[i] < in adjust_gf_boost_lag_one_pass_vbr()[all …]
175 uint64_t avg_source_sad[MAX_LAG_BUFFERS]; member
1241 static uint64_t avg_source_sad(VP9_COMP *cpi, MACROBLOCK *x, int shift, in avg_source_sad() function5496 int64_t source_sad = avg_source_sad(cpi, x, shift, sb_offset2); in encode_nonrd_sb_row()