Claims
- 1. A method for determining the rate of change of texture address variables U and V as a function of address variables x and y of a pixel, wherein,
U is the texture coordinate of the pixel in the S direction V is the texture coordinate of the pixel in the T direction W is the homogenous w value of the pixel (typically the depth value) Inv_W is the inverse of W C0n is the value of attribute n at some reference point. (x′=0, y′=0) CXn is the change of attribute n for one pixel in the raster x direction CYn is the change of attribute n for one pixel in the raster y direction n includes S=U/W and T=V/W x is the screen coordinate of the pixel in the x raster direction y is the screen coordinate of the pixel in the y raster direction the method comprising the steps of: calculate the start value and rate of change in raster x,y direction for the attribute T resulting in C0s, CXs, Cys; calculate the start value and rate of change in the raster x,y direction for the attribute T, resulting in C0t, CXt, Cyt; calculate the start value and rate of change in the raster x,y direction for the attribute 1/W, resulting in C0inv_W, CXinv_W, CYinv_W; calculate the perspective correct values of U and V resulting in 23U=C0s+CXs*X+CYs*YC0inv_w+CXinv_w*X+CYinv_w*YV=C0t+CXt*X+CYt*YC0inv_w+CXinv_w*X+CYinv_w*Y Calculate the rate of change of texture address variables U and V as a function of address variables x and y, resulting in 24ⅆuⅆx=W*[CXs-U*CXinv_w]ⅆuⅆy=W*[CYs-U*CYinv_w]ⅆvⅆy=W*[CYt-V*CYinv_w]
- 2. The method of claim 1 further including the step of determining a mip-map selection and a weighting factor for trilinear blending in a texture mapping process comprising calculating:
- 3. The method of claim 1 further including the step of determining a mip-map selection and a weighting factor for trilinear blending in a texture mapping process comprising calculating:
- 4. A method for compressing texture values comprising:
Assigning texture values in a YUV format; Packing the texture values into 32-bit words; and Color promoting the texture values to 8-bit values.
- 5. A method of performing motion compensation in a computer graphics engine having trilinear filtering hardware and a pallette RAM, comprising:
Using texture filtering hardware to perform motion compensation filtering; and Using pallette RAM to store motion compensation error correction data.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] The present application is a continuation application of Ser. No. 09/799,943 filed on Mar. 5, 2001, which is a continuation application of Ser. No. 09/618,082 dated Jul. 17, 2000 which is a conversion of provisional application Serial No. 60/144,288 filed Jul. 16, 1999.
[0002] This application is related to U.S. patent application Ser. No. 09/617,416 filed on Jul. 17, 2000 and titled VIDEO PROCESSING ENGINE OVERLAY FILTER SCALER.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60144288 |
Jul 1999 |
US |
Divisions (1)
|
Number |
Date |
Country |
Parent |
09978973 |
Oct 2001 |
US |
Child |
10304292 |
Nov 2002 |
US |
Continuations (2)
|
Number |
Date |
Country |
Parent |
09799943 |
Mar 2001 |
US |
Child |
09978973 |
Oct 2001 |
US |
Parent |
09618082 |
Jul 2000 |
US |
Child |
09799943 |
Mar 2001 |
US |