Patent ID: 7769247

Claim:
A method for data re-arrangement using logic circuitry, comprising: receiving, with at least a first portion of the logic circuitry, output pixel coordinates; retrieving, with at least a second portion of the logic circuitry, an input pixel offset value; calculating, with at least a third portion of the logic circuitry, initial input pixel coordinates based on the output pixel coordinates in accordance with a displacement vector, wherein the output pixel coordinates correspond to a zigzag pixel arrangement of the input pixel coordinates in accordance with the displacement vector; retrieving, with at least a fourth portion of the logic circuitry, an input pixel based on the initial input pixel coordinates and the input pixel offset value, wherein the retrieved input pixel is rearranged in accordance with the input pixel offset value; and performing, with at least a fifth portion of the logic circuitry, at least one shading operation on the retrieved input pixel.