Patent ID: 9503730
Filing Date: 2016-11-22
CPC Classification: H04N

Claim Text:
1. A method of generating a reconstructed block, the method comprising: entropy-decoding a mode group indicator and a prediction mode index; inversely quantizing a quantized block using a quantization parameter and a quantization matrix to generate a transform block; inversely transforming the transform block to generate a residual block; constructing a Most Probable Mode (MPM) group consisting of three intra prediction modes; deriving an intra prediction mode of a current prediction unit using the mode group indicator and the prediction mode index; adaptively filtering reference pixels of a current block according to a size of a transform unit and the intra prediction mode of the current prediction unit; generating a prediction block according to the intra prediction mode of the current prediction unit; and generating the reconstructed block using the prediction block and the residual block, wherein if the mode group indicator indicates the MPM group, the intra prediction mode of the current prediction unit is set to an intra prediction mode in the MPM group specified by the prediction mode index, and if the mode group indicator does not indicate the MPM group, the value of the prediction mode index for the current prediction unit is determined as a mode number of the intra prediction mode of the current prediction unit by: wherein the three candidates of the MPM group are the three intra prediction modes in the MPM group sorted according to the mode numbers, wherein when a left intra prediction mode and an above intra prediction mode of the current prediction unit are available and same as each other, the MPM group consists of the left intra prediction modes and two directional modes neighboring to the left intra prediction mode if the left intra prediction mode is a directional mode, wherein when only one of the left intra prediction mode and the above intra prediction mode of the current prediction unit is available, the MPM group consists of the available intra prediction mode, a planar mode and a DC mode if the available mode is a directional mode, and wherein when both of the left intra prediction mode and the above intra prediction mode of the current prediction unit are unavailable, the MPM group consists of a planar mode, a DC mode and a vertical mode.