Go to the source code of this file.
|
| void | SampleTexturePixelBilinear (unsigned char *pDest, const unsigned char *pTopLeft, const unsigned char *pTopRight, const unsigned char *pBottomLeft, const unsigned char *pBottomRight, float x, float y) |
| | Bilinearly sample four decoded four-byte pixels.
|
| void | BilinearInterpolate8bpp (unsigned char *destination, const unsigned char *topLeft, const unsigned char *topRight, const unsigned char *bottomLeft, const unsigned char *bottomRight, float x, float y) |
| | Bilinearly sample four texels of one byte, rounding and clamping the result.
|
| void | BilinearInterpolateArgb1555 (unsigned char *destination, const unsigned char *topLeft, const unsigned char *topRight, const unsigned char *bottomLeft, const unsigned char *bottomRight, float x, float y) |
| | Bilinearly sample four packed ARGB1555 pixels, rounding and clamping each channel.
|
| void | BilinearInterpolateArgb4444 (unsigned char *destination, const unsigned char *topLeft, const unsigned char *topRight, const unsigned char *bottomLeft, const unsigned char *bottomRight, float x, float y) |
| | Bilinearly sample four packed ARGB4444 pixels, rounding and clamping each channel.
|
◆ SampleTexturePixelBilinear()
| void SampleTexturePixelBilinear |
( |
unsigned char * | pDest, |
|
|
const unsigned char * | pTopLeft, |
|
|
const unsigned char * | pTopRight, |
|
|
const unsigned char * | pBottomLeft, |
|
|
const unsigned char * | pBottomRight, |
|
|
float | x, |
|
|
float | y ) |
Bilinearly sample four decoded four-byte pixels.
- Parameters
-
| pDest | Receives the sampled pixel. |
| pTopLeft | The top-left pixel. |
| pTopRight | The top-right pixel. |
| pBottomLeft | The bottom-left pixel. |
| pBottomRight | The bottom-right pixel. |
| x | The horizontal interpolation fraction. |
| y | The vertical interpolation fraction. |
- Ghidra address:
- BRD3D: 0x100254f0
◆ BilinearInterpolate8bpp()
| void BilinearInterpolate8bpp |
( |
unsigned char * | destination, |
|
|
const unsigned char * | topLeft, |
|
|
const unsigned char * | topRight, |
|
|
const unsigned char * | bottomLeft, |
|
|
const unsigned char * | bottomRight, |
|
|
float | x, |
|
|
float | y ) |
Bilinearly sample four texels of one byte, rounding and clamping the result.
- Parameters
-
| destination | Receives the sampled texel. |
| topLeft | The top-left texel. |
| topRight | The top-right texel. |
| bottomLeft | The bottom-left texel. |
| bottomRight | The bottom-right texel. |
| x | The horizontal interpolation fraction. |
| y | The vertical interpolation fraction. |
- Ghidra address:
- BRGlide: 0x10024680
◆ BilinearInterpolateArgb1555()
| void BilinearInterpolateArgb1555 |
( |
unsigned char * | destination, |
|
|
const unsigned char * | topLeft, |
|
|
const unsigned char * | topRight, |
|
|
const unsigned char * | bottomLeft, |
|
|
const unsigned char * | bottomRight, |
|
|
float | x, |
|
|
float | y ) |
Bilinearly sample four packed ARGB1555 pixels, rounding and clamping each channel.
- Ghidra address:
- BRGlide: 0x10024750
◆ BilinearInterpolateArgb4444()
| void BilinearInterpolateArgb4444 |
( |
unsigned char * | destination, |
|
|
const unsigned char * | topLeft, |
|
|
const unsigned char * | topRight, |
|
|
const unsigned char * | bottomLeft, |
|
|
const unsigned char * | bottomRight, |
|
|
float | x, |
|
|
float | y ) |
Bilinearly sample four packed ARGB4444 pixels, rounding and clamping each channel.
- Ghidra address:
- BRGlide: 0x10024aa0