Patent ID: 7957016

Claim:
A method for image processing, the method comprising: loading one or more lines of to-be-processed image data into a data cache to form a first cache line width column of image data, each cache line in the first cache line width column of image data corresponding to a line of to-be-processed image data up to the width of the cache line; processing the first cache line width column of image data to enhance the image data; buffering cache line edge data associated with the first cache line width column of image data, wherein the cache line edge data includes data of one or more edge pixels of the first cache line width column of image data; loading another one or more lines of to-be-processed image data into a data cache to form a second cache line width column of image data; processing a first target pixel in the second cache line width column of image data to enhance the image data, wherein the first target pixel is processed based at least in part on (i) the loaded second cache line width column of image data and (ii) the buffered cache line edge data; and outputting the enhanced image data.