Home
last modified time | relevance | path

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

/external/libaom/libaom/av1/encoder/
Dencoder.c4248 int64_t kf_err; in recode_loop_update_q() local
4254 kf_err = aom_highbd_get_y_sse(cpi->source, &cm->cur_frame->buf); in recode_loop_update_q()
4256 kf_err = aom_get_y_sse(cpi->source, &cm->cur_frame->buf); in recode_loop_update_q()
4259 kf_err += !kf_err; in recode_loop_update_q()
4263 if ((kf_err > high_err_target && in recode_loop_update_q()
4265 (kf_err > low_err_target && in recode_loop_update_q()
4271 *q = (int)((*q * high_err_target) / kf_err); in recode_loop_update_q()
4273 } else if (kf_err < low_err_target && in recode_loop_update_q()
4280 *q = (int)((*q * low_err_target) / kf_err); in recode_loop_update_q()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c4140 int64_t kf_err; local
4147 kf_err = vpx_highbd_get_y_sse(cpi->Source, get_frame_new_buffer(cm));
4149 kf_err = vpx_get_y_sse(cpi->Source, get_frame_new_buffer(cm));
4152 kf_err = vpx_get_y_sse(cpi->Source, get_frame_new_buffer(cm));
4156 kf_err += !kf_err;
4160 if ((kf_err > high_err_target &&
4162 (kf_err > low_err_target &&
4168 q = (int)((q * high_err_target) / kf_err);
4170 } else if (kf_err < low_err_target &&
4177 q = (int)((q * low_err_target) / kf_err);
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c4041 int kf_err = vp8_calc_ss_err(cpi->Source, &cm->yv12_fb[cm->new_fb_idx]); in encode_frame_to_data_rate() local
4044 if (kf_err > ((cpi->ambient_err * 7) >> 3)) { in encode_frame_to_data_rate()
4052 else if (kf_err < (cpi->ambient_err >> 1)) { in encode_frame_to_data_rate()