<div dir="ltr">Since there is a lower limit for sigma it is better to try to force it. 0.01 was chosen for SIGMA_MIN since it is the smallest value for usage that I have seen  and 4096.0 for SIGMA_MAX is just large value I selected (and sigma that large isn't really useful for video filtering, but someone might have some user cases).<div><br></div><div>Second patch just changes for loops to be more C99</div><div><br></div><div><br></div></div>