Method and apparatus for encoding video by using block merging, and method and apparatus for decoding video by using block merging
First Claim
1. A method of decoding a video, the method comprising:
- obtaining, from a bitstream, split information for a coding unit;
when the split information indicates a non-split for the coding unit, obtaining, from the bitstream, a skip flag for the coding unit which indicates whether a prediction mode for the coding unit is a skip mode;
when the skip flag indicates the skip mode, obtaining, from the bitstream, a merge index indicating one block among a candidate block group, and determining a motion vector of the coding unit based on a motion vector of the one block indicated by the merge index;
when the skip flag indicates a non-skip mode, obtaining, from the bitstream, a partition type and merge information of a partition, the merge information of the partition indicating whether the partition is decoded in a merge mode; and
performing motion compensation on the partition using motion information of the block which the merge index indicates,wherein;
the candidate block group includes three or more blocks among neighboring blocks of the coding unit,the neighboring blocks comprising;
a left-lower block located on a left side of a leftmost block among lower blocks directly below a lower border of a prediction unit in the coding unit, the left-lower block being located below a lowermost block among left blocks adjacent to a left border of the prediction unit,a left-upper block located on a left side of a leftmost block among upper blocks directly above an upper border of the prediction unit, the left-upper block being located above an uppermost block among the left blocks adjacent to the left border of the prediction unit, anda right-upper block located on a right side of a rightmost block among the upper blocks directly above the upper border of the prediction unit,when the partition type is obtained from the bitstream, one or more partitions, including the partition, are determined from the coding unit based on the partition type,an image is split into a plurality of maximum coding units, according to a maximum size of the coding unit,a maximum coding unit, of the plurality of maximum coding units, is hierarchically split into one or more coding units of depths including at least one of a current depth and a lower depth, according to the 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, andwhen the split information indicates a non-split of the current depth,one or more prediction units are obtained from the coding unit of the current depth while the skip flag indicates the non-skip mode, andone or more transformation units are obtained from the coding unit of the current depth.
0 Assignments
0 Petitions
Accused Products
Abstract
Provided are a method and apparatus for encoding a video by using block merging and a method and apparatus for decoding a video by using block merging. The method of encoding includes: determining an encoding mode indicating a current data unit for encoding of a picture and an encoding method including prediction encoding performed for the current data unit; determining an occurrence of merging with at least one neighboring data unit based on at least one of the encoding mode and a prediction mode; and determining prediction mode information, merging related information, and prediction related information, and determining encoding information of the data unit including the prediction mode information, the merging related information, and the prediction related information.
20 Citations
2 Claims
-
1. A method of decoding a video, the method comprising:
-
obtaining, from a bitstream, split information for a coding unit; when the split information indicates a non-split for the coding unit, obtaining, from the bitstream, a skip flag for the coding unit which indicates whether a prediction mode for the coding unit is a skip mode; when the skip flag indicates the skip mode, obtaining, from the bitstream, a merge index indicating one block among a candidate block group, and determining a motion vector of the coding unit based on a motion vector of the one block indicated by the merge index; when the skip flag indicates a non-skip mode, obtaining, from the bitstream, a partition type and merge information of a partition, the merge information of the partition indicating whether the partition is decoded in a merge mode; and performing motion compensation on the partition using motion information of the block which the merge index indicates, wherein; the candidate block group includes three or more blocks among neighboring blocks of the coding unit, the neighboring blocks comprising; a left-lower block located on a left side of a leftmost block among lower blocks directly below a lower border of a prediction unit in the coding unit, the left-lower block being located below a lowermost block among left blocks adjacent to a left border of the prediction unit, a left-upper block located on a left side of a leftmost block among upper blocks directly above an upper border of the prediction unit, the left-upper block being located above an uppermost block among the left blocks adjacent to the left border of the prediction unit, and a right-upper block located on a right side of a rightmost block among the upper blocks directly above the upper border of the prediction unit, when the partition type is obtained from the bitstream, one or more partitions, including the partition, are determined from the coding unit based on the partition type, an image is split into a plurality of maximum coding units, according to a maximum size of the coding unit, a maximum coding unit, of the plurality of maximum coding units, is hierarchically split into one or more coding units of depths including at least one of a current depth and a lower depth, according to the 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, one or more prediction units are obtained from the coding unit of the current depth while the skip flag indicates the non-skip mode, and one or more transformation units are obtained from the coding unit of the current depth. - View Dependent Claims (2)
-
Specification