Patent ID: 8111331

Claim:
An apparatus configured to scale video data in real time by a scaling factor that is a ratio of two integers, the apparatus comprising: a DMA controller; a real time source of video data of images of a number of lines of a number of pixels; an input buffer configured to hold a number of lines of video data generated by the source of video data; a horizontal resizer coupled to the input buffer and configured to resize lines of image data from the input buffer and to output horizontally scaled lines of image data resized by a scaling factor expressible as a ratio of two integers; an intermediate buffer coupled to the output of the horizontal resizer, configured to store a number of horizontally scaled lines of image data; a vertical resizer coupled to the intermediate buffer configured to vertically resize data from the intermediate buffer by the scaling factor; and an output buffer coupled to the output of the vertical resizer and configured to store horizontally and vertically resized lines of image data, wherein at any given time, some of the lines in the input buffer are scheduled using the DMA controller for replacement via DMA by lines generated by the source of video data, and some or all of the remaining lines in the input buffer are available for processing by the horizontal resizer, and wherein a sufficient number of lines are available in the intermediate buffer for processing by the vertical resizer, and wherein horizontal resizing operations and vertical resizing operations performed respectively by the horizontal resizer and the vertical resizer are interleaved such that in operation, the intermediate buffer need not introduce latency.