adding missing term
pix.din_odd = (pix.left + pix.right + 2)>>2

pix.din_odd = pix.left + (pix.left + pix.right + 2)>>2