Patent ID: 8488668
Filing Date: 2013-07-16
Classification: H04N

Abstract:
1. A method of coding video data, the method comprising: for each of first and second video blocks of a plurality of video blocks, generating a prediction block for the respective video block based on a first prediction mode of a plurality of prediction modes and one or more neighboring video blocks, each of the plurality of prediction modes being associated with a respective coefficient scan order of a plurality of coefficient scan orders; for each of third and fourth video blocks of the plurality of video blocks, generating a prediction block for the respective video block based on a second prediction mode of the plurality of prediction modes and one or more neighboring video blocks, the second prediction mode being different than the first prediction mode; for each of the plurality of video blocks, generating a reconstructed video block for the respective video block based on the prediction block for the respective video block and a residual block for the respective video block; for each of the plurality of video blocks, applying one or more transforms to the respective video block to transform between residual pixel values of the respective video block and residual transform coefficient values of the respective video block, for each of the plurality of video blocks, selecting a coefficient scan order for scanning the respective video block from the plurality of coefficient scan orders based on a prediction mode used to generate the prediction block for the respective video block, the prediction mode being one of the plurality of prediction modes; for each of the first and third video blocks, scanning the residual transform coefficient values of the respective video block using the coefficient scan order selected for the respective video block; for each of the first and second prediction modes, collecting coefficient statistics for one or more of the video blocks within the plurality of video blocks that are associated with the respective prediction mode; for each of the first and second prediction modes, adjusting the coefficient scan order for the respective prediction mode in accordance with the collected coefficient statistics for the respective prediction mode to generate an adjusted coefficient scan order for the respective prediction mode; for each of the second and fourth video blocks, scanning the residual transform coefficient values of the respective video block using the adjusted coefficient scan order that corresponds to the prediction mode of the respective video block; and for each of the plurality of video blocks, entropy coding the residual transform coefficient values for the respective video block.