Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
vi.h File Reference

Go to the source code of this file.

Classes

struct  VITimingInfo
 
struct  VIPositionInfo
 

Typedefs

typedef struct _GXRenderModeObj GXRenderModeObj
 
typedef void(* VIRetraceCallback) (u32)
 
typedef void(* VIPositionCallback) (s16 x, s16 y)
 
typedef struct VITimingInfo VITimingInfo
 
typedef struct VIPositionInfo VIPositionInfo
 

Enumerations

enum  VITVMode {
  VI_TVMODE_NTSC_INT = VI_TVMODE(VI_NTSC, VI_INTERLACE) , VI_TVMODE_NTSC_DS = VI_TVMODE(VI_NTSC, VI_NON_INTERLACE) , VI_TVMODE_NTSC_PROG = VI_TVMODE(VI_NTSC, VI_PROGRESSIVE) , VI_TVMODE_NTSC_3D = VI_TVMODE(VI_NTSC, VI_3D) ,
  VI_TVMODE_PAL_INT = VI_TVMODE(VI_PAL, VI_INTERLACE) , VI_TVMODE_PAL_DS = VI_TVMODE(VI_PAL, VI_NON_INTERLACE) , VI_TVMODE_MPAL_INT = VI_TVMODE(VI_MPAL, VI_INTERLACE) , VI_TVMODE_MPAL_DS = VI_TVMODE(VI_MPAL, VI_NON_INTERLACE) ,
  VI_TVMODE_DEBUG_INT = VI_TVMODE(VI_DEBUG, VI_INTERLACE) , VI_TVMODE_DEBUG_PAL_INT = VI_TVMODE(VI_DEBUG_PAL, VI_INTERLACE) , VI_TVMODE_DEBUG_PAL_DS = VI_TVMODE(VI_DEBUG_PAL, VI_NON_INTERLACE) , VI_TVMODE_EURGB60_INT = VI_TVMODE(VI_EURGB60, VI_INTERLACE) ,
  VI_TVMODE_EURGB60_DS = VI_TVMODE(VI_EURGB60, VI_NON_INTERLACE) , VI_TVMODE_GCA_INT = VI_TVMODE(VI_GCA, VI_INTERLACE) , VI_TVMODE_GCA_DS = VI_TVMODE(VI_GCA, VI_NON_INTERLACE) , VI_TVMODE_GCA_PROG = VI_TVMODE(VI_GCA, VI_PROGRESSIVE)
}
 
enum  VIXFBMode { VI_XFBMODE_SF = 0 , VI_XFBMODE_DF }
 

Functions

void VIWaitForRetrace (void)
 
void VISetNextFrameBuffer (void *)
 
VIRetraceCallback VISetPreRetraceCallback (VIRetraceCallback)
 
VIRetraceCallback VISetPostRetraceCallback (VIRetraceCallback)
 
void VIInit ()
 
void VIConfigure (const GXRenderModeObj *)
 
void VIFlush ()
 
voidVIGetNextFrameBuffer ()
 
voidVIGetCurrentFrameBuffer ()
 
void VISetBlack (BOOL)
 
u32 VIGetRetraceCount ()
 
u32 VIGetDTVStatus ()
 
u32 VIGetTvFormat (void)
 
vu16 __VIRegs[59] AT_ADDRESS (0xCC002000)
 

Typedef Documentation

◆ GXRenderModeObj

◆ VIPositionCallback

typedef void(* VIPositionCallback) (s16 x, s16 y)

◆ VIPositionInfo

◆ VIRetraceCallback

typedef void(* VIRetraceCallback) (u32)

◆ VITimingInfo

Enumeration Type Documentation

◆ VITVMode

Enumerator
VI_TVMODE_NTSC_INT 
VI_TVMODE_NTSC_DS 
VI_TVMODE_NTSC_PROG 
VI_TVMODE_NTSC_3D 
VI_TVMODE_PAL_INT 
VI_TVMODE_PAL_DS 
VI_TVMODE_MPAL_INT 
VI_TVMODE_MPAL_DS 
VI_TVMODE_DEBUG_INT 
VI_TVMODE_DEBUG_PAL_INT 
VI_TVMODE_DEBUG_PAL_DS 
VI_TVMODE_EURGB60_INT 
VI_TVMODE_EURGB60_DS 
VI_TVMODE_GCA_INT 
VI_TVMODE_GCA_DS 
VI_TVMODE_GCA_PROG 

◆ VIXFBMode

Enumerator
VI_XFBMODE_SF 
VI_XFBMODE_DF 

Function Documentation

◆ AT_ADDRESS()

vu16 __VIRegs[59] AT_ADDRESS ( 0xCC002000  )

◆ VIConfigure()

void VIConfigure ( const GXRenderModeObj obj)

◆ VIFlush()

void VIFlush ( )

◆ VIGetCurrentFrameBuffer()

void * VIGetCurrentFrameBuffer ( )

◆ VIGetDTVStatus()

u32 VIGetDTVStatus ( )

◆ VIGetNextFrameBuffer()

void * VIGetNextFrameBuffer ( )

◆ VIGetRetraceCount()

u32 VIGetRetraceCount ( )

◆ VIGetTvFormat()

u32 VIGetTvFormat ( void  )

◆ VIInit()

void VIInit ( )

◆ VISetBlack()

void VISetBlack ( BOOL  isBlack)

◆ VISetNextFrameBuffer()

void VISetNextFrameBuffer ( void fb)

◆ VISetPostRetraceCallback()

VIRetraceCallback VISetPostRetraceCallback ( VIRetraceCallback  cb)

◆ VISetPreRetraceCallback()

VIRetraceCallback VISetPreRetraceCallback ( VIRetraceCallback  cb)

◆ VIWaitForRetrace()

void VIWaitForRetrace ( void  )