wut  v1.7.0
Wii U Toolchain
Typedefs | Enumerations | Functions
Coreinit_savedframe
Collaboration diagram for Coreinit_savedframe:

Typedefs

typedef enum OSSavedFrameType OSSavedFrameType
 
typedef enum OSSavedFrameScreen OSSavedFrameScreen
 

Enumerations

enum  OSSavedFrameType {
  OS_SAVED_FRAME_A = 0 ,
  OS_SAVED_FRAME_B = 1
}
 
enum  OSSavedFrameScreen {
  OS_SAVED_FRAME_SCREEN_TV = 2 ,
  OS_SAVED_FRAME_SCREEN_DRC = 4
}
 

Functions

uint32_t __OSClearSavedFrame (OSSavedFrameType type, OSSavedFrameScreen screen)
 
void __OSGetSavedFrame (OSSavedFrameScreen screen, void *outPtr, uint32_t ptr_size)
 Gets the GX2Texture saved via __OSSetSavedFrame. More...
 
void __OSGetSavedFrameA (OSSavedFrameScreen screen, void *outPtr, uint32_t ptr_size)
 Gets the GX2Texture saved via __OSSetSavedFrame. More...
 
void __OSGetSavedFrameB (OSSavedFrameScreen screen, void *outPtr, uint32_t ptr_size)
 Gets the GX2Texture saved via __OSSetSavedFrame. More...
 
BOOL __OSGetSavedFrameGammaA (OSSavedFrameScreen screen, float *outGamma)
 
BOOL __OSGetSavedFrameGammaB (OSSavedFrameScreen screen, float *outGamma)
 
void * __OSGetSavedFramePtr (OSSavedFrameType type, OSSavedFrameScreen screen)
 
void * __OSGetSavedFramePtrForRead (OSSavedFrameScreen screen)
 
void * __OSGetSavedFramePtrForWrite (OSSavedFrameScreen screen)
 
uint32_t __OSGetSavedFrames ()
 
uint32_t __OSGetSavedFramesA ()
 
uint32_t __OSGetSavedFramesB ()
 
void __OSResetSavedFrame (OSSavedFrameScreen screen)
 
int __OSSetSavedFrame (OSSavedFrameScreen screen, void *data, uint32_t size)
 
void __OSSetSavedFrameGamma (float gamma, OSSavedFrameScreen screen)
 

Detailed Description

Typedef Documentation

◆ OSSavedFrameType

◆ OSSavedFrameScreen

Enumeration Type Documentation

◆ OSSavedFrameType

Enumerator
OS_SAVED_FRAME_A 
OS_SAVED_FRAME_B 

Definition at line 14 of file savedframe.h.

◆ OSSavedFrameScreen

Enumerator
OS_SAVED_FRAME_SCREEN_TV 
OS_SAVED_FRAME_SCREEN_DRC 

Definition at line 20 of file savedframe.h.

Function Documentation

◆ __OSClearSavedFrame()

uint32_t __OSClearSavedFrame ( OSSavedFrameType  type,
OSSavedFrameScreen  screen 
)

◆ __OSGetSavedFrame()

void __OSGetSavedFrame ( OSSavedFrameScreen  screen,
void *  outPtr,
uint32_t  ptr_size 
)

Gets the GX2Texture saved via __OSSetSavedFrame.

Parameters
ptr_sizemust be <= 0x100

◆ __OSGetSavedFrameA()

void __OSGetSavedFrameA ( OSSavedFrameScreen  screen,
void *  outPtr,
uint32_t  ptr_size 
)

Gets the GX2Texture saved via __OSSetSavedFrame.

Parameters
ptr_sizemust be <= 0x100

◆ __OSGetSavedFrameB()

void __OSGetSavedFrameB ( OSSavedFrameScreen  screen,
void *  outPtr,
uint32_t  ptr_size 
)

Gets the GX2Texture saved via __OSSetSavedFrame.

Parameters
ptr_sizemust be <= 0x100

◆ __OSGetSavedFrameGammaA()

BOOL __OSGetSavedFrameGammaA ( OSSavedFrameScreen  screen,
float *  outGamma 
)

◆ __OSGetSavedFrameGammaB()

BOOL __OSGetSavedFrameGammaB ( OSSavedFrameScreen  screen,
float *  outGamma 
)

◆ __OSGetSavedFramePtr()

void* __OSGetSavedFramePtr ( OSSavedFrameType  type,
OSSavedFrameScreen  screen 
)

◆ __OSGetSavedFramePtrForRead()

void* __OSGetSavedFramePtrForRead ( OSSavedFrameScreen  screen)

◆ __OSGetSavedFramePtrForWrite()

void* __OSGetSavedFramePtrForWrite ( OSSavedFrameScreen  screen)

◆ __OSGetSavedFrames()

uint32_t __OSGetSavedFrames ( )

◆ __OSGetSavedFramesA()

uint32_t __OSGetSavedFramesA ( )

◆ __OSGetSavedFramesB()

uint32_t __OSGetSavedFramesB ( )

◆ __OSResetSavedFrame()

void __OSResetSavedFrame ( OSSavedFrameScreen  screen)

◆ __OSSetSavedFrame()

int __OSSetSavedFrame ( OSSavedFrameScreen  screen,
void *  data,
uint32_t  size 
)
Parameters
dataexpected to be a GX2Texture
sizemust be <= 0x100
Returns
0 on succes, -1 on error

◆ __OSSetSavedFrameGamma()

void __OSSetSavedFrameGamma ( float  gamma,
OSSavedFrameScreen  screen 
)