Method and apparatus for encoding/decoding the motion vectors of a plurality of reference pictures, and apparatus and method for image encoding/decoding using same
First Claim
1. A video encoding method for encoding a current block in a current picture using an inter prediction, the method comprising:
- determining motion information of the current block including a first current motion vector and a second current motion vector of the current block, wherein the first current motion vector is displacement between a location of the current block in the current picture and a location of a first reference block in a first reference picture which is included in a first reference picture list, and the second current motion vector is displacement between a location of the current block in the current picture and a location of a second reference block in a second reference picture which is included in a second reference picture list,encoding, into a bitstream, mode information indicating which mode is used for encoding the motion information of the current block among a plurality of motion information encoding modes; and
when a first motion information encoding mode is used for encoding the motion information of the current block, performing a process comprising;
deriving, by using motion vectors of neighboring blocks of the current block, a first set of candidate motion vectors and a second set of candidate motion vectors;
selecting a first predicted motion vector of the first current motion vector from the first set of candidate motion vectors, and a second predicted motion vector of the second current motion vector from the second set of candidate motion vectors;
generating a first differential motion vector by subtracting the first predicted motion vector from the first current motion vector of the current block;
generating a second differential motion vector by subtracting the second predicted motion vector from the second current motion vector of the current block;
encoding, into the bitstream, the first differential motion vector, a first reference picture index for indicating the first reference picture in the first reference picture list, the second differential motion vector, and the second reference picture index for indicating the second reference picture in the second reference picture list; and
encoding, into the bitstream, a residual signals that is differences between pixels in the current block and pixels in a predicted block of the current block, wherein the predicted block is generated by predicting the current block using the first current motion vector, the first reference picture in the first reference picture list, the second current motion vector, and the second reference picture in the second reference picture list,wherein the encoding of the residual signals comprises;
identifying one or more conditions for enabling transform and quantization;
skipping both of the transform and the quantization for the residual signals to thereby encode the residual signals which are neither transformed nor quantized, when the identified one or more conditions indicate skipping of both the transform and the quantization;
skipping the transform for the residual signals and quantizing the residual signals to thereby encode the quantized residual signals, when the identified one or more conditions indicate skipping of the transform; and
transforming and then quantizing the residual signals to thereby encode the transformed and quantized residual signals, when the identified one or more conditions indicate non-skipping of both the transform and the quantization.
1 Assignment
0 Petitions
Accused Products
Abstract
A video decoding method using an inter prediction, includes: reconstructing a first differential motion vector and a second differential motion vector of a current block by decoding encoded data; deriving a first predicted motion vector and a second predicted motion vector of the current block from one or more neighboring blocks of the current block; generating a first motion vector of the current block by adding the first candidate motion vector to the first differential motion vector, and a second motion vector of the current block by adding the second candidate motion vector to the second differential motion vector; generating a predicted block of the current block by using the first and second motion vectors; reconstructing a residual block by decoding residual signals included in the encoded data; and adding each pixel value of the predicted block to a corresponding pixel value of the residual block.
-
Citations
18 Claims
-
1. A video encoding method for encoding a current block in a current picture using an inter prediction, the method comprising:
-
determining motion information of the current block including a first current motion vector and a second current motion vector of the current block, wherein the first current motion vector is displacement between a location of the current block in the current picture and a location of a first reference block in a first reference picture which is included in a first reference picture list, and the second current motion vector is displacement between a location of the current block in the current picture and a location of a second reference block in a second reference picture which is included in a second reference picture list, encoding, into a bitstream, mode information indicating which mode is used for encoding the motion information of the current block among a plurality of motion information encoding modes; and when a first motion information encoding mode is used for encoding the motion information of the current block, performing a process comprising; deriving, by using motion vectors of neighboring blocks of the current block, a first set of candidate motion vectors and a second set of candidate motion vectors; selecting a first predicted motion vector of the first current motion vector from the first set of candidate motion vectors, and a second predicted motion vector of the second current motion vector from the second set of candidate motion vectors; generating a first differential motion vector by subtracting the first predicted motion vector from the first current motion vector of the current block; generating a second differential motion vector by subtracting the second predicted motion vector from the second current motion vector of the current block; encoding, into the bitstream, the first differential motion vector, a first reference picture index for indicating the first reference picture in the first reference picture list, the second differential motion vector, and the second reference picture index for indicating the second reference picture in the second reference picture list; and encoding, into the bitstream, a residual signals that is differences between pixels in the current block and pixels in a predicted block of the current block, wherein the predicted block is generated by predicting the current block using the first current motion vector, the first reference picture in the first reference picture list, the second current motion vector, and the second reference picture in the second reference picture list, wherein the encoding of the residual signals comprises; identifying one or more conditions for enabling transform and quantization; skipping both of the transform and the quantization for the residual signals to thereby encode the residual signals which are neither transformed nor quantized, when the identified one or more conditions indicate skipping of both the transform and the quantization; skipping the transform for the residual signals and quantizing the residual signals to thereby encode the quantized residual signals, when the identified one or more conditions indicate skipping of the transform; and transforming and then quantizing the residual signals to thereby encode the transformed and quantized residual signals, when the identified one or more conditions indicate non-skipping of both the transform and the quantization. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A video encoding apparatus for encoding a current block in a current picture using an inter prediction, the apparatus comprising:
-
a motion vector encoder configured to determine motion information of the current block including a first current motion vector and a second current motion vector of the current block, wherein the first current motion vector is displacement between a location of the current block in the current picture and a location of a first reference block in a first reference picture which is included in a first reference picture list, and the second current motion vector is displacement between a location of the current block in the current picture and a location of a second reference block in a second reference picture which is included in a second reference picture list, encode, into a bitstream, mode information indicating which mode is used for encoding the motion information of the current block among a plurality of motion information encoding modes, and in response to encoding of the mode information indicating a first motion information encoding mode, derive, by using motion vectors of neighboring blocks of the current block, a first set of candidate motion vectors and a second set of candidate motion vectors, select a first predicted motion vector of the first current motion vector from the first set of candidate motion vectors and a second predicted motion vector of the second current motion vector from the second set of candidate motion vectors, generate a first differential motion vector by subtracting the first predicted motion vector from the first current motion vector of the current block, generate a second differential motion vector by subtracting the second predicted motion vector from the second current motion vector of the current block, and encode, into the bitstream, the first differential motion vector, a first reference picture index for indicating the first reference picture in the first reference picture list, the second differential motion vector, and the second reference picture index for indicating the second reference picture in the second reference picture list; and a motion compensator configured to generate a predicted block by predicting the current block using the first current motion vector, the first reference picture in the first reference picture list, the second current motion vector, and the second reference picture in the second reference picture list; and a residual encoder configured to encode a residual signals that are differences between pixels in the current block and pixels in the predicted block, wherein the residual encoder is configured to encode the residual signals by identifying whether to enable transform and quantization, skipping both of the transform and the quantization for the residual signals to thereby encode the residual signals which are neither transformed nor quantized, in response to identifying skipping of both the transform and the quantization; skipping the transform for the residual signals and quantizing the residual signals to thereby encode the quantized residual signals, in response to identifying skipping of the transform; and transforming and then quantizing the residual signals to thereby encode the transformed and quantized residual signals, in response to identifying non-skipping of both the transform and the quantization. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
-
16. A video decoding apparatus for decoding a current block in a current picture using an inter prediction, the apparatus comprising:
-
an information extractor configured to reconstruct, from a bitstream, mode information indicating which mode has been used for encoding motion information of the current block among a plurality of motion information encoding modes, and in response to the mode information indicating a first motion information encoding mode among the plurality of motion information encoding modes, reconstruct a first and a second differential motion vectors of the current block, a first reference picture index for indicating a first reference picture in the first reference picture list, and a second reference picture index for indicating a second reference picture in the second reference picture list, from the bitstream,; an inter predictor configured to derive, by using motion vectors of neighboring blocks of the current block, a first set of candidate motion vectors and a second set of candidate motion vectors, select a first candidate motion vector from the first set of candidate motion vectors and a second candidate motion vector from the second set of candidate motion vectors, generate a first current motion vector of the current block by adding the first candidate motion vector to the first differential motion vector, and a second current motion vector of the current block by adding the second candidate motion vector to the second differential motion vector, and generate a predicted block of the current block by using the first current motion vector, the first reference picture indicated by the first reference picture index, the second current motion vector, and the second reference picture indicated by the second reference picture index; a residual decoder configured to reconstruct residual signals from encoded residual signals included in the bitstream; and an adder configured to add the reconstructed residual signals to corresponding pixels in the predicted block, wherein the residual decoder is configured to identify one or more conditions for enabling inverse quantization and inverse transform; and skip both of the inverse quantization and the inverse transform for the encoded residual signals to thereby reconstruct the residual signals from the encoded residual signals, when the identified one or more conditions indicate skipping of both the inverse quantization and the inverse transform, inversely quantize the encoded residual signals and skip the inverse transform for the inversely quantized residual signals to thereby reconstruct the residual signals from the inversely quantized residual signals, when the identified one or more conditions indicate skipping of the inverse transform, and inversely quantize and then inversely transform the encoded residual signals to thereby reconstruct the residual signals from the inversely quantized and inversely transformed residual signals, when the identified one or more conditions indicate non-skipping of both the inverse quantization and the inverse transform. - View Dependent Claims (17, 18)
-
Specification