Searched defs:ColorDist (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/OptionRomPkg/Application/BltLibSample/
H A DBltLibSample.c173 IN UINTN ColorDist,
177 return (UINT8) (((TriWidth - ColorDist) * 0x100) / TriWidth);
178 //return (((TriWidth * TriWidth - ColorDist * ColorDist) * 0x100) / (TriWidth * TriWidth));
192 UINT32 ColorDist; local
229 ColorDist = Uint32Dist(X - X1, Y1 - Y);
230 Color.Red = GetTriColor (ColorDist, TriWidth);
232 ColorDist = Uint32Dist((X < X2) ? X2 - X : X - X2, Y - Y2);
233 Color.Green = GetTriColor (ColorDist, TriWidth);
235 ColorDist
172 GetTriColor( IN UINTN ColorDist, IN UINTN TriWidth ) argument
[all...]

Completed in 42 milliseconds