Patent ID: 9654800
Date: 2017-05-16
CPC Classifications: H04N

Claim:
1. A video decoding apparatus comprising: at least one processing device configured to: obtain, from a bitstream, maximum split information for an inter mode, information about a prediction mode for a coding unit, sub-split information about a transformation unit, and partition mode information for the coding unit in an intra mode, wherein the partition mode information indicates whether at least one prediction unit is determined by halving a height and a width of the coding unit in the intra mode; determine a maximum coding unit based on a maximum size of a coding unit, determine at least one coding unit by splitting the maximum coding unit, determine the at least one prediction unit by splitting the coding unit based on at least one of the information about the prediction mode and the partition mode information, generate prediction data of the coding unit by performing prediction based on the at least one prediction unit, determine a maximum split level of the transformation unit based on whether the partition mode information indicates N×N or 2N×2N when the information about the prediction mode indicates that the coding unit among the at least one coding unit is predicted according to the intra mode, and determine a maximum split level of the transformation unit based on the maximum split information for the inter mode when the information about the prediction mode indicates that the coding unit among the at least one coding unit is predicted according to the inter mode, wherein the transformation unit is determined from the coding unit, and the maximum split information for the inter mode is information about the transformation unit which the coding unit predicted in the inter mode is split into, obtain a sub-split information about a current transformation unit from the bitstream when a current split level of the current transformation unit is less than the maximum split level, split the current transformation unit into transformation units of a next split level when the sub-split information about the current transformation unit indicates a split of the current transformation unit, wherein the next split level is greater than the current split level, perform inverse-transform on the current transformation unit to generate residual data corresponding to the current transformation unit, and reconstruct the coding unit by using the prediction data and the residual data.