Searched refs:filt_mid (Results 1 – 3 of 3) sorted by relevance
/external/libvpx/vp8/encoder/ |
D | picklpf.c | 267 int filt_mid; in vp8cx_pick_filter_level() local 293 filt_mid = cm->filter_level; in vp8cx_pick_filter_level() 295 if (filt_mid < min_filter_level) { in vp8cx_pick_filter_level() 296 filt_mid = min_filter_level; in vp8cx_pick_filter_level() 297 } else if (filt_mid > max_filter_level) { in vp8cx_pick_filter_level() 298 filt_mid = max_filter_level; in vp8cx_pick_filter_level() 302 filter_step = (filt_mid < 16) ? 4 : filt_mid / 4; in vp8cx_pick_filter_level() 309 vp8cx_set_alt_lf_level(cpi, filt_mid); in vp8cx_pick_filter_level() 310 vp8_loop_filter_frame_yonly(cm, &cpi->mb.e_mbd, filt_mid); in vp8cx_pick_filter_level() 314 ss_err[filt_mid] = best_err; in vp8cx_pick_filter_level() [all …]
|
/external/libvpx/vp9/encoder/ |
D | vp9_picklpf.c | 90 int filt_mid = clamp(lf->last_filt_level, min_filter_level, max_filter_level); in search_filter_level() local 91 int filter_step = filt_mid < 16 ? 4 : filt_mid / 4; in search_filter_level() 102 best_err = try_filter_frame(sd, cpi, filt_mid, partial_frame); in search_filter_level() 103 filt_best = filt_mid; in search_filter_level() 104 ss_err[filt_mid] = best_err; in search_filter_level() 107 const int filt_high = VPXMIN(filt_mid + filter_step, max_filter_level); in search_filter_level() 108 const int filt_low = VPXMAX(filt_mid - filter_step, min_filter_level); in search_filter_level() 111 int64_t bias = (best_err >> (15 - (filt_mid / 8))) * filter_step; in search_filter_level() 119 if (filt_direction <= 0 && filt_low != filt_mid) { in search_filter_level() 135 if (filt_direction >= 0 && filt_high != filt_mid) { in search_filter_level() [all …]
|
/external/libaom/av1/encoder/ |
D | picklpf.c | 118 int filt_mid = clamp(lvl, min_filter_level, max_filter_level); in search_filter_level() local 119 int filter_step = filt_mid < 16 ? 4 : filt_mid / 4; in search_filter_level() 133 best_err = try_filter_frame(sd, cpi, filt_mid, partial_frame, plane, dir); in search_filter_level() 134 filt_best = filt_mid; in search_filter_level() 135 ss_err[filt_mid] = best_err; in search_filter_level() 138 const int filt_high = AOMMIN(filt_mid + filter_step, max_filter_level); in search_filter_level() 139 const int filt_low = AOMMAX(filt_mid - filter_step, min_filter_level); in search_filter_level() 142 int64_t bias = (best_err >> (15 - (filt_mid / 8))) * filter_step; in search_filter_level() 151 if (filt_direction <= 0 && filt_low != filt_mid) { in search_filter_level() 169 if (filt_direction >= 0 && filt_high != filt_mid) { in search_filter_level() [all …]
|