Home
last modified time | relevance | path

Searched refs:this_error (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c530 int this_error; in vp9_first_pass() local
562 this_error = vp9_get_mb_ss(x->plane[0].src_diff); in vp9_first_pass()
566 this_error = (int)(this_error * error_weight); in vp9_first_pass()
576 this_error += intrapenalty; in vp9_first_pass()
579 intra_error += (int64_t)this_error; in vp9_first_pass()
658 if (gf_motion_error < motion_error && gf_motion_error < this_error) in vp9_first_pass()
670 if (gf_motion_error < this_error) in vp9_first_pass()
673 sr_coded_error += this_error; in vp9_first_pass()
690 if (this_error > FPMB_ERROR_LARGE_TH) { in vp9_first_pass()
692 } else if (this_error < FPMB_ERROR_SMALL_TH) { in vp9_first_pass()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c600 int this_error; in vp8_first_pass() local
613 this_error = vp8_encode_intra(cpi, x, use_dc_pred); in vp8_first_pass()
624 this_error += intrapenalty; in vp8_first_pass()
627 intra_error += (int64_t)this_error; in vp8_first_pass()
685 if ((gf_motion_error < motion_error) && (gf_motion_error < this_error)) in vp8_first_pass()
700 if (motion_error <= this_error) in vp8_first_pass()
707 if( (((this_error-intrapenalty) * 9) <= in vp8_first_pass()
709 (this_error < (2*intrapenalty)) ) in vp8_first_pass()
716 this_error = motion_error; in vp8_first_pass()
774 coded_error += (int64_t)this_error; in vp8_first_pass()