Design of a low-power VLSI macrocell for nonlinear adaptive video noise reduction