Searched refs:filt_mid (Results 1 – 2 of 2) sorted by relevance
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_picklpf.c | 57 int filt_mid = clamp(lf->filter_level, min_filter_level, max_filter_level); in search_filter_level() local 58 int filter_step = filt_mid < 16 ? 4 : filt_mid / 4; in search_filter_level() 68 best_err = try_filter_frame(sd, cpi, filt_mid, partial_frame); in search_filter_level() 69 filt_best = filt_mid; in search_filter_level() 70 ss_err[filt_mid] = best_err; in search_filter_level() 73 const int filt_high = MIN(filt_mid + filter_step, max_filter_level); in search_filter_level() 74 const int filt_low = MAX(filt_mid - filter_step, min_filter_level); in search_filter_level() 78 int bias = (best_err >> (15 - (filt_mid / 8))) * filter_step; in search_filter_level() 87 if (filt_direction <= 0 && filt_low != filt_mid) { in search_filter_level() 107 if (filt_direction >= 0 && filt_high != filt_mid) { in search_filter_level() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | picklpf.c | 278 int filt_mid = cm->filter_level; in vp8cx_pick_filter_level() local 303 filt_mid = cm->filter_level; in vp8cx_pick_filter_level() 305 if (filt_mid < min_filter_level) in vp8cx_pick_filter_level() 306 filt_mid = min_filter_level; in vp8cx_pick_filter_level() 307 else if (filt_mid > max_filter_level) in vp8cx_pick_filter_level() 308 filt_mid = max_filter_level; in vp8cx_pick_filter_level() 311 filter_step = (filt_mid < 16) ? 4 : filt_mid / 4; in vp8cx_pick_filter_level() 318 vp8cx_set_alt_lf_level(cpi, filt_mid); in vp8cx_pick_filter_level() 319 vp8_loop_filter_frame_yonly(cm, &cpi->mb.e_mbd, filt_mid); in vp8cx_pick_filter_level() 323 ss_err[filt_mid] = best_err; in vp8cx_pick_filter_level() [all …]
|