Method and apparatus for encoding/decoding video using bidirectional intra prediction
AssigneeSK Telecom Co., Ltd.
InventorsJeongyeon Lim, Jongki Han, Yunglyul Lee, Joohee Moon, Haekwang Kim, Byeungwoo Jeon, Chanwon Seo
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a method and apparatus for encoding and decoding a video. In particular, the apparatus for encoding a video includes an offset calculator to calculate an offset between pixels of neighboring blocks corresponding to an intra prediction direction; and a prediction unit to adaptively perform an intra prediction on a current block in consideration of the calculated offset so as to generate a predicted block, and to intra-predictively encode the current block.
Claims14
An apparatus for encoding a video by using an intra prediction mode of a current block, the apparatus comprising:
- an offset calculator configured to
- select at least one first neighboring pixel of one or more first neighboring blocks adjacent to the current block, the at least one first neighboring pixel being located in an extension line of a distal line of the current block, the distal line of the current block being either a lowermost pixel line of the current block or a rightmost pixel line of the current block,
- select at least one second neighboring pixel of one or more second neighboring blocks adjacent to the current block, the at least one second neighboring pixel being located in an extension line of a neighboring pixel line of the current block, an inter-pixel direction from the at least one first neighboring pixel to the at least one second neighboring pixel being a direction of the intra prediction mode of the current block,
- wherein the neighboring pixel line is parallel and closest to an uppermost pixel line of the current block when the distal line is the lowermost pixel line of the current block, and the neighboring pixel line is parallel and closest to a leftmost pixel line of the current block when the distal line is the rightmost pixel line of the current block, and
- calculate an offset between the at least one first neighboring pixel and the at least one second neighboring pixel;
- and
- a prediction unit configured to adaptively perform an intra prediction on the current block based on the calculated offset so as to generate a predicted block of the current block,
- wherein the intra prediction mode of the current block is selected from a plurality of intra prediction modes.
An apparatus for decoding a video, comprising:
- a prediction information decoding unit configured to decode an intra prediction mode of a current block from a bitstream, the intra prediction mode of the current block being selected from among a plurality of intra prediction modes;
- an offset calculator configured to
- select at least one first neighboring pixel of one or more first neighboring blocks adjacent to the current block, the at least one first neighboring pixel being located in an extension line of a distal line of the current block, the distal line of the current block being either a lowermost pixel line of the current block or a rightmost pixel line of the current block,
- select at least one second neighboring pixel of one or more second neighboring blocks adjacent to the current block, the at least one second neighboring pixel being located in an extension line of a neighboring pixel line of the current block,
- wherein the neighboring pixel line is parallel and closest to an uppermost pixel line of the current block when the distal line is the lowermost pixel line of the current block, and the neighboring pixel line is parallel and closest to a leftmost pixel line of the current block when the distal line is the rightmost pixel line of the current block, and
- calculate an offset between the at least one first neighboring pixel and the at least one second neighboring pixel, an inter-pixel direction from the at least one first neighboring pixel to the at least one second neighboring pixel being a direction of the intra prediction mode of the current block;
- and
- an intra prediction decoding unit configured to perform an intra prediction on the current block based on the calculated offset so as to generate a predicted block of the current block and reconstruct the current block by using the predicted block.
A method of encoding a video performed by an apparatus for encoding a video by using an intra prediction mode of a current block, the method comprising:
- selecting at least one first neighboring pixel of one or more first neighboring blocks adjacent to the current block, the at least one first neighboring pixel being located in an extension line of a distal line of the current block, the distal line of the current block being either a lowermost pixel line of the current block or a rightmost pixel line of the current block;
- select at least one second neighboring pixel of one or more second neighboring blocks adjacent to the current block, the at least one second neighboring pixel being located in an extension line of a neighboring pixel line of the current block,
- wherein the neighboring pixel line is parallel and closest to an uppermost pixel line of the current block when the distal line is the lowermost pixel line of the current block, and the neighboring pixel line is parallel and closest to a leftmost pixel line of the current block when the distal line is the rightmost pixel line of the current block;
- calculating an offset between the at least one first neighboring pixel and the at least one second neighboring pixel, an inter-pixel direction from the at least one first neighboring pixel to the at least one second neighboring pixel being a direction of the intra prediction mode of the current block;
- and
- adaptively performing an intra prediction on the current block based on the calculated offset so as to generate a predicted block of the current block,
- wherein the intra prediction mode of the current block is selected from a plurality of intra prediction modes.
A method of decoding a video performed by an apparatus for decoding a video, the method comprising:
- decoding an intra prediction mode of a current block from a bitstream, the intra prediction mode of the current block being selected from among a plurality of intra prediction modes;
- selecting at least one first neighboring pixel of one or more first neighboring blocks adjacent to the current block, the at least one first neighboring pixel being located in an extension line of a distal line of the current block, the distal line of the current block being either a lowermost pixel line of the current block or a rightmost pixel line of the current block;
- selecting at least one second neighboring pixel of one or more second neighboring blocks adjacent to the current block, the at least one second neighboring pixel being located in an extension line of a neighboring pixel line of the current block,
- wherein the neighboring pixel line is parallel and closest to an uppermost pixel line of the current block when the distal line is the lowermost pixel line of the current block, and the neighboring pixel line is parallel and closest to a leftmost pixel line of the current block when the distal line is the rightmost pixel line of the current block;
- calculating an offset between the at least one first neighboring pixel and the at least one second neighboring pixel, an inter-pixel direction from the at least one first neighboring pixel to the at least one second neighboring pixel being a direction of the intra prediction mode of the current block;
- and
- performing an intra prediction on the current block based on the calculated offset so as to generate a predicted block of the current block and to reconstruct the current block by using the predicted block.
Dependencies are inferred from the claim text.