Searched refs:window_radius (Results 1 – 2 of 2) sorted by relevance
136 inline void CalculateG(const int window_radius, const float center_x, in CalculateG() argument143 SCHECK(window_radius <= kMaxWindowRadius, in CalculateG()144 "Window %d > %d!", window_radius, kMaxWindowRadius); in CalculateG()154 const int src_left_fixed = RealToFixed1616(center_x - window_radius); in CalculateG()155 const int src_top_fixed = RealToFixed1616(center_y - window_radius); in CalculateG()160 const int window_size = 2 * window_radius + 1; in CalculateG()
447 static const int window_radius = 2; in DownsampleSmoothed5x5() local448 static const int window_size = window_radius*2 + 1; in DownsampleSmoothed5x5()462 const int start_x = Clip((x << 1) - window_radius, ZERO, max_x); in DownsampleSmoothed5x5()467 Clip((y << 1) - window_radius + window_y, ZERO, max_y); in DownsampleSmoothed5x5()