Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c2875 uint64_t avg_sad = 0; in vp9_scene_detection_onepass() local
2896 avg_sad += tmp_sad; in vp9_scene_detection_onepass()
2906 if (num_samples > 0) avg_sad = avg_sad / num_samples; in vp9_scene_detection_onepass()
2912 if (avg_sad > in vp9_scene_detection_onepass()
2920 if (rc->high_source_sad && avg_sad > thresh_key) in vp9_scene_detection_onepass()
2922 if (avg_sad > 0 || cpi->oxcf.rc_mode == VPX_CBR) in vp9_scene_detection_onepass()
2923 rc->avg_source_sad[0] = (3 * rc->avg_source_sad[0] + avg_sad) >> 2; in vp9_scene_detection_onepass()
2925 rc->avg_source_sad[lagframe_idx] = avg_sad; in vp9_scene_detection_onepass()