Motion compensation method and apparatus to perform parallel processing on macroblocks in a video decoding system
AssigneeSamsung Electronics Co., Ltd.
InventorsDmitri Birinov, Joon-ho Song, Doo-hyun Kim
Life of this patent
Estimating the term…
Abstract
Provided is a motion compensation method and apparatus. The motion compensation method includes performing register setting for motion compensation of an mth macroblock of a current image, performing prediction for the mth macroblock simultaneously with performing register setting for motion compensation of an (m+1)th macroblock, and performing reconstruction for the mth macroblock based on a prediction result simultaneously with performing prediction for the (m+1)th macroblock. By parallely processing motion compensation on macroblocks, the amount of time required for motion compensation of the macroblocks can be reduced.
Claims13
A motion compensation method performed by a motion compensation apparatus in a decoding process, the method comprising:
- (a) performing register setting, by a motion compensation engine of the motion compensation apparatus, for motion compensation of an mth macroblock of a current image;
- (b) performing prediction, by the motion compensation engine, for the mth macroblock simultaneously with performing register setting, by the motion compensation engine, for motion compensation of an (m+1)th macroblock;
- and
- (c) performing reconstruction, by an adder of the motion compensation apparatus, for the mth macroblock based on a prediction result simultaneously with performing prediction for the (m+1)th macroblock and performing register setting for an (m+2)th macroblock simultaneously, by the motion compensation engine.
A motion compensation apparatus comprising:
- a motion compensation engine to, perform prediction by generating motion compensation data by using motion compensation parameters for macroblocks of a current image and macroblocks of a reference image, which correspond to the macroblocks of the current image;
- a first memory to store motion compensation data for an mth macroblock of the current image, which is output from the motion compensation engine;
- a second memory to store motion compensation data for an (m+1)th macroblock of the current image, which is output from the motion compensation engine;
- a third memory to store residue data indicating a difference between a macroblock of the current image and a macroblock of the reference image;
- an adder to perform reconstruction by adding residue data for the mth macroblock to the motion compensation data for the mth macroblock, where the residue data for the mth macroblock and the motion compensation data for the mth macroblock are respectively stored in the third memory and the first memory, or adding residue data for the (m+1)th macroblock to motion compensation data for the (m+1)th macroblock, where the residue data for the (m+1)th macroblock and motion compensation data for the (m+1)th macroblock are respectively stored in the third memory and the second memory,
- wherein the adder performs reconstruction for the mth macroblock simultaneously with the motion compensation engine performing prediction for the (m+1)th macroblock and register setting for an (m+2)th macroblock simultaneously.
Dependencies are inferred from the claim text.