Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dpicklpf.c134 int best_err = 0; in vp8cx_pick_filter_level_fast() local
174 best_err = calc_partial_ssl_err(sd, cm->frame_to_show); in vp8cx_pick_filter_level_fast()
188 if (filt_err < best_err) { in vp8cx_pick_filter_level_fast()
189 best_err = filt_err; in vp8cx_pick_filter_level_fast()
204 best_err -= (best_err >> 10); in vp8cx_pick_filter_level_fast()
216 if (filt_err < best_err) { in vp8cx_pick_filter_level_fast()
220 best_err = filt_err - (filt_err >> 10); in vp8cx_pick_filter_level_fast()
260 int best_err = 0; in vp8cx_pick_filter_level() local
312 best_err = vp8_calc_ss_err(sd, cm->frame_to_show); in vp8cx_pick_filter_level()
314 ss_err[filt_mid] = best_err; in vp8cx_pick_filter_level()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_picklpf.c85 int64_t best_err; in search_filter_level() local
102 best_err = try_filter_frame(sd, cpi, filt_mid, partial_frame); in search_filter_level()
104 ss_err[filt_mid] = best_err; in search_filter_level()
111 int64_t bias = (best_err >> (15 - (filt_mid / 8))) * filter_step; in search_filter_level()
126 if ((ss_err[filt_low] - bias) < best_err) { in search_filter_level()
128 if (ss_err[filt_low] < best_err) best_err = ss_err[filt_low]; in search_filter_level()
140 if (ss_err[filt_high] < (best_err - bias)) { in search_filter_level()
141 best_err = ss_err[filt_high]; in search_filter_level()
Dvp9_mbgraph.c133 unsigned int best_err = INT_MAX; in find_best_16x16_intra() local
148 if (err < best_err) { in find_best_16x16_intra()
149 best_err = err; in find_best_16x16_intra()
156 return best_err; in find_best_16x16_intra()
/external/libaom/libaom/av1/encoder/
Dpicklpf.c103 int64_t best_err; in search_filter_level() local
134 best_err = try_filter_frame(sd, cpi, filt_mid, partial_frame, plane, dir); in search_filter_level()
136 ss_err[filt_mid] = best_err; in search_filter_level()
143 int64_t bias = (best_err >> (15 - (filt_mid / 8))) * filter_step; in search_filter_level()
160 if (ss_err[filt_low] < (best_err + bias)) { in search_filter_level()
162 if (ss_err[filt_low] < best_err) { in search_filter_level()
163 best_err = ss_err[filt_low]; in search_filter_level()
177 if (ss_err[filt_high] < (best_err - bias)) { in search_filter_level()
178 best_err = ss_err[filt_high]; in search_filter_level()
194 best_err = ss_err[filt_best]; in search_filter_level()
[all …]