KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches

PowerVR texture formats More...

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)
 8BPP palette selector
 
#define PVR_TXRFMT_4BPP_PAL(x)
 4BPP palette selector
 

Detailed Description

PowerVR texture formats

These are the texture formats that the PVR supports. Note that some of these, you can OR together with other values.

Macro Definition Documentation

◆ PVR_TXRFMT_4BPP_PAL

#define PVR_TXRFMT_4BPP_PAL ( x)
Value:
((x) << 21)

4BPP palette selector

Parameters
xThe palette index

◆ PVR_TXRFMT_8BPP_PAL

#define PVR_TXRFMT_8BPP_PAL ( x)
Value:
((x) << 25)

8BPP palette selector

Parameters
xThe palette index

◆ PVR_TXRFMT_ARGB1555

#define PVR_TXRFMT_ARGB1555   (0 << 27)

16-bit ARGB1555

◆ PVR_TXRFMT_ARGB4444

#define PVR_TXRFMT_ARGB4444   (2 << 27)

16-bit ARGB4444

◆ PVR_TXRFMT_BUMP

#define PVR_TXRFMT_BUMP   (4 << 27)

Bumpmap format.

◆ PVR_TXRFMT_NONE

#define PVR_TXRFMT_NONE   0

No texture.

◆ PVR_TXRFMT_NONTWIDDLED

#define PVR_TXRFMT_NONTWIDDLED   (1 << 26)

Texture is not twiddled.

◆ PVR_TXRFMT_NOSTRIDE

#define PVR_TXRFMT_NOSTRIDE   (0 << 21)

Texture is not strided.

◆ PVR_TXRFMT_PAL4BPP

#define PVR_TXRFMT_PAL4BPP   (5 << 27)

4BPP paletted format

◆ PVR_TXRFMT_PAL8BPP

#define PVR_TXRFMT_PAL8BPP   (6 << 27)

8BPP paletted format

◆ PVR_TXRFMT_RGB565

#define PVR_TXRFMT_RGB565   (1 << 27)

16-bit RGB565

◆ PVR_TXRFMT_STRIDE

#define PVR_TXRFMT_STRIDE   (1 << 21)

Texture is strided.

◆ PVR_TXRFMT_TWIDDLED

#define PVR_TXRFMT_TWIDDLED   (0 << 26)

Texture is twiddled.

◆ PVR_TXRFMT_VQ_DISABLE

#define PVR_TXRFMT_VQ_DISABLE   (0 << 30)

Not VQ encoded.

◆ PVR_TXRFMT_VQ_ENABLE

#define PVR_TXRFMT_VQ_ENABLE   (1 << 30)

VQ encoded.

◆ PVR_TXRFMT_YUV422

#define PVR_TXRFMT_YUV422   (3 << 27)

YUV422 format.