vp9/encoder/vp9_pickmode.c
// Adjust the ac_thr according to speed, width, height and normalized sum
Adjust the ac_thr according to speed, width, height and normalized sum
Adjust the ac_thr according to speed width height and normalized sum
static int ac_thr_factor(const int speed, const int width, const int height,
                         const int norm_sum) {
  if (speed >= 8 && norm_sum < 5) {
    if (width <= 640 && height <= 480)
      return 4;
    else
      return 2;
  }
  return 1;
}
static int ac_thr_factor ( const int speed , const int width , const int height , const int norm_sum ) { if ( speed >= 8 && norm_sum < 5 ) { if ( width <= 640 && height <= 480 ) return 4 ; else return 2 ; } return 1 ; }
Adjust the ac_thr according to speed, width, height and normalized sum
Adjust the ac_thr according to speed width height and normalized sum