主权项 |
1. A method of decoding video by using deblocking filtering, the method comprising:
determining one or more prediction units in a coding unit using partition type information, wherein the partition type information indicates one of a symmetric type and an asymmetric type; determining one or more transform units in the coding unit using size information of a transform unit, wherein the transform unit is rectangular with a horizontal size and a vertical size indicated by the size information; performing prediction on the prediction unit in the coding unit and inverse- transformation on the transform unit in the coding unit, in order to generate a reconstructed coding unit; when a boundary included in the reconstructed coding unit corresponds to at least one of a boundary of the prediction unit and a boundary of the transform unit, determining a boundary strength for the boundary based on at least one of non-zero transformation coefficients, prediction mode, a motion vector, and a reference index; determining deblocking filtering method including at least one of a number of filter-taps and location of pixels to be deblocking-filtered, based on at least one of the boundary strength and neighboring pixels adjacent to the boundary; and performing deblocking filtering on the neighboring pixels according to the deblocking filtering method, in order to generate a filtered coding unit including the deblocking-filtered pixels, wherein: an image is split into a plurality of maximum coding units, according to information about a maximum size of the coding unit, the maximum coding unit is hierarchically split into one or more coding units of depth including at least one of a current depth and a lower depth, according to split information, when the split information indicates a split for the current depth, the coding unit of the current depth is split into four rectangular coding units of a lower depth, independently from neighboring coding units, and when the split information indicates a non-split of the current depth, the one or more prediction units are obtained from the coding unit of the current depth and the one or more transform units are obtained from the coding unit of the current depth. |