Patent ID: 9264713
Filing Date: 2016-02-16
CPC Classification: H04N

Claim Text:
1. A method of decoding video data, the method comprising: skipping an inverse transform for a residual block of the video data based on one or more syntax elements indicating transform skipping for the residual block; determining a type of boundary at each edge of the residual block, wherein, for a respective edge of the residual block, based on samples on either side of the respective edge belonging to the same prediction unit (PU), the respective edge of the residual block is a TU boundary, and wherein, based on samples on either side of the respective edge belonging to different PUs, the respective edge of the residual block is a PU boundary; determining a first number of PU boundaries at a left edge and a top edge of the residual block based on the determined type of boundary at each edge of the residual block; determining a second number of PU boundaries at a right edge and a bottom edge of the residual block based on the determined type of boundary at each edge of the residual block; and determining, based on the second number of PU boundaries being greater than the first number of PU boundaries, to rotate the residual block prior to reconstructing a video block from residual data of the residual block.