Searched refs:filt_mid (Results 1 - 2 of 2) sorted by relevance
/external/libvpx/libvpx/vp8/encoder/ |
H A D | picklpf.c | 267 int filt_mid; local 293 filt_mid = cm->filter_level; 295 if (filt_mid < min_filter_level) { 296 filt_mid = min_filter_level; 297 } else if (filt_mid > max_filter_level) { 298 filt_mid = max_filter_level; 302 filter_step = (filt_mid < 16) ? 4 : filt_mid / 4; 309 vp8cx_set_alt_lf_level(cpi, filt_mid); 310 vp8_loop_filter_frame_yonly(cm, &cpi->mb.e_mbd, filt_mid); [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_picklpf.c | 80 int filt_mid = clamp(lf->last_filt_level, min_filter_level, max_filter_level); local 81 int filter_step = filt_mid < 16 ? 4 : filt_mid / 4; 91 best_err = try_filter_frame(sd, cpi, filt_mid, partial_frame); 92 filt_best = filt_mid; 93 ss_err[filt_mid] = best_err; 96 const int filt_high = VPXMIN(filt_mid + filter_step, max_filter_level); 97 const int filt_low = VPXMAX(filt_mid - filter_step, min_filter_level); 100 int64_t bias = (best_err >> (15 - (filt_mid / 8))) * filter_step; 108 if (filt_direction <= 0 && filt_low != filt_mid) { [all...] |
Completed in 350 milliseconds