wut  v1.7.0
Wii U Toolchain
savedframe.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 typedef enum OSSavedFrameType
15 {
19 
20 typedef enum OSSavedFrameScreen
21 {
25 
26 uint32_t
28  OSSavedFrameScreen screen);
29 
34 void
36  void *outPtr,
37  uint32_t ptr_size);
38 
43 void
45  void *outPtr,
46  uint32_t ptr_size);
47 
52 void
54  void *outPtr,
55  uint32_t ptr_size);
56 
57 BOOL
59  float *outGamma);
60 
61 BOOL
63  float *outGamma);
64 
65 void *
67  OSSavedFrameScreen screen);
68 
69 void *
71 
72 void *
74 
75 uint32_t
77 
78 uint32_t
80 
81 uint32_t
83 
84 void
86 
93 int
95  void *data,
96  uint32_t size);
97 
98 void
100  OSSavedFrameScreen screen);
101 
102 #ifdef __cplusplus
103 }
104 #endif
105 
uint32_t __OSClearSavedFrame(OSSavedFrameType type, OSSavedFrameScreen screen)
void * __OSGetSavedFramePtrForRead(OSSavedFrameScreen screen)
void __OSGetSavedFrameB(OSSavedFrameScreen screen, void *outPtr, uint32_t ptr_size)
Gets the GX2Texture saved via __OSSetSavedFrame.
int __OSSetSavedFrame(OSSavedFrameScreen screen, void *data, uint32_t size)
void __OSGetSavedFrameA(OSSavedFrameScreen screen, void *outPtr, uint32_t ptr_size)
Gets the GX2Texture saved via __OSSetSavedFrame.
BOOL __OSGetSavedFrameGammaB(OSSavedFrameScreen screen, float *outGamma)
uint32_t __OSGetSavedFrames()
void __OSSetSavedFrameGamma(float gamma, OSSavedFrameScreen screen)
OSSavedFrameScreen
Definition: savedframe.h:21
void * __OSGetSavedFramePtrForWrite(OSSavedFrameScreen screen)
void __OSGetSavedFrame(OSSavedFrameScreen screen, void *outPtr, uint32_t ptr_size)
Gets the GX2Texture saved via __OSSetSavedFrame.
void * __OSGetSavedFramePtr(OSSavedFrameType type, OSSavedFrameScreen screen)
uint32_t __OSGetSavedFramesB()
uint32_t __OSGetSavedFramesA()
BOOL __OSGetSavedFrameGammaA(OSSavedFrameScreen screen, float *outGamma)
OSSavedFrameType
Definition: savedframe.h:15
void __OSResetSavedFrame(OSSavedFrameScreen screen)
@ OS_SAVED_FRAME_SCREEN_TV
Definition: savedframe.h:22
@ OS_SAVED_FRAME_SCREEN_DRC
Definition: savedframe.h:23
@ OS_SAVED_FRAME_A
Definition: savedframe.h:16
@ OS_SAVED_FRAME_B
Definition: savedframe.h:17
int32_t BOOL
Definition: wut_types.h:7