24#ifndef __DC_PVR_PVR_PALETTE_H
25#define __DC_PVR_PVR_PALETTE_H
51typedef enum pvr_palfmt {
static void pvr_set_pal_entry(uint32_t idx, uint32_t value)
Set a palette value.
Definition pvr_pal.h:85
pvr_palfmt_t
Color palette formats of the PowerVR.
Definition pvr_pal.h:51
void pvr_set_pal_format(pvr_palfmt_t fmt)
Set the palette format.
@ PVR_PAL_ARGB1555
16-bit ARGB1555 palette format
Definition pvr_pal.h:52
@ PVR_PAL_ARGB4444
16-bit ARGB4444 palette format
Definition pvr_pal.h:54
@ PVR_PAL_RGB565
16-bit RGB565 palette format
Definition pvr_pal.h:53
@ PVR_PAL_ARGB8888
32-bit ARGB8888 palette format
Definition pvr_pal.h:55
#define PVR_SET(REG, VALUE)
Set a PVR register value.
Definition pvr_regs.h:57
#define PVR_PALETTE_TABLE_BASE
Base of the palette table.
Definition pvr_regs.h:156