Video encoding and decoding methods and device using same
AssigneeElectronics and Telecommunications Research Institute
InventorsSung Chang LIM, Hui Yong KIM, Jin Ho LEE, Jin Soo CHOI, Jin Woong KIM, Jae Gon KIM, Sang Yong LEE
Life of this patent
Estimating the term…
Abstract
The present invention relates to video encoding/decoding methods and device, wherein the video encoding method according to the invention comprises the following steps: acquiring information of peripheral blocks; setting the information about a current block based on the information of the peripheral blocks; and encoding the current block based on the set information, wherein the current block and the peripheral blocks may be a CU (coding unit).
Claims6
A method for decoding a video signal with a decoding apparatus, the method comprising:
- obtaining, by the decoding apparatus, a bitstream relating to the video signal;
- determining, by the decoding apparatus, based on a merge flag obtained from the bitstream, whether a merge mode is applied to a first prediction block included in a coding block, the merge flag indicating whether the merge mode is applied to the first prediction block, the coding block being partitioned to comprise a plurality of prediction blocks, the first prediction block being one of the prediction blocks;
- when the merge flag indicates that the merge mode is applied to the first prediction block, determining a plurality of merge candidates of the first prediction block,
- wherein when the coding block has a pre-defined size, the merge candidates are derived based on a position of the coding block, and
- wherein when the coding block does not have the pre-defined size, the merge candidates are derived based on a position of the first prediction block;
- deriving, by the decoding apparatus, the motion information of the first prediction block using the merge candidates;
- obtaining, by the decoding apparatus, prediction samples of the first prediction block using the motion information;
- obtaining, by the decoding apparatus, residual samples corresponding to the first prediction block;
- and
- obtaining, by the decoding apparatus, reconstruction samples by using the prediction samples and the residual samples.
A method for encoding a video signal with an encoding apparatus, the method comprising:
- determining, by the encoding apparatus, motion information of a first prediction block;
- determining, by the encoding apparatus, a plurality of merge candidates of the first prediction block,
- wherein when a coding block has a pre-defined size, the merge candidates are derived based on a position of the coding block,
- wherein when the coding block does not have the pre-defined size, the merge candidates are derived based on a position of the first prediction block,
- wherein the coding block is partitioned to comprise a plurality of prediction blocks, and the first prediction block is one of the prediction blocks;
- and
- encoding, by the encoding apparatus, motion information of the first prediction block based on the merge candidates and a merge flag, indicating whether a merge mode is applied to the first prediction block.
A non-transitory computer-readable recording medium storing a bitstream, wherein the bitstream is generated by a method for encoding a video signal, the method comprising:
- determining, by the encoding apparatus, motion information of a first prediction block;
- determining, by the encoding apparatus, a plurality of merge candidates of the first prediction block,
- wherein when a coding block has a pre-defined size, the merge candidates are derived based on a position of the coding block,
- wherein when the coding block does not have the pre-defined size, the merge candidates are derived based on a position of the first prediction block,
- wherein the coding block is partitioned to comprise a plurality of prediction blocks, and the first prediction block is one of the prediction blocks;
- and
- encoding, by the encoding apparatus, motion information of the first prediction block based on the merge candidates and a merge flag, indicating whether a merge mode is applied to the first prediction block.
Dependencies are inferred from the claim text.