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.c361 for (i = 0; i < MAX_LAG_BUFFERS; ++i) rc->avg_source_sad[i] = 0; in vp9_rc_init()
2094 uint64_t reference_sad = rc->avg_source_sad[0]; in adjust_gf_boost_lag_one_pass_vbr()
2096 if (rc->avg_source_sad[i] > 0) in adjust_gf_boost_lag_one_pass_vbr()
2097 reference_sad = (3 * reference_sad + rc->avg_source_sad[i]) >> 2; in adjust_gf_boost_lag_one_pass_vbr()
2101 (rc->avg_source_sad[lagframe_idx] > in adjust_gf_boost_lag_one_pass_vbr()
2103 rc->avg_source_sad[lagframe_idx] > in adjust_gf_boost_lag_one_pass_vbr()
2111 rc->avg_source_sad[lagframe_idx - 1] > (sad_thresh1 >> 2)) { in adjust_gf_boost_lag_one_pass_vbr()
2114 if (!(rc->avg_source_sad[i] > 0 && in adjust_gf_boost_lag_one_pass_vbr()
2115 rc->avg_source_sad[i] < (sad_thresh1 >> 2) && in adjust_gf_boost_lag_one_pass_vbr()
2116 rc->avg_source_sad[i] < in adjust_gf_boost_lag_one_pass_vbr()
[all …]
Dvp9_ratectrl.h163 uint64_t avg_source_sad[MAX_LAG_BUFFERS]; member
Dvp9_encodeframe.c992 static void avg_source_sad(VP9_COMP *cpi, MACROBLOCK *x, int shift, in avg_source_sad() function
4158 avg_source_sad(cpi, x, shift, sb_offset2); in encode_nonrd_sb_row()