Patent ID: 8872856

Claim:
A method of scaling resolution of an image, comprising: responsive to receiving first input pixel data for upscaling vertically and horizontally: storing the first input pixel data in a memory; sending a block of pixels of the first input pixel data from the memory to a vertical scaler; generating, at the vertical scaler, first scaled pixel data representing the block of pixels upscaled vertically compared to the block of pixels; receiving, at a horizontal scaler via a first input of a multiplexer, two or more macroblocks of the first scaled pixel data from the vertical scaler without storing the first scaled pixel data in the memory; generating second scaled pixel data by filtering pixel data for a plurality of pixels spanning across the two or more macroblocks of the first scaled pixel data at a scaling filter in the horizontal scaler, the second scaled pixel data representing a block of pixels upscaled horizontally compared to the two or more macroblocks of the first scaled pixel data; and generating a vertically and horizontally upscaled version of the image based on the second scaled pixel data; and responsive to receiving second input pixel data for horizontal scaling without vertical scaling: receiving, at the horizontal scaler via a second input of the multiplexer, two or more macroblocks of the second input pixel data; generating third scaled pixel data by filtering pixel data for a plurality of pixel data spanning across the two or more macroblocks of the second input pixel data, the third scaled pixel data representing a block of pixels scaled horizontally compared to the two or more macroblocks of the second input pixel data; and generating a horizontally scaled version of the image based on the third scaled pixel data.