Method and apparatus for encoding and decoding based on inter prediction
AssigneeSamsung Electronics Co., Ltd.
InventorsSo-young KIM, Woo-jin HAN
Life of this patent
Estimating the term…
Abstract
A method and apparatus for encoding and decoding based on inter prediction are provided. In the encoding method, a current block is encoded by respectively performing intra prediction on the current block and a reference block in a reference picture which corresponds to the current block, and performing inter prediction on the current block based on the results of performing intra prediction. Accordingly, it is possible to reduce the size of data regarding the current block, which is generated as a result of performing inter prediction, thereby improving the compression rate of video data.
Claims17
A method of encoding based on inter prediction, the method comprising:
- searching a reference picture for a reference block corresponding to a current block in a current picture, and estimating a motion vector of the current block based on the reference block;
- performing intra prediction on each of the current block and the reference block to obtain an intra prediction residue of the current block and an intra prediction residue of the reference block, and calculating a difference between the intra prediction residue of the current block and the inter prediction residue of the reference block;
- and
- encoding the current block based on the motion vector and the difference between the intra prediction residue of the current block and the inter prediction residue of the reference block.
An apparatus for encoding based on inter prediction, the apparatus comprising:
- a motion estimation unit which searches a reference picture for a reference block corresponding to a current block, and estimates a motion vector of the current block based on the reference block;
- a motion compensation unit which performs intra prediction on the current block and the reference block, and calculates a difference between an intra prediction residue of the current block and an intra prediction residue of the reference block which are obtained by performing intra prediction;
- and
- an encoding unit which encodes the current block based on the motion vector and the difference between the intra prediction residue of the current block the intra prediction residue of the reference block.
A method of decoding based on inter prediction, the method comprising:
- receiving a bitstream containing data regarding a current block that is encoded based on a motion vector of the current block and the difference between the intra prediction residue of the current block and the intra prediction residue of the reference block;
- extracting from the bitstream data regarding the current block and information regarding an inter prediction mode of the current block;
- and
- restoring the current block based on the data regarding the current block and the information regarding the inter prediction mode of the current block.
An apparatus for decoding based on inter prediction, the apparatus comprising:
- a decoding unit which receives a bitstream that contains data regarding a current block and extracting from the bitstream the data regarding the current block and information regarding an inter prediction mode of the current block, where the current block is encoded based on a motion vector of the current block and the difference between the intra prediction residue of the current block and the intra prediction residue of the reference block;
- and
- a motion compensation unit which restores the current block based on the data regarding the current block and the information regarding the inter prediction mode.
A computer readable medium having recorded thereon a computer program for executing a method of decoding based on inter prediction, the method comprising:
- receiving a bitstream containing data regarding a current block that is encoded based on a motion vector of the current block and the difference between the intra prediction residue of the current block and the intra prediction residue of the reference block;
- extracting from the bitstream data regarding the current block and information regarding an inter prediction mode of the current block;
- and
- restoring the current block based on the data regarding the current block and the information regarding the inter prediction mode of the current block.
Dependencies are inferred from the claim text.