Patent ID: 9549182
Date: 2017-01-17
CPC Classifications: H04N

Claim:
1. A method of decoding video data, the method comprising: decoding, from a bitstream, residual data of a residual block, the residual block being coded in a transform skip mode such that the residual block is not converted from a pixel domain to a frequency domain; determining, based on a prediction mode of the residual block and a size of the residual block, whether to reposition residual data of the residual block prior to reconstructing a video block of the video data from the residual data of the residual block, wherein repositioning the residual data comprises one of rotating or flipping the residual data of the residual block, wherein, based on the prediction mode of the residual block being an intra prediction mode and the size of the residual block being less than or equal to a threshold size, a determination is made to reposition the residual data of the residual block, and wherein, based on the prediction mode of the residual block being the intra prediction mode and the size of the residual block being greater than the threshold size, a determination is made to disable repositioning of the residual data of the residual block; and reconstructing the video block of the video data from the residual data after determining whether to reposition the residual data.