24#ifndef __DC_PVR_PVR_TEXTURE_H
25#define __DC_PVR_PVR_TEXTURE_H
63#define PVR_TXRLOAD_4BPP 0x01
64#define PVR_TXRLOAD_8BPP 0x02
65#define PVR_TXRLOAD_16BPP 0x03
66#define PVR_TXRLOAD_FMT_MASK 0x0f
68#define PVR_TXRLOAD_VQ_LOAD 0x10
69#define PVR_TXRLOAD_INVERT_Y 0x20
70#define PVR_TXRLOAD_FMT_VQ 0x40
71#define PVR_TXRLOAD_FMT_TWIDDLED 0x80
72#define PVR_TXRLOAD_FMT_NOTWIDDLE 0x80
73#define PVR_TXRLOAD_DMA 0x8000
74#define PVR_TXRLOAD_NONBLOCK 0x4000
75#define PVR_TXRLOAD_SQ 0x2000
100 uint32_t w, uint32_t h, uint32_t flags);
void pvr_txr_load(const void *src, pvr_ptr_t dst, uint32_t count)
Load raw texture data from an SH-4 buffer into PVR RAM.
void pvr_txr_load_kimg(const kos_img_t *img, pvr_ptr_t dst, uint32_t flags)
Load a KOS Platform Independent Image (subject to constraint checking).
void pvr_txr_load_ex(const void *src, pvr_ptr_t dst, uint32_t w, uint32_t h, uint32_t flags)
Load texture data from an SH-4 buffer into PVR RAM, twiddling it in the process.
void * pvr_ptr_t
PVR texture memory pointer.
Definition pvr_mem.h:45
Platform-independent image type.
Platform-indpendent image type.
Definition img.h:51