Gaussian blur question

I had few questions on the code for inpaint.

  1. What is the starting patch offsets you start with? After the start, do you only take the reconstructtructed patches as your patch offsets ?
  2. Why do you recompute confidences of all the border pixels instead of updating them in the loop?