Searched refs:norm_sq (Results 1 – 1 of 1) sorted by relevance
420 const float norm_sq = (dx * dx + dy * dy); in generateKernel() local421 if (norm_sq > dMin_sq) in generateKernel()425 longPair.weighted_dx = int((dx / (norm_sq)) * 2048.0 + 0.5); in generateKernel()426 longPair.weighted_dy = int((dy / (norm_sq)) * 2048.0 + 0.5); in generateKernel()431 else if (norm_sq < dMax_sq) in generateKernel()