Abstract:
The present disclosure relates to a method and apparatus for encoding/decoding a motion vector and a method and apparatus for encoding/decoding video using same. The motion vector encoding method includes selecting a predicted motion vector candidate set including one or more predicted motion vector candidates for a block; determining one or more search ranges for predicted motion vector candidate set; selecting one predicted motion vector candidate among one or more predicted motion vector candidates as predicted motion vector for each search point with respect to each search point within search range by first determination criterion prearranged with video decoding apparatus; selecting one predicted motion vector among the predicted motion vectors for each search point by a second determination criterion not prearranged with the video decoding apparatus, and determining predicted motion vector, differential motion vector, and current motion vector; and generating and encoding the differential motion vector as motion information.
Abstract:
A video decoding apparatus using an inter-prediction is disclosed. The apparatus includes at least: a decoder configured to reconstruct a flag and quantized transform coefficients by decoding a bitstream, the flag indicating one among a plurality of modes for determining the motion vector of the current block; a predictor configured to determine a motion vector of a current block to be decoded in a current picture, and predict pixels in current block using the motion vector of the current block; an inverse quantizer and inverse transformer configured to inversely quantize and then inversely transform the quantized transform coefficients to thereby reconstruct residual signals; and an adder configured to add the predicted pixels to the reconstructed residual signals which correspond to the predicted pixels.
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.
Abstract:
An apparatus for decoding a video includes: a mode information extractor to extract mode information on an intra-prediction mode of a current block from encoded data; a prediction mode determiner to determine a candidate intra-prediction mode selected from a plurality of candidate intra-prediction modes as the intra-prediction mode of the current block, when the mode information indicates a first encoding mode; a prediction mode extractor to determine the intra-prediction mode of the current block by using a prediction mode identifier, when the mode information indicates a second encoding mode and includes the prediction mode identifier; and a decoder to decode the encoded data to produce a residual block, and reconstruct the current block by adding the produced residual block to a prediction block predicted based on the intra-prediction mode of the current block determined by either the prediction mode determiner or the prediction mode extractor.
Abstract:
An apparatus for decoding a video, includes: a mode information extractor to extract mode information on an intra-prediction mode of a current block from encoded data; a prediction mode determiner to determine a candidate intra-prediction mode selected from a plurality of candidate intra-prediction modes as the intra-prediction mode of the current block, when the mode information indicates a first encoding mode; a prediction mode extractor to determine the intra-prediction mode of the current block by using a prediction mode identifier, when the mode information indicates a second encoding mode and includes the prediction mode identifier; and a decoder to decode the encoded data to produce a residual block, and reconstruct the current block by adding the produced residual block to a prediction block predicted based on the intra-prediction mode of the current block determined by either the prediction mode determiner or the prediction mode extractor.
Abstract:
A video decoding method using an inter prediction, includes: obtaining block mode information and residual data from encoded data; generating a predicted block by performing the inter prediction in the unit of a block identified by the block mode information; identifying one or more conditions for enabling an inverse quantization and an inverse transform; skipping both of the inverse quantization and the inverse transform for the obtained residual data to thereby reconstruct a residual block directly from the obtained residual data, when the one or more identified conditions indicate skipping of both the inverse quantization and the inverse transform; inversely quantizing the obtained residual data and skipping the inverse transform for the inversely quantized residual data to thereby reconstruct a residual block using the inverse-quantized residual data, when the one or more identified conditions indicate skipping of the inverse transform.
Abstract:
Disclosed is a method for decoding a video using an inter prediction. The method identifies one or more conditions for enabling an inverse quantization and an inverse transform, and selectively performs, based on the identified conditions, at least one of: skipping both of the inverse quantization and the inverse transform for the obtained residual data; inversely quantizing the obtained residual data and skipping the inverse transform for the inversely quantized residual data; and inversely quantizing and then inversely transforming the obtained residual data.
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.
Abstract:
A video decoding method using an inter prediction, includes: obtaining a differential motion vector and residual data from encoded data; determining a predicted motion vector; generating a predicted block by performing the inter prediction based on the differential motion vector and the predicted motion vector; identifying one or more conditions for enabling an inverse quantization and an inverse transform; skipping both of the inverse quantization and the inverse transform for the obtained residual data to thereby reconstruct a residual block directly from the obtained residual data, when the one or more identified conditions indicate skipping of both the inverse quantization and the inverse transform; and inversely quantizing the obtained residual data and skipping the inverse transform for the inversely quantized residual data to thereby reconstruct a residual block using the inverse-quantized residual data, when the one or more identified conditions indicate skipping of the inverse transform.
Abstract:
An apparatus and a method for motion vector encoding/decoding, and to an apparatus and a method for image encoding/decoding using same are provided. The apparatus includes a selector of optimal predicted motion vector PMV from candidate motion vector set of current block; a determiner of motion vector prediction mode of current block with selected motion vector prediction mode from multiple motion vector prediction modes by decision criterion prearranged with motion vector decoding apparatus; and an encoder for determining, by determined motion vector prediction mode, optimal PMV or default predicted motion vector into PMV for current motion vector, encoding differential vector between the current block and PMV, and selectively encoding/outputting determined motion vector prediction mode as encoded motion vector prediction mode by the determined motion vector prediction mode. Bit quantity in encoding a motion vector is reduced improving encoding efficiency and preventing decoder crash even at encoding error, improving decoder.