1. A method comprising: determining shifts for a plurality of input pixel values, wherein each shift is associated with a corresponding pair of the plurality of input pixel values and each shift is based on a distribution of a magnitude of the corresponding pair; generating, by a halftoner block, pairs of output pixel values based at least in part on the determined shifts; providing, by the halftoner block, the output pixel values to a video block, wherein the output pixel values provided by the halftoner block do not include justification information, and wherein the video block is configured (i) to receive the output pixel values and (ii) to generate pixels of an image based on the received output pixel values; and adding, by the video block, justification information to the output pixel values to generate the pixels of the image.