Lines Matching refs:this_error
650 int this_error; in vp9_first_pass() local
679 this_error = vpx_get_mb_ss(x->plane[0].src_diff); in vp9_first_pass()
686 if (this_error < UL_INTRA_THRESH) { in vp9_first_pass()
698 this_error >>= 4; in vp9_first_pass()
701 this_error >>= 8; in vp9_first_pass()
712 log_intra = log(this_error + 1.0); in vp9_first_pass()
738 this_error += intrapenalty; in vp9_first_pass()
741 intra_error += (int64_t)this_error; in vp9_first_pass()
839 if (gf_motion_error < motion_error && gf_motion_error < this_error) in vp9_first_pass()
851 if (gf_motion_error < this_error) in vp9_first_pass()
854 sr_coded_error += this_error; in vp9_first_pass()
872 if (this_error > FPMB_ERROR_LARGE_TH) { in vp9_first_pass()
874 } else if (this_error < FPMB_ERROR_SMALL_TH) { in vp9_first_pass()
880 if (motion_error <= this_error) { in vp9_first_pass()
886 if (((this_error - intrapenalty) * 9 <= motion_error * 10) && in vp9_first_pass()
887 (this_error < (2 * intrapenalty))) { in vp9_first_pass()
891 } else if ((this_error > NCOUNT_INTRA_THRESH) && in vp9_first_pass()
892 (this_error < (NCOUNT_INTRA_FACTOR * motion_error))) { in vp9_first_pass()
894 DOUBLE_DIVIDE_CHECK((double)this_error); in vp9_first_pass()
899 this_error = motion_error; in vp9_first_pass()
923 if (this_error > FPMB_ERROR_LARGE_TH) { in vp9_first_pass()
926 } else if (this_error < FPMB_ERROR_SMALL_TH) { in vp9_first_pass()
996 sr_coded_error += (int64_t)this_error; in vp9_first_pass()
998 coded_error += (int64_t)this_error; in vp9_first_pass()