|
KallistiOS
2.0.0
|
Macros | |
| #define | PVR_TXRFMT_NONE 0 |
| No texture. | |
| #define | PVR_TXRFMT_VQ_DISABLE (0 << 30) |
| Not VQ encoded. | |
| #define | PVR_TXRFMT_VQ_ENABLE (1 << 30) |
| VQ encoded. | |
| #define | PVR_TXRFMT_ARGB1555 (0 << 27) |
| 16-bit ARGB1555 | |
| #define | PVR_TXRFMT_RGB565 (1 << 27) |
| 16-bit RGB565 | |
| #define | PVR_TXRFMT_ARGB4444 (2 << 27) |
| 16-bit ARGB4444 | |
| #define | PVR_TXRFMT_YUV422 (3 << 27) |
| YUV422 format. | |
| #define | PVR_TXRFMT_BUMP (4 << 27) |
| Bumpmap format. | |
| #define | PVR_TXRFMT_PAL4BPP (5 << 27) |
| 4BPP paletted format | |
| #define | PVR_TXRFMT_PAL8BPP (6 << 27) |
| 8BPP paletted format | |
| #define | PVR_TXRFMT_TWIDDLED (0 << 26) |
| Texture is twiddled. | |
| #define | PVR_TXRFMT_NONTWIDDLED (1 << 26) |
| Texture is not twiddled. | |
| #define | PVR_TXRFMT_NOSTRIDE (0 << 21) |
| Texture is not strided. | |
| #define | PVR_TXRFMT_STRIDE (1 << 21) |
| Texture is strided. | |
| #define | PVR_TXRFMT_8BPP_PAL(x) ((x) << 25) |
| 8BPP palette selector | |
| #define | PVR_TXRFMT_4BPP_PAL(x) ((x) << 21) |
| 4BPP palette selector | |
These are the texture formats that the PVR supports. Note that some of these, you can OR together with other values.
| #define PVR_TXRFMT_4BPP_PAL | ( | x | ) | ((x) << 21) |
4BPP palette selector
| x | The palette index |
| #define PVR_TXRFMT_8BPP_PAL | ( | x | ) | ((x) << 25) |
8BPP palette selector
| x | The palette index |
| #define PVR_TXRFMT_ARGB1555 (0 << 27) |
16-bit ARGB1555
| #define PVR_TXRFMT_ARGB4444 (2 << 27) |
16-bit ARGB4444
| #define PVR_TXRFMT_BUMP (4 << 27) |
Bumpmap format.
| #define PVR_TXRFMT_NONE 0 |
No texture.
| #define PVR_TXRFMT_NONTWIDDLED (1 << 26) |
Texture is not twiddled.
| #define PVR_TXRFMT_NOSTRIDE (0 << 21) |
Texture is not strided.
| #define PVR_TXRFMT_PAL4BPP (5 << 27) |
4BPP paletted format
| #define PVR_TXRFMT_PAL8BPP (6 << 27) |
8BPP paletted format
| #define PVR_TXRFMT_RGB565 (1 << 27) |
16-bit RGB565
| #define PVR_TXRFMT_STRIDE (1 << 21) |
Texture is strided.
| #define PVR_TXRFMT_TWIDDLED (0 << 26) |
Texture is twiddled.
| #define PVR_TXRFMT_VQ_DISABLE (0 << 30) |
Not VQ encoded.
| #define PVR_TXRFMT_VQ_ENABLE (1 << 30) |
VQ encoded.
| #define PVR_TXRFMT_YUV422 (3 << 27) |
YUV422 format.
1.8.1.1