CA2102935C - Two dimensional scaler - Google Patents

Two dimensional scaler Download PDF

Info

Publication number
CA2102935C
CA2102935C CA002102935A CA2102935A CA2102935C CA 2102935 C CA2102935 C CA 2102935C CA 002102935 A CA002102935 A CA 002102935A CA 2102935 A CA2102935 A CA 2102935A CA 2102935 C CA2102935 C CA 2102935C
Authority
CA
Canada
Prior art keywords
coefficients
alu
adjacent
pixels
horizontal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CA002102935A
Other languages
French (fr)
Other versions
CA2102935A1 (en
Inventor
Sanford S. Lum
Dwayne R. Bennett
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ATI Technologies ULC
Original Assignee
ATI Technologies ULC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ATI Technologies ULC filed Critical ATI Technologies ULC
Publication of CA2102935A1 publication Critical patent/CA2102935A1/en
Application granted granted Critical
Publication of CA2102935C publication Critical patent/CA2102935C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4007Interpolation-based scaling, e.g. bilinear interpolation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/28Indexing scheme for image data processing or generation, in general involving image processing hardware

Abstract

The present invention relates to an image scaler comprised of apparatus for receiving coefficients a and b and image display values of adjacent pixels P
and Q respective of an image, apparatus for repeatedly operating on said coefficients and values for successive pixels according to the transform (see above formula) where SUM is the sum of the the coefficients, R is either zero or the accumulated SUM of an immediately preceding operation, A cc is an accumulated result signal, and apparatus for providing a first result signal as an output coefficient word for controlling the display of each of adjacent pixels.

Description

-1~ 21029 35 FIELD OF THE INVENTION:
This invention relates to computer graphics and in particular to a two-dimensional image scaler that can be used to scale live video images, graphic images or still images and in particular one in which the image in each of X and Y directions may be scaled up or down independently with colour blending to preserve colour levels.
BACKGROUND TO THE INVENTION:
l0 Computer multi-media signal processing usually combines graphics and video images. It is desirable to be able to manipulate the images, i.e. to scale (vary) the size of the images in the X or Y direction independently. Pixel blending is required to preserve colour and brightness of pixels when stretching, and many pixels must be averaged to a few to minimize information loss in a size reduction.
Graphical stretches and reductions previously tended to be software implementations, and were 2o applications specific. However these are unsuitable for stretching or reducing live video images, due to the intensity of use of the computer CPU, creating a large overhead. In order to minimize CPU overhead, hardware scalers were produced. However these were typically used in a digital to analog converter which translate the output of the graphics or display circuit immediately previous to the display. These scalers have only been able to scale upwards to multiples of the image source size. Further, since the output of the scaler is an analog signal suitable for the display, the image signals could only be displayed, and could not be read back digitally or operated on again.
SUMMARY OF THE PRESENT INVENTION:
The present invention is a scaler preferable implemented in hardware (and preferably in an integrated circuit chip), which is independent of source or destination of the data signal, and uses coefficients which are preferably stored in screen memory or cached on the scaler chip. The invention provides the ability to do independent scaling in the X and Y directions, scaling to non-integral sizes, pixel blending to preserve colour and brightness of pixels when stretching, and averaging many pixels to a few pixels to minimize information loss during a reduction. A stretch or reduce process can be arbitrarily designated, which is tailored for a particular image or application.
Since it is implemented in hardware, the invention operates at high speed, and therefore is suitable for live video (e. g. 30 frames per second) images.
In accordance with an embodiment of the invention, an image scaler is comprised of apparatus for receiving coefficients a and b and image display values of adjacent pixels P and Q respective of an image, apparatus for repeatedly operating on the coefficients and values for successive pixels according to the transform aP+bQ +R
°° - SUM
where SUM is the SUM of the coefficients, R is either zero or the accumulated SUM i.e., Acc of an immediately preceding operation, A~~ is an accumulated result signal, apparatus for providing the result signal as an output 3o coefficient word for controlling the display of each of adjacent pixels.
In accordance with another embodiment of the invention, an image scaler is comprised of a vertical blend ALU for performing the transform 2 1 0 2 9 3 5 a~P+b"Q +R
SUMv a horizontal blend ALU for performing the transform aHP+bHQ +R
SUMH
where ate, b~, aH and bH are vertical and i0 horizontal blending coefficients, P and Q are respectively parameters relating to adjacent pixels, SUMS and SUMH are respectively sums of the vertical and horizontal coefficients, and R is either zero or the accumulated result of a previous operation, apparatus for providing P and Q data of pairs of adjacent image lines to the vertical blend ALU, apparatus for receiving and buffering the output of the 2o vertical blend ALU for providing R data to the vertical blend ALU, and for providing P and Q data to the horizontal blend ALU, a pixel accumulator connected to the output of the horizontal blend ALU for providing R
data to the horizontal blend ALU and for providing an output signal comprising pixel data resulting from expansion, contraction or unity transformation of the P
and Q data.
In accordance with another embodiment of the invention, a method of scaling images is comprised of receiving coefficients a and b and image display values of adjacent pixels P and Q respective of an image, _4_ repeatedly operating on the coefficients and values for successive pixels according to the transform aP+bQ +R
°° - SUM
where SUM is the SUM of the coefficients, R is either zero or the accumulated SUM of an immediately preceding operation, A~~ is the accumulated result signal, (c) providing the result as an output coefficient word for controlling the display of each of adjacent pixels.
In accordance with another embodiment of the invention, a method of scaling images is comprised of performing the transform in a vertical blend ALU
a"P+b"Q +R
SUMv performing the transform in a horizontal blend ALU
aHP+bHQ +R
SUMH
where ate, b~, aH and bH are vertical and horizontal blending coefficients, P and Q are respectively parameters relating to adjacent pixels, SUMS and SUMH are respectively sums of the vertical and horizontal coefficients, and R is either zero or the accumulated result of a previous operation, providing P and Q data of pairs of adjacent image lines to the vertical blend ALU, providing R to the vertical blend ALU, for providing P and Q data to the horizontal blend ALU, a pixel accumulator connected to the output of the horizontal blend ALU for providing R to the horizontal blend ALU and for providing an output signal comprising pixel data resulting from expansion, contraction or unity transformation of P and Q.
BRIEF INTRODUCTION TO THE DRAWINGS:
A better understanding of the invention will be obtained by reference to the detailed description below, in conjunction with the following drawings, in which:
Figure 1 illustrates an example of pixels undergoing expansion or contraction, Figure 2 illustrates pixels undergoing an expansion process, Figure 3 is a block diagram of a system which includes the present invention, Figure 4 is a diagram of the form of a word containing coefficients which is preferred to be used in the present invention, Figure 5 is a block diagram of one embodiment of the present invention, Figure 6 is a block diagram of another embodiment of the present invention, and Figure 7 is a block diagram of another embodiment of the present invention.
DETAILED DESCRIPTION OF THE INVENTION:
The present invention can be applied to any of the three cases of stretching an image, reducing an image, and maintaining the size of an image. Stretching requires that there are more destination pixels than source pixels and reducing requires that there are more source pixels than destination pixels. In the third case, there are an equal number of source and destination pixels. The present invention may be applied to any of the three cases independently of all others, or may be combined.
In the present invention, the pixel energy of a source is divided equally over a destination region, and then is normalized so that brightness per pixel is preserved. This may be done by oversampling.
Assume that there are n pixels along one trajectory and m pixels along the other trajectory.
Since the operation is reversible, source and destination are arbitrary. Both trajectories are subdivided into n x m sub-pixels, then they are aligned to the same size.
As an example, consider the case of n = 3 and m = 4, as shown in Figure 1.
In a first case, the three pixels in trajectory 1 are being expanded to trajectory 2. The three pixels of trajectory 1 are multiplied by four, making twelve pixels, which are divided into the four pixel regions 3 of trajectory 2.
Similarly, the four pixels 5 of trajectory 2, multiplied by three are divided into the three pixel regions 7 of trajectory 1.
This is illustrated in another way in Figure 2. Consider an array of six pixels 9 which are to be displayed. These pixels may be representations thereof stored as pixel attributes (intensity, hue, saturation) 3o in a screen memory of a graphics display circuit.
In order to stretch the image, the data of two adjacent pixels 9a in two adjacent lines are passed through a scaler 11, and result in four pixels 9b. The total width of the two pixels 9a thus has been increased in size from the width shown by arrow 13 to the width -~- ~ ~ 0 29 39 shown by arrow 14.
It may now be seen that rather than two lines of pixels, there are four lines of pixels. The pixel data of two horizontally adjacent pixels 9c are applied through scaler 16 and the result is pixel data for the four pixels 9d, which has been expanded from the width indicated by arrow 18 to the width shown by arrow 19.
Once this has been done, the data relating to next adjacent horizontal pixel 9e and the immediately adjacent pixel of the pair 9c are passed through scaler 16, resulting in expansion to the four pixels 21.
While the example shown in Figure 2 described expansion of two pixels to four, it may be seen that the scaler can multiply or divide the two adjacent horizontal or vertical pixels by any value. Indeed, the value can be dynamically changed, can include translation via an algorithm to wrap the pixels around another image, and can be used to vary the expansion or contraction of the image to any desirable extent, e.g.
to obtain warping for special effects, warping to a contour of an object, etc., on the fly, at live video rates.
It should be noted that vertical scaling using scaler 11, or horizontal scaling using scaler 16 may be used independently, or each may be used in sequence.
Embodiments of both cases will be described in more detail below. For the purpose of simplicity, a stretching with blending function will be described;
special effects such as variation of the stretching or 3o reduction amount by apparatus performing an algorithm will then become obvious to a person skilled in the art understanding the present invention.
It is assumed that a person skilled in the art is familiar with computer graphics systems design, such as described in the text "Fundamentals of Interactive _g_ Computer Graphics" by J.D. Foley and A. Van Damm, Eddison-Wesley Publishing Company of Menlow Park, California and Don Mills, Ontario, copyright 1982.
While the invention is not limited to the system shown in Figure 3, this figure illustrates part of a computer architecture which may contain the present invention. A video circuit 23 receives a video signal, digitizes it, and applies it to a graphics circuit 25.
The video circuit and graphics circuit are controlled by central processing unit (CPU) 27 via bus 29A. In addition to control signals, the graphics circuit 25 also receives from the CPU graphics signals and coefficients needed for stretching or reducing the digitized video signal, as well as graphics display signals, etc.
The graphics circuit 25 includes a screen memory 29, which stores the coefficients and data relating to each pixel, e.g. intensity, hue and saturation. It also stores the destination data signal 2o from the present invention. Accumulation is done in the line buffers.
In accordance with the present invention, a scaler circuit 31 receives source signals via source bus 32 from the graphics circuit screen memory. The data carried thereon is the pixel data referred to above. A
destination bus 33 carries an output signal from the scaler to the screen memory 29, which data is used for display. The resulting data is processed by graphics circuit 25, the processed data is converted from digital to analog form in D/A converter 35, and is applied to video monitor 37 for display.
It may be seen that since the source and destination data is digital, and is received from and is applied to graphics circuit 25, the data can be further manipulated prior to display. Further, the pixel data _9_ and the coefficients can be varied by an algorithm processed by graphics circuit 25, or by CPU 27, or by other circuits associated with the system. Suffice to say that any of the parameters, and particularly the coefficients, can be programmed by the application program, including by manual variation (e. g. mouse control, etc.). This provides maximum flexibility in stretching, reduction, warping, etc. of the live video or other image which is processed.
The scaler 31 contains either or both of scalers 11 and 16 referred to above and shown in Figure 2. Each scaler circuit 31 contains apparatus to perform a transformation of source (S) to destination (D) trajectories, as described above with the aid of Figures 1 and 2. First, a theoretical and then a practical explanation of the transformation of the pixel group expansion described above with respect to Figure 1 will be given.
If trajectory 1 is the source and trajectory 2 is the destination, general equations for the transformation which may be observed from Figure 1 are:
Do=4So DW 4So+2Si DZ=2S~+4Sz Ds-4Sz and normalizing:

a - io -Do = So D~=3So+3S~
Dz = 3 Si + 3 Sa D3 = Sz For the reverse transformation, i.e. the source is trajectory 2 and the destination is trajectory l, the normalized equations are:
Do= S~
So+
D~=2Si+2Sz Dz= S3 Sz+

Of course the unity case is trivial.
From the equations derived above, the present invention provides a hardware pixel blender that implements the generalized equation:
D _ aP+bQ
a+b where a and b are blending coefficients and P and Q are the parameters describing adjacent pixels. It should be noted that this applies to each pixel component. This will handle all cases except for the case of the source being twice as large or bigger than twice as large as the destination. In the latter case the general .. -11-equation is: 2 1 0 2 9 3 5 D-aP+bQ+cS+...
a+b+c+...
It is preferred that rather than building a pixel ALU for an arbitrary number of operands, a multicycle ALU is used to operate this transform:
Accumulator = aP+ bQ + R
coefficient-sum to where R is either zero or the accumulated result of the previous operation, and a and b are any two consecutive coefficients within a list of coefficients needed. The sum of all coefficients is preferred to be known and i5 fixed. The running total of the equation is kept in an accumulator until the equation has been completed when the result is written to the destination. In the preferred embodiment to be described below, the coefficient sum is fixed at 16, but this could be 20 whatever the designer finds convenience to implement the design.
Coefficients a and b for both the horizontal and vertical (X) and (Y) directions is provided from screen memory 29 to the scaler 31 (Figure 3). It is 25 preferred that this data is provided in a coefficient word of the form shown in Figure 4, although this specific form need not be used.
For this embodiment, the sum of all coefficients is, as noted above, fixed at 16 and both 30 coefficients a and b occupy the range 0-16. This range was chosen because it is relatively easy to implement in a 4 x 8 multiplier and because a stretch or reduction of greater than 16:1 is very unlikely for a typical computer application. The coefficients a and b are programmable and contain additional information for complete processing of every pixel. The order of the information fields in the coefficient word shown in Figure 4 is arbitrary. Five bits are allocated to each coefficient, shown as 1-5 for coefficient a and 7-11 as coefficient b (they range from 0-16 and not 0-15).
Additional bits are reserved for future expansion of the coefficient ranges. The source and destination increment bits shown as bits 12 and 13 respectively determine whether the source and destination trajectories respectively are post-incremented. The accumulate bit shown as bit 14 determines whether R is 0 or the value of the pixel accumulator. In the ideal case, the number of coefficients needed for a stretch or reduce operation is equal to the larger of source and destination lengths. Leaving the coefficients programmable by the application program in this manner offers maximum flexibility in choosing stretching and reducing algorithms. While the coefficients have been shown in Figure 3 as being stored in screen memory, they may be cached on the scaler 31 chip.
Figure 5 illustrates a block diagram of one embodiment of the scaler. The structure is comprised of an ALU 39 for performing a vertical blend function and an ALU 41 for performing a horizontal blend function.
ALU 39 receives the vertical blending coefficients a~
and b~ and the vertical accumulate Accv data resulting from the operation of ALU 39. This data is received, in the embodiment shown in Figure 3, from screen memory 29 of graphics circuit 25.
Similarly, the ALU 41 receives from screen memory 29 the horizontal blend coefficients aH and bH
and the accumulate AccH resulting from operation of accumulator 41.
ALU 39 receives adjacent pixel data relating to the first or input trajectory on input ports Q and P, the data for the Q port being received via line buffer 43 from the data source, which can be screen memory 29, via source bus 32. The output of line buffer 43 is connected to the input of line buffer 45, the output of which is connected to the P port of ALU 39.
The output of ALU 39 is applied to the input of line buffer 47. The Q pixel data is applied to the Q
input port of ALU 41 and the P pixel data is applied to the P input port of ALU 41. That data is also applied to the R input of ALU 39.
The output of ALU 41 is connected to the input of pixel accumulator 49, which provides an output signal on bus 33 for application to a destination which, in the embodiment described, is screen memory 29 of graphics circuit 25. That output data is also applied to the R
input of ALU 41.
2o The line buffers are ideally the maximum source line size in length. Line buffer 47 is used as a line accumulator in a similar fashion as the pixel accumulator. The accumulator values Accv and AccH
applied to ALU 39 and ALU 41 respectively determine whether R should be forced to zero or should equal the value in the accumulator.
In operation, a first line of data from a source trajectory is read into line buffer 43. The data of line buffer 43 is transferred to line buffer 45, 3o while a second line of data is transferred from the source trajectory to the line buffer 43. Thus it may be seen that the data at the P and Q ports of ALU 39 represent pixels of two successive vertical lines.
The ALU 39 vertically blends and stores the result in line buffer 47. The data is transformed in ALU 39 according to the equation a"P+b~Q +R

The pixel data from line buffer 43 is then transferred into line buffer 45. The source trajectory is read and transferred to line buffer 43, in the same manner as described above. Thus it may be seen that the second line becomes the first line and the new line becomes the second line of two vertical lines to be blended by ALU 39. The process of vertical blending in accordance with the aforenoted transformation is then repeated by ALU 39. This step is continuously repeated into the next frame until the data relating to at least two horizontally adjacent pixels are stored in line buffer 47.
For the rest of each horizontal line the data relating to two consecutive horizontal pixels are applied on input lines Q and P to ALU 41 and are blended in accordance with the equation aHP+bHQ +R

The result of this equation is output from ALU
41 and is stored in pixel accumulator 49.
For each pair of adjacent pixels in each line, there is a vertical blend function and storage thereof in line buffer 47. The pixel data is transferred from line buffer 43 into line buffer 45. The source trajectory is read and transferred to line buffer 43.
The steps described above for the vertical blending function is repeated for the rest of the image.

It should be noted that the source trajectory should only increment with a source increment that is set in a coefficient list in the screen memory 29 or equivalent. If the source is incremented in the X
direction and not in the Y direction and the end of the source line is reached, the source pointer is preferred to be reset to the beginning of the current line. If the source is incrementing in both directions and the end of the source line is reached, it is preferred that the source pointer should be set to the beginning of the next line.
The destination trajectory should be incremented in a similar fashion as the source trajectory except that the destination increment bits of the coefficient list should be used.
Line buffer pointers should be incremented when the source increment bit is set in the X direction.
They should be reset to zero when the end of the source line is reached. Data should not be written to line 2o buffer 43 nor transferred to line buffer 45 if the source increment bit is not set in the Y direction.
Destination data should only be written out from the pixel accumulator if both X and Y destination increments bits are set.
The X coefficient pointer in screen memory 29 should be incremented for each pixel operation, and the Y coefficient pointer should be incremented for each line operation.
The design described above which performs the vertical pixel blending prior to the horizontal pixel blending is arbitrary, and may be reversed. Figure 6 illustrates a block diagram in which horizontal blending is performed prior to vertical blending. It should be noted that blending in only one direction can be implemented, whereby one of the ALUs is provided with coefficients which provide unitary transformation, i.e.
neither expansion nor contraction of the image.
In the embodiment of Figure 6, ALU 41 receives horizontal pixel data from the source bus 32 at its input port P and also via a one pixel delay element 51 (which can be a buffer) at input port Q and the coefficients etc. from the screen memory as described above. The output of ALU 41 is applied to a pixel accumulator 49, the output of which is applied to the R
i0 input port of ALU 41. The horizontal blend function operates as described above with respect to the embodiment of Figure 5.
The output of pixel accumulator 49 is applied to multiplexes 53, which has an input 55 from graphics circuit 25 that indicates to the multiplexes whether the pixel at the input of multiplexes 53 relates to an odd or an even line. The even line pixel data is applied from the multiplexes to one of line buffers 57 and 58, and the odd line pixel data is applied to the other of line buffers 57 and 58. The outputs of line buffers 57 and 58 are applied to the Q and P ports of ALU 39, which receives its coefficients, etc. as described above, and outputs its data to line buffer 47, and operates in a manner described above with respect to Figure 5.
Depending on the operation of multiplexes 53, a pixel delay element may be connected in series with the P
input of ALU 39 in order to align the vertical pixels of successive lines.
The output of line buffer 47 is carried on 3o destination bus 33 to the screen memory 29 for processing by graphics circuit 25 and subsequent provision of the display signals for display on monitor 37.
Figure 7 illustrates another embodiment, in which vertical blend is performed first, followed by -1'- 2 1 0 2 9 3 5 horizontal blend, but in which line buffer 47 has been eliminated. In a successful embodiment of the design shown in Figure 7, each line buffer was limited to a length of only 32 pixels.
The design of Figure 7 is similar to that of Figure 5 except that instead of line buffer 47, the output of the vertical blend ALU 39 is applied directly to the Q port of the horizontal blend ALU 41, and the output of vertical blend ALU 39 is also applied through a pixel latch 60 to the P port of ALU 41. Instead of the output of line buffer 43 being connected directly to the input of line buffer 45, it is connected to the input of a multiplexes 62; the output of pixel latch 60 is connected to another input of multiplexes 62, rather i5 than to the R input of ALU input 39. The Accv input, rather than being applied to ALU 39 is connected to the control input of multiplexes 62. The output of multiplexes 62 is connected to the input of line buffer 45.
With the above-noted changes, the vertical blend ALU 39 can only accumulate into the line buffer 45. The blend equation becomes a~ P + UvQ
~P

wherein the result of the equation is assigned back to P
if a vertical accumulate is desired. Coefficient generation in the vertical direction should also be modified accordingly. Line buffer 45 is otherwise loaded in a similar fashion as in the ideal case, i.e.
line buffer 43 data is transferred to it only when the source Y increment bit is set.
Smaller line buffer sizes, i.e. only 32 pixels .. -1g- 2 1 0 2 ~ 3 5 strains the maximum source width, but has no effect on source height. Thus if the source width is greater than 32 pixels, the operation can be sub-divided into strips of less than 32 pixels wide. Since this may affect blending, the boundaries of these divisions should only occur after the destination has been written out (i.e. a horizontal destination increment). With a maximum stretch/reduce ratio of 16:1, the boundary thus lands between 16 and 32 pixels in the X direction. The to coefficients at the boundary conditions should be modified accordingly.
In a successful prototype of the invention 32 pixel line buffers and a 128 element X coefficient cache were used. Y coefficients are not cached and were read on-the-fly. Each embodiment is preferably pipelined, i.e. each block may proceed as soon as sufficient data is available. For instance, in the embodiment of Figure 5, horizontal blender 41 becomes active when at least 2 pixel elements are available in line buffer 47. It does 2o not have to wait until line buffer 47 is full before proceeding.
While a hardware implementation of the invention has been described above, it could be implemented alternatively by processing of the equivalent algorithm in a central processing unit (CPU).
In order to reduce system CPU overhead, it is preferred that a dedicated CPU should be used which should be sufficiently fast, or if desired, a fast central CPU
could be used if there is sufficient speed and capacity 3o in the system. An algorithm for implementing the scaler function is listed in appendix A, using the C language, wherein coefficient data and source data are received and destination data is output, in a fashion similar to the hardware scaler. The coefficient generation code shown generates coefficients according to the scaling algorithm describer earlier.
Coefficient lists may be generated for limited line buffer implementations. The source data is sub-divided such that the end of each band has the X
destination increment bit set and the X source increment bit set to ensure that the destination is written out and the source does not overlap with the next band. An extra dummy coefficient with the source increment bit set is added to the narrow coefficient list to ensure that the next source pixel is correctly latched into the line buffers. The sub-division code is listed in appendix B. This code subdivides the source area and the X coefficients into narrow strips in reference to the limited line buffer length in the final embodiment.
It should be noted that setting the coefficients for unity mapping (no expansion or contraction), and setting the destination size to be much larger than the source size will cause the staler to perform a two-dimensional pattern fill where the pattern is constrained in the source area.
In addition, for a sixteen times over-sampled anti-aliased image, the source image should be reduced by a factor of 4 in each dimension using the algorithms described in this disclosure. This can be done at live video rates.
A person understanding this invention may now conceive of alternative structures and embodiments or variations of the above. All of those which fall within the scope of the claims appended hereto are considered to be part of the present invention.

.~.,. ~ $i.~'s" .~,i~.."w.~i5~8~&~!"

APPENDIX A
COLORREF linebufferl[LINEHUFFERSIZE];
COLORREF linebuffer2[LINEBUFFERSIZE];
void StrBltStrip(BlltArea src, BlltArea dst, int numXCoeff, int..~m~ff, COEFTENT xC[], COEFFICIENT yC[]) {
int i,j;
int yCoefl,yCoef2,ySrcInc,yDstInc,yAcc;
int xCoefl,xCoef2,xSrcInc,xDstInc,xAcc;
int srcIndex,lookAhead;
COLORREF yPixell,yPixel2;
COLORREF xPixell,xPixel2;
COLORREF outPixel; , int srcX,srcY,dstX,dstY;
int srcXSegin,srcXEnd,srcYBegin,srcYEnd;
int dstXBegin,dstXEnd,dstYBegin,dstYEnd;
srcX = srcXBegin = src.blitX;
srcY = srcYBegin = src.blltY;
srcXEnd = srcX + src.blitWidth;
srcYEnd = srcY + src.blitHei~~t;
dstX = dstXBegin = dst.blit~' dstY = dstYHegin = dst.bl~:.Y;
dstXEnd = dstX + dst.bl.~~didth;
dstYEnd = dstY + dst.,~t~tHeight; ' // get 1st line for (i=srcX,srcI x=0',i.,' i'cX+src.blitWidth; 1++,srcIndex++) {
linebuffer2[s~ dex.r,,GetPixel(memDC,i,srcY);
linebufferl[src ex] f inebuffer2[srcIndex];
if (sry~~s. tHeig~- d ~' litHeight) li . .Cdex] = GetPixel(memDC,i,srcY+11:
if (s~tH~~t ~:= dst.blitHeight) srcY++;
/egin bll~~~ ng .
f~ (j=0; j<n~ YCoe'i:f; j++) {
// get y fficients ~Coefl = [j].pOMul;
ef2 . ~ C[j].plMUl;
' ~yc[j).sinc;
yDSt nc = yC[j].dInc;
~~lcc = yC[j].Accumulate;
// do y blends into linebuffer 1 for (i=O,srcIndex=0; i<numXCoeff; i++) {
// do y scaling if (xC[i].sInc) {
yPixell = linebufferl[srcIndex];
yPixel2 = linebuffer2[srcIndex];
if (yACC) linebufferl[srcIndex] = WeightPixel(yCoefl, yPixell, yCoef2, yPixel2, linebufferl[srcindex]);
) else linebufferl[srcIndex] = WeightPixellYCoefl, yPixell, yCoef2, yPixel2, OL);
) srcIndex++;
]
]
// do first pixel X processing srcIndex = 0;
i = 0;
xPixell = linebufferl[0];

w.a~;. ~ "'H'~?fi?~~t~~
-zl-if (src.blltWidth > dst.blltWidth) ( ' 2 1 0 2 9 3 5 xPixel2 = xPixell;
lookAhead = 1;
} else {
xPixel2 = linebufferl[1];
lookAhead = 2;
) do ( if (xC[i].sInc) if (yDstInc && ySrcInc) linebufferl(srcIndex] = linebuffer2[s~~x];
srcIndex++;
}
i++;
} while (srcIndex < lookAhead);
// do x blends onto screen for (i=0; i<numXCoeff; i++) {
// get x coefficients xCOefl = xC[i].pOMul;
xCoef2 = xC(i].plMul;
xSrcInc = xC[i].sInc;
xDstInc = xC[i].dInc;
xAcc = xC(i].Accumulate;
// do .x scaling if (yDstInc) {
if (xACC) {
outPixel = WeightPixel(xC,ill,xPi~,xCo~,xPixel2,outPixel);
} else { --outPixel = WeightPixel(xCOe'fxell,f2,xPixel2,OL);
) if (xDstInc) {
SetPixel ( scrnDC, d~C, dstY,PixeT,~
) _ if (xSrcInc) {
xPixell = x 2;
xPixel2 -:x,~in fer~'~~,~~X] ;
if (ySr~ijc) li ~ ,ffe cIndex] = linebuffer2[srcIndex];
}
}
if (xsrc. ) ('v // a~~e t"source pointer srcX++, ~,],yf ( srcX~ y: srcd) {
y. XBegin;
i~ ) {
srcY++;
if (srcY >= srcYEnd) {
srcY = srcYBegin;

) ) ,Index++;
if (xDstInc) {
// advance the destination pointer dstX++;
if (dstX >= dstXEnd) ( dstX = dstXBegin;
if (yDstInc) {
dstY++;
if (dstY >= dstYEnd) {
dstY = dstYHegin;
) ) ) ) ) // load next line if (ySrcInc) for (i=0; i<numXCoeff; i++) ( linebuffer2[i] = GetPixel(memDC,srcX+i,srcY);
) ) n...,t,.~' ~ ~...z~~'N,Lsmro-.M;:~'dt~.~i // Equation is (weightl*pixell+weight2*pixel2)/16+pixel3 COLORREF WeightPixel(int weight y COLORREF pixell, int weight2, COLORREF
pixel2, COLORREF pixel3) COLORREF rcolor;
unsigned int red, green, blue;
double fred,fgreen,fblue;
red = (UINT)(((ULONG)GetRValue(pixell)weightl + (ULONG)GetRValue(pixel?,~'*
* weight2'~r~, red /_ (1MBITS) ;

red +-_ (UINT)GetRValue(pixel3);

green = (UINT)(((ULONG)GetGValue(pixell)* weightl + (ULONG)GetGValu~
ixel2?:; #.a~eight~));

green /_ (1MBITS); ~

green +_ (UINT)GetGValue(pixel3);

blue = (UINT)(((ULONG)GetBValue(pixell)* weightl + (ULONG) e(pixel~'~,;~',weight2));

blue /_ (1MBITS);

blue +_ (UINT)GetBValue(pixel3);

if (red > 255) red = 255;

if (green > 255) green =
255;

if (blue > 255) blue = 255;

rcolor = RGH(red,green,blue);

\
return rcolor;

}
Coefficient Generation The C code below illustrates coefficient generi~ foi,,,image fan arbitrary size to an arbitrary size:

Ndefine MHITS 4 // nurtit,~.of ~ the multipliers for typedef struct tagCOEFF~
f T {

unsigned int pOMu :M + // coefficienta ~

unsigned int plM~n~~IBI // coefficientb , unsigned int sInc.'~~ ~'' // source ement flag incr unsigned int dInc:l; // destinationincrement flag unsigned i~,cumula~~;~;~; // accumulateflag } COEFFICIENT;

COEFFICI f~ nt[LINEBUFFERSIZE];
COEFFI~f..i~.'~ft[LINEBUFFERSIZEJ;
void (~Coefficie~x~,s(in~E. srcwidth,int dstwidth,int srcFteight,int dstHeight) ( i, nt;
'~~SCo Cou flnPlaceCount;
int tsCou~ : nt,weight;
int lasncr;
long ml, sCf t = dstWidth;
~ nt = srcWidth;
nPlaceCount = 0;
weight = 1;
for (i=0; i<=max(srcWidth,dstWidth); i++) {
if (scaler.miscScaler.stretchX) {
xCOefficient[i].Accumulate = 0;
if (dCount<sCount) {
xCoefficient[i].sInc = 0;
xCoefficient(i].dInc = 1;
xCoefficient[i].pOMul = 1«MBITS;
xCoefficient[i].plMu1 = 0;
sCount -= dCount;
} else {
xCoefficient[i].sInc = 1;
xCoefficient[i].dInc = 1;
ml = sCount;
m2 = dCount - sCount;
ml = ml * (1 «MBITS) / (ml + m2);
m2 = (1«MBITS) - ml;
xCoefficient[i].pOMul = (int)ml;

..,.

- ' 21 029 35 .
xCoefficient[i].plMu1 = (int)m2;
sCount = dstWidth - (dCount - sCount):
]
} else ( if (i>0 && xCoefficient[i-1].dInc==0) xCOefficient[i].Accumulate = 1;
else xCoefficlent[i].Accumulate = 0;
if (sCount<dCOUnt) {
if (inPlaceCOUnt==0) {
weight = 1;
tsCount = sCount;
tdCount = dCount;
while (tsCount<tdCount) ( weight++;
tdCount -= tsCount;
) ) xCoefficient[i].sInc = 1;
xCoefficient[i].dInc = 0;
xCoefficient(i].pOMul = (1 « MBITS) / weight;
if (inPlaceCount==0) {
xCoefficient[i].pOMUl +_ (1 « MBITS) $ t;
]
xCoefficient[i].plMu1 = 0;
dCount -= sCount;
inPlaceCount++;
} else {
xCOefficient[i].sInc = 1;
xCoefficient[i].dInc = 1;
ml = dCount;
m2 = sCount - dCount;
ml = ml * (1«MBITS) / ( m2)°elaeigk~n m2 = (1«MBITS) / wei - ~ .
xCoefficient[i].pOM~ (int~)m xCoefficient[i].plM ~!~ (int)ml;,,,t dCount = srcWid~ - ('~7unt - dC~t) ;
inPlaceCOUnt p' weight = 1;
) .
}
scaler.numXCoeff = m~:~,ist~th,srcWth);
i ycCnt = 0;
sCOUnt = dstHeight;
dCount s ht;
inPlaceCou weight = 1;
for ( ~,, <-y-' srcHeight,dstHeight); i++) {
~s~'~''~-.:g~~r~Scaler.stretchY) {
las~ ~r '~:~;
yCOe~~cienf.'[i].Accumulate = 0;
if (d~f nt < sCount) y_ fficient[i].sInc = 0;
efficient[i].dInc = 1;
.Coefficient[i].pOMul = 1«MBITS;
yCoefficient[i].plMu1 = 0;
sCount -= dCount;
} else {
yCOefficient[i].sInc = 1;
yCoefficient[i].dInc = 1;
ml = sCount;
m2 = dCount - sCOUnt;
ml = ml * (1«MBITS) / (ml + m2);
m2 = (1«MHITS) - ml;
yCOefficient[i].pOMul = (int)ml;
yCoefficient[i].plMu1 = (int)m2;
sCount = dstHeight - (dCount - sCount);
]
] else {
if (ycCnt>0 && yCoefficient[ycCnt-1].dInc==0) yCoefficient[ycCnt].Accumulate =
1;
else yCoefficient[ycCnt].Accumulate = 0;
if (sCount<dCount) ( lastIncr = 1;
if (inPlaceCount==0) weight = 1;
tsCOUnt = sCount;
tdCount = dCount;
while (tsCount<tdCount) ( weight++;

..... , . ,_. .i,.,...,~:: ;
- '~ 2 1 0 29 35 tdCount -= tsCount;
) ) yCoefficient[ycCnt].sInc = 1;
yCoefficient[ycCnt].dInc = 0;
yCoefficient[ycCnt].plMu1 = (1 « MBITS) / weight;
if (inPlaceCount==0) {
yCoefficient[ycCnt].plMu1 +_ (1 « MBITS) % weight;
}
yCoefficient[ycCnt].pOMul = 0; , if (i==1 && yCoefficient[0].dInc==0) {
yCoefficient[0].pOMul = yCoefficient[0].plMul; -yCoefficient[0].plMu1 = yCoefficient[ycCnt].plMul;
ycCnt--, dCount -= sCount;
inPlaceCount++;
} else {
lastIncr = 2;
ml = dCount;
m2 = sCount - dCount;
ml = ml * (1«MBITS) / ((ml + m2) * weight);
m2 = (1«MSITS) / weight - ml;
if (i=_-_0) { .. , _ yCoefficient[ycCnt].sInc = ly~
yCoefficient[ycCnt].dInc yCOefficient[ycCnt].pOMul (int) yCoefficient[ycCnt].plMulin } else { ,., if (i==1 && yCoeffic ].c~~~-=0) yCoefficient[0.' ~'~ ~ yCof~ ~'nt[0].plMul;
yCoefficient,~~' .plMu1 ,,int } else {
yCoeffic nt[~' ~t].sInc% 1;
,:E
yCoeffi~~t[yc~ .dIncrf.~. 0;
yCoeci ~~c~~= 0;
yCo~..~icien ~Cnt '~ 1 - (int)m2;
i,f~:~~fnl ! =0 ) ycC~~,+; ' } :.
i f ( iti~~'*,~T 0 ) f "- yC '''.'.~~cient[ycCnt].Accumulate = 1;
~'Coe dent[ycCnt].sInc = 0;
~!oef ent[ycCnt].dInc = 1;
'~~gffi ~ t[ycCnt].pOMul = 0;
"~tf~rff icient[ycCnt].plMu1 = (int)ml;
yCoef~icient[ycCnt].dInc = 1;
a.
yJ .
d~~' nt = srcHeight - (sCount - dCount);
i~' aceCount = 0;
~ght = 1;
,;M
t,.
cCnt++;
.r"~.
}
scar.numYCoeff = ycCnt;
..-w; M

;~~:,:::..
w -Z5- ' ~' 21 0 2 9 3 5 APPENDIX B
void StretchBlitlint srcWidth, int dstWidth, int srcHeight, int dstHeight) ( BlltArea source,dest;
int subsrcwidth,subDstWidth,srcXOffset,dstXOffset,coefOffset;
int i,subCoefWidth;
COEFFICIENT localXC[LINEHUFFERSIZE];
GetCoefficients(srcwidth,dstWidth,srcHeight,dstHeight);
srcXOffset = dstXOffset = coefOffset = 0;
do {
if (((int)scaler.numXCoeff - coefOffset) < MAXBLITWIDTH) ( subCoefWidth = (int)scaler.numXCoeff - coefOffset;
} else {
// count coefficients until source increments==linebuffer length for (i=O,subSrcWidth=0; subSrcWidth<MAXBLITWIDTH; i++) ( 'if (xCoefficient[coefOffset+i].sInc) subsrcWidth++;
) subCoefWidth = i - 1;
// look backwards until you see both source and desti~~on flush for (i=subCoefWidth; i>0; i--) if (scaler.src.width > scaler.dst.width) {
if (xCoefficient[coefOffset+i].dInc) bre~,~
} else {
if (xCoefficient[coefOffset+i].sInc) breaki~.., ) subCoefWidth = i + 1;
i // count source and destination incre ~ is for (i=O,subSrcwidth=O,subDstWidth=0; ~ 1 ub ~ Width~ Y~++) if (xCoefficient[coefOffset+i].sInc rcwi~l~,~+;
if (xCoefficient[coefOffset+.~~c) .stWi,f ++;
1 n // transfer coefficients .,}
for (i=0; i<subCOefWidth.~ i++~
localXC[1] = xCoeffi~~~t[cOffset,'];
) // always pad with _~'extra ~ rce ~'ement to make sure the // linebuffers 1 that ex vale localXC [ subCoef . ' h] . s~ ,~: = 1; -localXC[subCoefW ~~~, c = 0;
localXC [ subCpi~r~Wi Mul = 0;
localXC[subCOdth lMu1 = 0;
localXC[subCOe~th~~umulate = 0;
// set. estination areas and blit source. ~ , rcXOffset;
s ~" bl~ srcY;~
~~x,'%~it ~i~:, h = subSrcWidth;
ource. He'd' ~ = scaler.src.height;
'dest.bli~- d~X + dstXOffset;
dest.blit fdstY;
~est.blitt~th = subDstWidth;
~~.gst.bli,~~ ~fight = scaler.dst.height;
~~<< .src.width!=scaler.dst.width) ( s~durce.blitWidth++;
StrBltStrip(source,dest,subCoefWidth+l,scaler.numYCoeff,localXC,yCoefficient);
else {
~ StrBltStrip(source,dest,subCoefwidth,scaler.numYCoeff,localXC,yCoefficient);
~r // get ready for next strip coefOffset += subCoefWidth;
srcXOffset += subSrcWidth;
dstXOffset += subDstWidth;
} while (coefOffset < (int)scaler.numXCoeff);

Claims (19)

1. An image scaler comprising:
(a) means for receiving coefficients a and b and image display values of adjacent pixels P and Q
respective of an image, (b) means for repeatedly operating on said coefficients and values for successive pixels according to the transform where SUM is the sum of the values of the coefficients, R is either zero or the accumulated SUM of an immediately preceding operation, A cc is an accumulated result signal, (c) means for providing a first result signal as an output coefficient word for controlling the display of each of adjacent pixels.
2. An image scaler as defined in claim 1 in which the successive pixels are adjacent pixels of a horizontal line.
3. An image scaler as defined in claim 1 in which the successive pixels are adjacent pixels of adjacent lines.
4. An image scaler comprising:
(a) means for receiving a data signal representing scaling coefficients a and b and image display values of adjacent pixels P and Q respectively of an image, (b) circuit means for repeatedly operating on said received coefficients and values for successive pixels according to the transform where SUM is the sum of the values of the coefficients, R is either zero or the accumulated result of an immediately preceding operation, A cc is an accumulated result signal, (c) means for providing a first result signal as an output coefficient word to apparatus for controlling the display of each of adjacent pixels, (d) the successive pixels being adjacent pixels of adjacent lines, and (e) in which the coefficients a and b define adjacent vertical pixel coefficients a v and b v respectively, relating to vertically adjacent pixels values P v and Q v respectively, and further including means for receiving adjacent horizontal pixel coefficients a H and b H relating to the values of P H and Q H respectively of adjacent horizontal pixels respectively, means for receiving results of an operation on adjacent pixels of adjacent lines, and for performing operations on said coefficients a H and b H for the pixel values P H and Q H of successively adjacent pixels in horizontal lines resulting from a previous operation on said coefficients a v and b v for the pixel values P v and Q v respectively, and accumulating the result according to the transform and providing a result as said first result signal for said controlling the display of adjacent pixels.
5. An image scaler comprising:
(a) means for receiving a data signal representing scaling coefficients a and b and image display values of adjacent pixels P and Q respectively of an image, (b) circuit means for repeatedly operating on said received coefficients and values for successive pixels according to the transform where SUM is the sum of the values of the coefficients, R is either zero or the accumulated result of an immediately preceding operation, A cc is an accumulated result signal, (c) means for providing a first result signal as an output coefficient word to apparatus for controlling the display of each of adjacent pixels, (d) the successive pixels being adjacent pixels of a horizontal line, and (e) in which the coefficients a and b define adjacent horizontal pixel coefficients a H and b H
respectively relating to horizontally adjacent pixel values P H and Q H respectively, and further including means for receiving adjacent vertical pixel coefficients a v and b v relating to values P v and Q v respectively of adjacent vertical pixels respectively, means for receiving results of an operation on horizontally adjacent pixels, and for performing operations on said coefficients a v and b v for the pixel values P v and Q v of adjacent pixels of successively adjacent lines resulting from a previous operation on said coefficients a H and b H
for the pixel values P H and Q H, respectively, and accumulating the result, according to the transform and providing a result as said first result signal for said controlling the display of adjacent pixels.
6. An image scaler as defined in claim 1 in which the sum of said coefficients is fixed.
7. An image scaler as defined in claim 6 in which the sum of said coefficients is 16.
8. An image scaler comprising:
(a) a vertical blend ALU for performing the transform (b) a horizontal blend ALU for performing the transform where a v, b v, a H and b H are vertical and horizontal blending coefficients, P and Q are respectively parameters relating to adjacent pixels, SUM v and SUM H are respectively sums of the vertical and horizontal coefficients, and R is either zero or the accumulated result of a previous operation, (c) means for providing P and Q data of pairs of adjacent image lines to the vertical blend ALU, (d) means for receiving and buffering the output of the vertical blend ALU for providing R data to the vertical blend ALU, and for providing P and Q data to the horizontal blend ALU, (e) a pixel accumulator connected to the output of the horizontal blend ALU for providing R data to the horizontal blend ALU and for providing an output signal comprising pixel data resulting from expansion, contraction or unity transformation of the P and Q data.
9. An image scaler as defined in claim 8 in which the means for providing P and Q data related to pairs of adjacent lines is comprised of a first line buffer for receiving P and Q data from an input source and for outputting the Q data to a Q input of the vertical blend ALU, and a second line buffer for receiving the P and Q data and for outputting the P data to a P input of the vertical blend ALU, whereby the first and second line buffers provide later and earlier adjacent line pixel data respectively to the vertical blend ALU.
10. An image scaler as defined in claim 9 in which the means for receiving and buffering the output of the vertical blend ALU is comprised of a third line buffer.
11. An image scaler as defined in claim 9 in which the means for receiving and buffering the output of the vertical blend ALU is comprised of a pixel latch the output of which is applied to a P input of the horizontal blend ALU, the output of the vertical blend ALU being applied to a Q input of the horizontal blend ALU, and further comprising a multiplexer having a pair of inputs, one input being connected to receive the output of the first line buffer and another input being connected to receive the R data from the means for receiving and buffering the output of the vertical blend ALU, the multiplexer having an output connected to the input of the second line buffer.
12. An image scaler as defined in claim 8 in which both SUM v and SUM H are 16.
13. An image scaler comprising:
(a) a vertical blend ALU for performing the transform (b) a horizontal blend ALU for performing the transform where a v, b v, a H and b H are vertical and horizontal blending coefficients, P and Q are respectively parameters relating to adjacent pixels, SUM v and SUM H are respectively sums of the vertical and horizontal coefficients, and R is either zero or the accumulated result of a previous operation, (c) means for providing P and Q data of pairs of adjacent pixels of a line to the horizontal blend ALU, (d) a pixel accumulator connected to the output of the horizontal blend ALU, for providing R data to the horizontal blend ALU, (e) a multiplexer for receiving an output of signal of the pixel accumulator, having a pair of outputs, and having a control input for controlling on which of said outputs data is applied, (f) a pair of line buffers, each having an input connected to an output of the multiplexer, the output of each of the line buffers respectively connected to corresponding Q and P inputs of the vertical blend ALU, and (g) means for receiving and buffering the output of the vertical blend ALU, for providing R data to the vertical blend ALU, and for providing an output signal comprising pixel data resulting from expansion, contraction or unity transformation of P and Q.
14. An image scales as defined in claim 13 in which the means for providing P and Q data of pairs of adjacent pixels is comprised of an input source connected to a P input of the horizontal blend ALU and through a pixel delay buffer to a Q input of the horizontal blend ALU.
15. A method of scaling images comprising:

(a) receiving coefficients a and b and image display values of adjacent pixels P and Q respective of an image, (b) repeatedly operating on said coefficients and values for successive pixels according to the transform where SUM is the sum of the values of the coefficients, R is either zero or the accumulated SUM of an immediately preceding operation, A cc is an accumulated result signal, (c) providing a first result signal as an output coefficient word for controlling the display of such of adjacent pixels.
16. A method of scaling images as defined in claim 15 in which the successive pixels are adjacent pixels of a horizontal line.
17. A method of scaling images comprising:
(a) receiving data representing scaling coefficients a and b and image display values of adjacent pixels P and Q respectively of an image, (b) repeatedly operating on said coefficients and values for successive pixels according to the transform where SUM is the sum of the values of the coefficients, R is either zero or the accumulated result of an immediately preceding operation, A cc is an accumulated result signal, (c) providing a first result signal as an output coefficient word to apparatus for controlling the display of each of adjacent pixels, (d) the successive pixels being adjacent pixels of a horizontal line, and (e) in which the coefficients a and b define adjacent horizontal pixel coefficients a H and b H
respectively relating to horizontally adjacent pixel values P H and Q H respectively, and further including receiving adjacent vertical pixel coefficients a v and b v relating to values P v and Q v respectively of adjacent vertical pixels respectively, receiving results of an operation on horizontally adjacent pixels, and performing operations on said coefficients a v and b v for the pixel values P v and Q v of adjacent pixels of successively adjacent lines resulting from a previous operation on said coefficients a H and b H for the pixel values P H and Q H, respectively, accumulating the result, according to the transform and providing a result as said first result signal for said controlling the display of adjacent pixels.
18. A method of scaling images as defined in claim 17 in which the sum of said coefficients is fixed.
19. A method of scaling images comprising:
(a) performing in a vertical blend ALU the transform (b) performing in a horizontal blend ALU the transform where a v, b v, a H and b H are vertical and horizontal blending coefficients, P and Q are respectively parameters relating to adjacent pixels in adjacent lines or in a single line, SUM v and SUM H are respectively sums of the vertical and horizontal coefficients, and R is either zero or the accumulated result of a previous operation, (c) for providing an output signal comprising pixel data resulting from expansion, contraction or unity transformation of P and Q in accordance with the aforenoted transforms.
CA002102935A 1993-09-10 1993-11-12 Two dimensional scaler Expired - Lifetime CA2102935C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/118,896 1993-09-10
US08/118,896 US5764238A (en) 1993-09-10 1993-09-10 Method and apparatus for scaling and blending an image to be displayed

Publications (2)

Publication Number Publication Date
CA2102935A1 CA2102935A1 (en) 1995-03-11
CA2102935C true CA2102935C (en) 2000-01-25

Family

ID=22381408

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002102935A Expired - Lifetime CA2102935C (en) 1993-09-10 1993-11-12 Two dimensional scaler

Country Status (2)

Country Link
US (1) US5764238A (en)
CA (1) CA2102935C (en)

Families Citing this family (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6853385B1 (en) * 1999-11-09 2005-02-08 Broadcom Corporation Video, audio and graphics decode, composite and display system
US6661422B1 (en) 1998-11-09 2003-12-09 Broadcom Corporation Video and graphics system with MPEG specific data transfer commands
US6768774B1 (en) 1998-11-09 2004-07-27 Broadcom Corporation Video and graphics system with video scaling
US6798420B1 (en) 1998-11-09 2004-09-28 Broadcom Corporation Video and graphics system with a single-port RAM
US7446774B1 (en) * 1998-11-09 2008-11-04 Broadcom Corporation Video and graphics system with an integrated system bridge controller
US6573905B1 (en) 1999-11-09 2003-06-03 Broadcom Corporation Video and graphics system with parallel processing of graphics windows
US6636222B1 (en) 1999-11-09 2003-10-21 Broadcom Corporation Video and graphics system with an MPEG video decoder for concurrent multi-row decoding
US6700588B1 (en) 1998-11-09 2004-03-02 Broadcom Corporation Apparatus and method for blending graphics and video surfaces
US7982740B2 (en) 1998-11-09 2011-07-19 Broadcom Corporation Low resolution graphics mode support using window descriptors
US6538656B1 (en) 1999-11-09 2003-03-25 Broadcom Corporation Video and graphics system with a data transport processor
US8913667B2 (en) * 1999-11-09 2014-12-16 Broadcom Corporation Video decoding system having a programmable variable-length decoder
US9668011B2 (en) 2001-02-05 2017-05-30 Avago Technologies General Ip (Singapore) Pte. Ltd. Single chip set-top box system
US6975324B1 (en) 1999-11-09 2005-12-13 Broadcom Corporation Video and graphics system with a video transport processor
US6710784B1 (en) * 1999-12-21 2004-03-23 Intel Corporation Method and apparatus for performing a vertical scale filter function in a graphics device using a single line buffer
US7278117B2 (en) * 2002-07-02 2007-10-02 Hewlett-Packard Development Company, L.P. Image segmentation and warping for specialized display viewing
US7667710B2 (en) * 2003-04-25 2010-02-23 Broadcom Corporation Graphics display system with line buffer control scheme
US7681112B1 (en) 2003-05-30 2010-03-16 Adobe Systems Incorporated Embedded reuse meta information
US8063916B2 (en) 2003-10-22 2011-11-22 Broadcom Corporation Graphics layer reduction for video composition
US6999105B2 (en) * 2003-12-04 2006-02-14 International Business Machines Corporation Image scaling employing horizontal partitioning
US8302020B2 (en) 2004-06-25 2012-10-30 Apple Inc. Widget authoring and editing environment
US8566732B2 (en) 2004-06-25 2013-10-22 Apple Inc. Synchronization of widgets and dashboards
US7490295B2 (en) * 2004-06-25 2009-02-10 Apple Inc. Layer for accessing user interface elements
US7761800B2 (en) * 2004-06-25 2010-07-20 Apple Inc. Unified interest layer for user interface
US8453065B2 (en) 2004-06-25 2013-05-28 Apple Inc. Preview and installation of user interface elements in a display environment
US7546543B2 (en) * 2004-06-25 2009-06-09 Apple Inc. Widget authoring and editing environment
US8239749B2 (en) 2004-06-25 2012-08-07 Apple Inc. Procedurally expressing graphic objects for web pages
US8140975B2 (en) * 2005-01-07 2012-03-20 Apple Inc. Slide show navigation
US8543931B2 (en) 2005-06-07 2013-09-24 Apple Inc. Preview including theme based installation of user interface elements in a display environment
US9104294B2 (en) 2005-10-27 2015-08-11 Apple Inc. Linked widgets
US8543824B2 (en) 2005-10-27 2013-09-24 Apple Inc. Safe distribution and use of content
US7743336B2 (en) 2005-10-27 2010-06-22 Apple Inc. Widget security
US7752556B2 (en) 2005-10-27 2010-07-06 Apple Inc. Workflow widgets
US7954064B2 (en) 2005-10-27 2011-05-31 Apple Inc. Multiple dashboards
US7707514B2 (en) 2005-11-18 2010-04-27 Apple Inc. Management of user interface elements in a display environment
TWI319864B (en) * 2006-01-27 2010-01-21 Driving circuit and driving method of a liquid crystal display device
US8155682B2 (en) * 2006-05-05 2012-04-10 Research In Motion Limited Handheld electronic device including automatic mobile phone number management, and associated method
US8869027B2 (en) 2006-08-04 2014-10-21 Apple Inc. Management and generation of dashboards
US20080168367A1 (en) * 2007-01-07 2008-07-10 Chaudhri Imran A Dashboards, Widgets and Devices
US8954871B2 (en) 2007-07-18 2015-02-10 Apple Inc. User-centric widgets and dashboards
US8667415B2 (en) 2007-08-06 2014-03-04 Apple Inc. Web widgets
US8156467B2 (en) * 2007-08-27 2012-04-10 Adobe Systems Incorporated Reusing components in a running application
US8176466B2 (en) 2007-10-01 2012-05-08 Adobe Systems Incorporated System and method for generating an application fragment
US9619304B2 (en) 2008-02-05 2017-04-11 Adobe Systems Incorporated Automatic connections between application components
US8656293B1 (en) 2008-07-29 2014-02-18 Adobe Systems Incorporated Configuring mobile devices
US9377940B2 (en) * 2013-02-28 2016-06-28 Facebook, Inc. Predictive pre-decoding of encoded media item
KR102214028B1 (en) * 2014-09-22 2021-02-09 삼성전자주식회사 Application processor including reconfigurable scaler and device including the same
KR20230077016A (en) * 2021-11-24 2023-06-01 삼성디스플레이 주식회사 Display device and data compensating method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB8415602D0 (en) * 1984-06-19 1984-07-25 Secr Defence Raster image manipulator
US4653013A (en) * 1984-11-19 1987-03-24 General Electric Company Altering spatial characteristics of a digital image
US4875173A (en) * 1985-04-16 1989-10-17 Minolta Camera Kabushiki Kaisha Image enlarging method and device
JPH0660173A (en) * 1992-06-11 1994-03-04 Internatl Business Mach Corp <Ibm> Method and apparatus for reducing picture

Also Published As

Publication number Publication date
US5764238A (en) 1998-06-09
CA2102935A1 (en) 1995-03-11

Similar Documents

Publication Publication Date Title
CA2102935C (en) Two dimensional scaler
US6144365A (en) System and method for performing blending using an over sampling buffer
EP1025558B1 (en) A method and apparatus for performing chroma key, transparency and fog operations
Deering et al. The triangle processor and normal vector shader: a VLSI system for high performance graphics
US6057855A (en) Method and apparatus for providing polygon pixel sub-sample information using incremental means
EP0850462B1 (en) Method and system for rendering graphical objects to image chunks and combining image layers into a display image
JP3860859B2 (en) Computer graphics system with high performance primitive clipping preprocessing
US6005582A (en) Method and system for texture mapping images with anisotropic filtering
US5440682A (en) Draw processor for a high performance three dimensional graphic accelerator
JP4542889B2 (en) Interface and method for interfacing between parametric modeling unit and polygon-based rendering system
US7492376B2 (en) Graphics resampling system and method for use thereof
US7106352B2 (en) Automatic gain control, brightness compression, and super-intensity samples
US5274469A (en) Sample rate converter circuit for image data
EP1429293B1 (en) Alpha correction to compensate for lack of gamma correction
US5760792A (en) Fifo logical addresses for control and error recovery
EP0631252A2 (en) Draw processor for a high performance three dimensional graphics accelerator
EP1434171A2 (en) Method and system for texture mapping a source image to a destination image
US5740344A (en) Texture filter apparatus for computer graphics system
EP0913795B1 (en) Image generation apparatus, image generation method, image generation program recording medium, image composition apparatus, image composition method, and image composition program recording medium
US5867608A (en) Method and apparatus for scaling images
EP0576696A1 (en) Apparatus and method for high speed 2D/3D image transformation and display using a pipelined hardware
JP2755289B2 (en) Rendering method
US20030169271A1 (en) Magnified texture-mapped pixel performance in a single-pixel pipeline
DE19619464C2 (en) Data bus protocol for a computer graphics system
US6919898B2 (en) Method and apparatus for ascertaining and selectively requesting displayed data in a computer graphics system

Legal Events

Date Code Title Description
EEER Examination request
MKEX Expiry

Effective date: 20131112