摘要 |
<p>A motion compensation module can be used in a video encoder for encoding a video input signal that includes a sequence of images that are segmented into a plurality of macroblocks. The motion compensation module includes a motion search module, that generates a motion search motion vector for a plurality of subblocks for a plurality of partitionings of a macroblock of a plurality of macroblocks based on a sum of accumulated differences (SAD) cost. A motion refinement module, when enabled, generates a refined motion vector for the plurality of subblocks for the plurality of partitionings of the macroblock of the plurality of macroblocks, based on the motion search motion vector for each of the plurality of subblocks of the macroblock of the plurality of macroblocks and based on a sum of accumulated transform differences (SATD) cost. A mode decision module operates on either SAD costs or SATD costs, based on whether the refinement module is enabled or disabled.</p> |