Patent ID: 8913656

Claim:
A method for in-loop processing of reconstructed video data, wherein the reconstructed video data is partitioned into image units, horizontal deblocking is applied to the reconstructed video data across vertical image-unit boundaries and then vertical deblocking operates on n pixels of horizontal-deblocked video data on each side of horizontal image-unit boundaries, and vertical filter parameters of the vertical deblocking are derived based on n horizontal-deblocked lines on each side of the horizontal image-unit boundaries, wherein n is a first integer, the method comprising: receiving the reconstructed video data for a current image unit, wherein the reconstructed video data includes n reconstructed lines from line p 0 to line p n−1 above a horizontal image-unit boundary and line p 0 is closest to the horizontal image-unit boundary; applying the horizontal deblocking to at least one of said n reconstructed lines to generate at least one horizontal-deblocked line for line p n−1 ; and applying sample adaptive offset (SAO) processing to at least one horizontal-deblocked line for line p n based on the horizontal-deblocked line for line p n−1 ; and wherein the above steps are performed before a neighboring image unit below the current image unit arrives.