Selecting a macroblock encoding mode
AssigneeNVIDIA Corporation
InventorsManindra Parhy, Atul Garg, Prahlad Venkatapuram, Chung-Cheng Lou, Ignatius Tjandrasuwita
Life of this patent
Estimating the term…
Abstract
Non-encoded data for a macroblock of an image frame is accessed. A cost to intra-encode the macroblock is computed using at least a portion of the non-encoded data in place of reconstructed image data from another macroblock of the image frame. The cost can be compared against the cost to inter-encode the first macroblock in order to select how the first macroblock is to be encoded.
Claims20
A computer-implemented method of encoding image-based data, the method comprising:
- accessing a first macroblock of a first image frame, the first macroblock comprising non-encoded data;
- computing a first cost associated with encoding the first macroblock according to a first encoding type, wherein the first cost is computed using at least a portion of the non-encoded data in place of reconstructed image data from a second macroblock of the first image frame;
- and
- using the first cost to select an encoding type for the first macroblock, wherein the encoding type is selected from the first encoding type and a second encoding type.
A system for encoding non-encoded video data, the system comprising:
- an encoder first stage operable for encoding non-encoded image data for a first macroblock of a first image frame, wherein the first macroblock is encoded according to an encoding type that is selected by comparing a first cost associated with a first encoding type and a second cost associated with a second encoding type;
- and
- an encoder second stage downstream of the first stage and operable for generating reconstructed macroblocks using outputs of the first stage, wherein the first cost is computed using at least a portion of the non-encoded image data for the first macroblock in place of data from the reconstructed macroblocks.
A computer-readable medium having computer-executable instructions for performing a method of encoding video data, the method comprising:
- accessing non-encoded image data associated with a first macroblock of a first frame of video data;
- using the non-encoded image data for the first macroblock to compute a first cost associated with intra-encoding the first macroblock;
- using reconstructed image data associated with a second frame of video data to compute a second cost associated with inter-encoding the first macroblock;
- and
- comparing the first and second costs to select one of intra-encoding and inter-encoding to encode the first macroblock.
Dependencies are inferred from the claim text.