A device including a two-dimensional convolution unit to perform spatial
image filtering. A reference frame mirroring unit is connected to the
two-dimensional convolution unit. A mean square error (MSE) decision unit
is connected to the two-dimensional convolution unit to perform motion
estimation by selecting the displacement that minimizes MSE.