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.