62typedef enum pvr_dma_type {
143 __depr(
"Use pvr_dma_ta_load_txr instead.");
pvr_dma_type_t
Definition pvr_dma.h:62
@ PVR_DMA_TA
Transfer to the tile accelerator.
Definition pvr_dma.h:65
@ PVR_DMA_VRAM32_SB
Transfer to/from VRAM using PVR i/f.
Definition pvr_dma.h:67
@ PVR_DMA_REGISTERS
Transfer to/from PVR registers.
Definition pvr_dma.h:69
@ PVR_DMA_VRAM32
Transfer to VRAM using TA bus.
Definition pvr_dma.h:64
@ PVR_DMA_YUV
Transfer to the YUV converter (TA)
Definition pvr_dma.h:66
@ PVR_DMA_VRAM64_SB
Transfer to/from VRAM using PVR i/f.
Definition pvr_dma.h:68
@ PVR_DMA_VRAM64
Transfer to VRAM using TA bus.
Definition pvr_dma.h:63
int pvr_dma_ready(void) __depr("Use pvr_dma_ta_ready instead.")
Checks if the TA DMA is inactive.
void(* pvr_dma_callback_t)(void *data)
PVR DMA interrupt callback type.
Definition pvr_dma.h:82
void * pvr_sq_set16(void *dest, uint32_t c, size_t n, pvr_dma_type_t type)
Set a block of PVR memory to a 16-bit value.
int pvr_dma_download_txr(const void *src, void *dest, size_t count, int block, pvr_dma_callback_t callback, void *cbdata)
Download a texture using PVR DMA.
int pvr_dma_transfer(const void *src, void *dest, size_t count, pvr_dma_type_t type, int block, pvr_dma_callback_t callback, void *cbdata)
Perform a DMA transfer to/from the TA/PVR RAM.
void * pvr_sq_set32(void *dest, uint32_t c, size_t n, pvr_dma_type_t type)
Set a block of PVR memory to a 32-bit value.
void * pvr_sq_load(void *dest, const void *src, size_t n, pvr_dma_type_t type)
Copy a block of memory to VRAM.
int pvr_dma_ta_ready(void)
Checks if the TA DMA is inactive.
int pvr_dma_load_ta(const void *src, size_t count, int block, pvr_dma_callback_t callback, void *cbdata)
Load vertex data to the TA using TA DMA.
int pvr_dma_ta_load_txr(const void *src, pvr_ptr_t dest, size_t count, int block, pvr_dma_callback_t callback, void *cbdata)
Load a texture using TA DMA.
void pvr_dma_init(void)
Initialize TA/PVR DMA.
int pvr_dma_yuv_conv(const void *src, size_t count, int block, pvr_dma_callback_t callback, void *cbdata)
Load yuv data to the YUV converter using TA DMA.
void pvr_dma_shutdown(void)
Shut down TA/PVR DMA.
int pvr_dma_rb_ready(void)
Checks if the PVR DMA is inactive.
int pvr_txr_load_dma(const void *src, pvr_ptr_t dest, size_t count, int block, pvr_dma_callback_t callback, void *cbdata) __depr("Use pvr_dma_ta_load_txr instead.")
Load a texture using TA DMA.
int pvr_dma_rb_load_txr(const void *src, pvr_ptr_t dest, size_t count, int block, pvr_dma_callback_t callback, void *cbdata)
Load a texture using PVR DMA.
void * pvr_ptr_t
PVR texture memory pointer.
Definition pvr.h:68
#define __depr(m)
Mark something as deprecated, with an informative message.
Definition cdefs.h:119
void * pvr_ptr_t
Definition pvr_dma.h:47
Functions to access the SH4 Store Queues.