edges to determine the motion value of course the choice of the precise size of the two windows is left to the skilled artisan with one window having multiple lines and a multiple pixel width while the other window is vertically narrower to avoid noise and horizontal line artifacts the results of 3 u00d7 5 window mad and 1 u00d7 5 window mad are blended based on the difference between the top mid lines and mid bottom lines in the next and previous fields topbot_thresh signifies the difference between pixel values that can represent different objects in a picture to make the 1 u00d7 5 window mad value comparable to the 3 u00d7 5 window mad the 1 u00d7 5 mad the sums of absolute differences for the detector and window e g sad 02 _win1 u00d7 5 and sad 02 _win3 u00d7 5 for frame 02 must be multiplied by 3 before being divided by 16 so they can be blended as follows this blending operation is done on all frame motion detectors in the deinterlacer i e including frame 04 in the new design a 16 step blending value is used mad value is normalized as follows where mad_core_thresh and mad_core_normalize are programmable registers and mad_curr_cored is made.