Compute end of frame precisely with selective tile decoding. Change-Id: I0ee480d437411bebe240bedff204682833efb131