Patent attributes
Provided is an apparatus that derives a luma intra prediction mode and a chroma intra prediction mode, determines a size of a luma transform unit and a size of a chroma transform unit using luma transform size information, adaptively filters the reference pixels of a current luma block based on the luma intra prediction mode and the size of the luma transform unit, generates prediction blocks of the current luma block and the current chroma block and generates a residual luma residual block and a chroma residual block. Therefore, the distance of intra prediction becomes short, and the amount of coding bits required to encode intra prediction modes and residual blocks of luma and chroma components is reduced and the coding complexity is reduced by adaptively encoding the intra prediction modes and adaptively filtering the reference pixels.