wut
v1.7.0
Wii U Toolchain
|
Typedefs | |
typedef enum AVMTvAspectRatio | AVMTvAspectRatio |
typedef enum AVMTvResolution | AVMTvResolution |
typedef enum AVMTvVideoRegion | AVMTvVideoRegion |
Enumerations | |
enum | AVMTvAspectRatio { AVM_TV_ASPECT_RATIO_4_3 , AVM_TV_ASPECT_RATIO_16_9 } |
enum | AVMTvResolution { AVM_TV_RESOLUTION_576I = 1 , AVM_TV_RESOLUTION_480I = 2 , AVM_TV_RESOLUTION_480P = 3 , AVM_TV_RESOLUTION_720P = 4 , AVM_TV_RESOLUTION_720P_3D = 5 , AVM_TV_RESOLUTION_1080I = 6 , AVM_TV_RESOLUTION_1080P = 7 , AVM_TV_RESOLUTION_480I_PAL60 = 10 , AVM_TV_RESOLUTION_576P = 11 , AVM_TV_RESOLUTION_720P_50HZ = 12 , AVM_TV_RESOLUTION_1080I_50HZ = 13 , AVM_TV_RESOLUTION_1080P_50HZ = 14 } |
enum | AVMTvVideoRegion { AVM_TV_VIDEO_REGION_NTSC = 1 , AVM_TV_VIDEO_REGION_PAL } |
Functions | |
BOOL | AVMDebugIsNTSC (void) |
Gets the TV video region. More... | |
BOOL | AVMGetCurrentPort (TVEPort *outPort) |
Gets the TV port. More... | |
void | AVMGetHDMIState (TVEHdmiState *outState) |
Gets the HDMI state. More... | |
BOOL | AVMGetTVAspectRatio (AVMTvAspectRatio *outAspectRatio) |
Gets the TV aspect ratio. More... | |
BOOL | AVMGetTVScanMode (AVMTvResolution *outResolution) |
Gets the TV resolution. More... | |
int32_t | AVMGetTVUnderScan (uint32_t *outUnderScan) |
Gets the TV under scan. More... | |
BOOL | AVMIsAVOutReady (void) |
Determines whether a TV is currently connected and displaying the Wii U source. More... | |
BOOL | AVMSetTVAspectRatio (AVMTvAspectRatio aspectRatio) |
Sets the TV aspect ratio. More... | |
BOOL | AVMSetTVEnable (BOOL enable) |
Sets whether to show or hide the TV video out. More... | |
int32_t | AVMSetTVOutPort (TVEPort port, AVMTvResolution resolution) |
Sets the TV port. More... | |
int32_t | AVMSetTVScanMode (AVMTvResolution resolution, uint32_t unknown, TVEPort port) |
Sets the TV resolution and port. More... | |
int32_t | AVMSetTVScanResolution (AVMTvResolution resolution) |
Sets the TV resolution. More... | |
int32_t | AVMSetTVUnderScan (uint32_t underScan) |
Sets the TV under scan. More... | |
int32_t | AVMSetTVUnderScanParam (uint32_t underScan) |
int32_t | AVMSetTVVideoRegion (AVMTvVideoRegion videoRegion, TVEPort port, AVMTvResolution resolution) |
Sets the TV video region. More... | |
typedef enum AVMTvAspectRatio AVMTvAspectRatio |
typedef enum AVMTvResolution AVMTvResolution |
typedef enum AVMTvVideoRegion AVMTvVideoRegion |
enum AVMTvAspectRatio |
enum AVMTvResolution |
enum AVMTvVideoRegion |
BOOL AVMDebugIsNTSC | ( | void | ) |
Gets the TV port.
outPort | Pointer to write the port to. |
TRUE
.void AVMGetHDMIState | ( | TVEHdmiState * | outState | ) |
Gets the HDMI state.
outState | Pointer to write the state to. |
BOOL AVMGetTVAspectRatio | ( | AVMTvAspectRatio * | outAspectRatio | ) |
Gets the TV aspect ratio.
outAspectRatio | Pointer to write the aspect ratio to. |
TRUE
. BOOL AVMGetTVScanMode | ( | AVMTvResolution * | outResolution | ) |
Gets the TV resolution.
outResolution | Pointer to write the resolution to. |
TRUE
. int32_t AVMGetTVUnderScan | ( | uint32_t * | outUnderScan | ) |
Gets the TV under scan.
outUnderScan | Pointer to write the under scan to. |
0
on success or -1
on failure. BOOL AVMIsAVOutReady | ( | void | ) |
Determines whether a TV is currently connected and displaying the Wii U source.
Internally checks that either the TVEHdmiState is TVE_HDMI_STATE_DONE or the analog state is 1
, depending on whether the port is set to HDMI or not.
TRUE
if a TV is connected, FALSE
otherwise.BOOL AVMSetTVAspectRatio | ( | AVMTvAspectRatio | aspectRatio | ) |
Sets the TV aspect ratio.
aspectRatio | Must be one of AVMTvAspectRatio. |
TRUE
on success or FALSE
on failure. Sets whether to show or hide the TV video out.
enable | If FALSE then a black image is output (i.e. blanks the screen). The TV still receives a signal as normal and still plays audio. |
TRUE
on success or FALSE
on failure. int32_t AVMSetTVOutPort | ( | TVEPort | port, |
AVMTvResolution | resolution | ||
) |
Sets the TV port.
port | Must be one of TVEPort. |
resolution | Must be one of AVMTvResolution. |
0
on success or a negative value on error. int32_t AVMSetTVScanMode | ( | AVMTvResolution | resolution, |
uint32_t | unknown, | ||
TVEPort | port | ||
) |
Sets the TV resolution and port.
resolution | Must be one of AVMTvResolution. |
port | Must be one of TVEPort. |
1
on success. int32_t AVMSetTVScanResolution | ( | AVMTvResolution | resolution | ) |
Sets the TV resolution.
resolution | Must be one of AVMTvResolution. |
0
on success or a negative value on error. int32_t AVMSetTVUnderScan | ( | uint32_t | underScan | ) |
Sets the TV under scan.
underScan | Must be less than 0x15 . |
0
on success or a negative value on error.int32_t AVMSetTVUnderScanParam | ( | uint32_t | underScan | ) |
underScan | Must be less than 0x15 . |
0
on success or -1
on failure.int32_t AVMSetTVVideoRegion | ( | AVMTvVideoRegion | videoRegion, |
TVEPort | port, | ||
AVMTvResolution | resolution | ||
) |
Sets the TV video region.
videoRegion | Must be one of AVMTvVideoRegion. |
port | Must be one of TVEPort. |
resolution | Must be one of AVMTvResolution. |
0
on success or a negative value on error.