Method and system for image scaling output timing calculation and remapping
AssigneeKolorific, Inc.
InventorsChang-Hau Lee, Minghua Lin
Life of this patent
Estimating the term…
Abstract
A method and system for scaling video images between differently formatted display devices. The image scaling scheme of the present invention provides a method of receiving video signals of a first format, scaling the video signal to a second format by remapping pixels included in the first format to the second format by time delaying the input clock signal provided with the input video signal so that short or long line that typically accompany such signals are avoided.
Claims21
An image scaling system for scaling video signal data between different formatted display devices, said image scaling system comprising:
- a video processing unit;
- an image scaling unit;
- a timing generator;
- and
- a remapping logic unit configured for:
- calculating a number of extra pixels based on a parameter by:
- calculating an expected number of input pixels based on a first format and calculating an expected number of output pixels based on a second format;
- calculating an input frame rate by multiplying an input clock cycle time by the expected number of input pixels;
- setting an output frame rate to the calculated input frame rate, wherein the output frame rate is a product of an output clock cycle time and a sum of the expected number of output pixels and the number of extra pixels;
- and
- calculating the number of extra pixels by dividing the input frame rate by the output clock cycle and subtracting the expected number of output pixels;
- and
- remapping at least one extra pixel to an offset position in at least one previous scan line, thereby eliminating the rendering of a short or a long scan line during image conversion between a first display device having the first format and a second display device having the second format.
An image scaling circuit for scaling video data to a corresponding display panel format, the image scaling circuit comprising:
- a signal input buffer unit for receiving an input stream of pixel data of a first size;
- a signal output buffer unit for outputting a stream of pixel data of a second size;
- and
- a video data scaling unit for:
- calculating a number of extra pixels based on a parameters by:
- calculating an expected number of input pixels based on the first size and calculating an expected number of output pixels based on the second size;
- calculating an input frame rate by multiplying an input clock cycle time by the expected number of input pixels;
- setting an output frame rate to the calculated input frame rate, wherein the output frame rate is a product of an output clock cycle time and a sum of the expected number of output pixels and the number of extra pixels;
- and
- calculating the number of extra pixels by dividing the input frame rate by the output clock cycle and subtracting the expected number of output pixels;
- and
- remapping at least one extra pixel to an offset position in at least one previous scan line, thereby eliminating the rendering of a short or a long scan line during image conversion between the pixel data of the first size to the pixel data of the second size to fit a designated format display panel.
An image scaling circuit for scaling video data to a corresponding display panel format, the image scaling circuit comprising:
- a signal input buffer unit for receiving an input stream of pixel data of a first size;
- a signal output buffer unit for outputting a stream of pixel data of a second size;
- and
- remapping logic for:
- calculating a number of extra pixels based on a parameters by:
- calculating an expected number of input pixels based on the first size and calculating an expected number of output pixels based on the second size;
- calculating an input frame rate by multiplying an input clock cycle time by the expected number of input pixels;
- setting an output frame rate to the calculated input frame rate, wherein the output frame rate is a product of an output clock cycle time and a sum of the expected number of output pixels and the number of extra pixels;
- and
- calculating the number of extra pixels by dividing the input frame rate by the output clock cycle and subtracting the expected number of output pixels;
- and
- remapping at least one extra pixel to an offset position in at least one previous scan line, thereby eliminating the rendering of a short or a long scan line during image conversion between the pixel data of the first size to the pixel data of the second size to fit a designated format display panel.
A method of scaling video signals from a first format display panel to a second display panel of a second format, the method comprising:
- during an initialization process of the second display panel,
- calculating a number of extra pixels based on a parameters by:
- calculating an expected number of input pixels based on a first format and calculating an expected number of output pixels based on a second format;
- calculating an input frame rate by multiplying an input clock cycle time by the expected number of input pixels;
- setting an output frame rate to the calculated input frame rate, wherein the output frame rate is a product of an output clock cycle time and a sum of the expected number of output pixels and the number of extra pixels;
- and
- calculating the number of extra pixels by dividing the input frame rate by the output clock cycle and subtracting the expected number of output pixels;
- selecting a horizontal pixel offset value;
- selecting a scan line in the frame of the second format having a base horizontal line length, wherein the selected scan line is a previous scan line to the last scan line;
- determining whether to extend the base horizontal line length of the selected scan line by the horizontal pixel offset value based on the calculated number of extra pixels;
- if the selected scan line is extended, remapping at least one extra pixel to at least one offset position in the extended scan line;
- selecting a next scan line in the frame of the second format having the base horizontal line length;
- and
- repeating the determining, the remapping, and the next scan line selecting processes until the selected scan line is the last scan line, such that each extra pixel is remapped to an extended scan line.
Dependencies are inferred from the claim text.