Abstract:
A method of decoding video, the method including receiving and parsing a bitstream which includes encoded video; extracting encoded image data relating to a current picture, which image data is assigned to at least one maximum coding unit, information relating to a coded depth and an encoding mode for each of the at least one maximum coding unit, and filter coefficient information for performing loop filtering on the current picture, from the bitstream; decoding the encoded image data in units of the at least one maximum coding unit, based on the information relating to the coded depth and the encoding mode for each of the at least one maximum coding unit; and performing deblocking on the decoded image data relating to the current picture, and performing loop filtering on the deblocked data, based on continuous one-dimensional (1D) filtering.
Abstract:
Provided are a method and apparatus for encoding a video and a method and apparatus for decoding a video. The encoding method includes: splitting a picture of the video into one or more maximum coding units that are coding units having a maximum size; encoding the picture based on coding units according to depths which are obtained by hierarchically splitting each of the one or more maximum coding units according to depths in each of the one or more maximum coding units, determining coding units according to coded depths with respect to each of the coding units according to depths, and thus determining coding units having a tree structure; and outputting data that is encoded based on the coding units having the tree structure, information about the coded depths and an encoding mode, and coding unit structure information indicating a size and a variable depth of a coding unit.