Home
last modified time | relevance | path

Searched refs:avg_source_sad (Results 1 – 3 of 3) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c403 for (i = 0; i < MAX_LAG_BUFFERS; ++i) rc->avg_source_sad[i] = 0; in vp9_rc_init()
2649 uint64_t reference_sad = rc->avg_source_sad[0]; in adjust_gf_boost_lag_one_pass_vbr()
2651 if (rc->avg_source_sad[i] > 0) in adjust_gf_boost_lag_one_pass_vbr()
2652 reference_sad = (3 * reference_sad + rc->avg_source_sad[i]) >> 2; in adjust_gf_boost_lag_one_pass_vbr()
2656 (rc->avg_source_sad[lagframe_idx] > in adjust_gf_boost_lag_one_pass_vbr()
2658 rc->avg_source_sad[lagframe_idx] > in adjust_gf_boost_lag_one_pass_vbr()
2666 rc->avg_source_sad[lagframe_idx - 1] > (sad_thresh1 >> 2)) { in adjust_gf_boost_lag_one_pass_vbr()
2669 if (!(rc->avg_source_sad[i] > 0 && in adjust_gf_boost_lag_one_pass_vbr()
2670 rc->avg_source_sad[i] < (sad_thresh1 >> 2) && in adjust_gf_boost_lag_one_pass_vbr()
2671 rc->avg_source_sad[i] < in adjust_gf_boost_lag_one_pass_vbr()
[all …]
Dvp9_ratectrl.h175 uint64_t avg_source_sad[MAX_LAG_BUFFERS]; member
Dvp9_encodeframe.c1182 static uint64_t avg_source_sad(VP9_COMP *cpi, MACROBLOCK *x, int shift, in avg_source_sad() function
5311 int64_t source_sad = avg_source_sad(cpi, x, shift, sb_offset2); in encode_nonrd_sb_row()